Vixen
02b45cc4
csharp
public sealed class CodeLine

One realised line.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

⚠ The spans are a pool inside the line, and the lines are a pool inside the editor. Two levels, because both counts vary: scrolling changes which lines exist and typing changes how many runs a line has. Neither pool ever shrinks — see TreeView for why.

Fields and properties (3)

  • protected override string TagName

    The element name this type answers to when a caller does not choose one.

  • public int Index

    Which line of the buffer it is showing, or -1 if it is parked.

  • public IReadOnlyList<CodeSpan> Spans

    The runs, including the parked ones.

Used by (2)

  • CodeEditorVixen.Ui.Controls.Advanced
  • CodeEditorTestsVixen.Ui.Controls.Advanced.Tests