A value object for the data associated with a line of text.

Constructor

new(text:String, lineIndex:Int)

Creates a new TextLineModel object.

Variables

@:value(-1)caretIndex:Int = -1

The character index of the caret within the line, or -1 if the caret is within a different line.

debuggerStoppedAtLine:Bool

Indicates if the debugger is stopped at this line.

lineIndex:Int

The index of the line.

@:value(null)styleRanges:Array<Int> = null

The style ranges for syntax highlighting.

text:String

The line's text.