Create a new CursorData instance
Root node of the whole scope
Start position
Get text section before position till stop condition is met. This offers consumers to retrieve text section by section The section essentially is just an inline element which has Container element so that the consumer can remember it for anchoring popup or verification purpose when position moves out of context etc.
Get the inline element after position
The inline element after position
Get the inline element before position
The inlineElement before position
Get first non textual inline element before position
First non textual inline element before position or null if no such element exists
Try to get a range matches the given text before the position
The text to match against
Whether it is an exact match
The range for the matched text, null if unable to find a match
Get X number of chars before position The actual returned chars may be less than what is requested.
The length of string user want to get, the string always ends at the position, so this length determines the start position of the string
The actual string we get as a sub string, or the whole string before position when there is not enough chars in the string
Get the word before position. The word is determined by scanning backwards till the first white space, the portion between position and the white space is the word before position
The word before position
Generated using TypeDoc
The class that helps search content around a position