TextLine$Typings extension

on

Properties

firstNonWhitespaceCharacterIndex num

Available on TextLine, provided by the TextLine$Typings extension

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

Available on TextLine, provided by the TextLine$Typings extension

Whether this line is whitespace only, shorthand for {@link TextLine.firstNonWhitespaceCharacterIndex} === {@link TextLine.textTextLine.text.length}.
no setter
lineNumber num

Available on TextLine, provided by the TextLine$Typings extension

The zero-based line number.
no setter
range Range

Available on TextLine, provided by the TextLine$Typings extension

The range this line covers without the line separator characters.
no setter
rangeIncludingLineBreak Range

Available on TextLine, provided by the TextLine$Typings extension

The range this line covers with the line separator characters.
no setter
text String

Available on TextLine, provided by the TextLine$Typings extension

The text of this line without the line separator characters.
no setter