TextLine$Typings extension

on

Properties

firstNonWhitespaceCharacterIndex num
The offset of the first character which is not a whitespace character as defined by /\s/. Note that if a line is all whitespace the length of the line is returned.
no setter
isEmptyOrWhitespace bool
Whether this line is whitespace only, shorthand for {@link TextLine.firstNonWhitespaceCharacterIndex} === {@link TextLine.textTextLine.text.length}.
no setter
lineNumber num
The zero-based line number.
no setter
range Range
The range this line covers without the line separator characters.
no setter
rangeIncludingLineBreak Range
The range this line covers with the line separator characters.
no setter
text String
The text of this line without the line separator characters.
no setter