Version

Search Results

CurrentOffset Property

Returns/sets the zero-based character offset. Syntax

CurrentToken Property

Returns the Token at the CurrentOffset (read-only). Syntax

CurrentWord Property

Returns the Word at the CurrentOffset (read-only). Syntax Property Value The word at the current offset or null if CurrentOffset is not within a word.

PeekNextToken Method

Peeks ahead and returns the next token without changing the CurrentOffset. Syntax Parameters filter An optional filter function to bypass certain tokens. Return Value The next token if successful, otherwise null

PeekNextWord Method

Peeks ahead and returns the next word without changing the CurrentOffset. Syntax Return Value The next word if successful, otherwise null

PeekPreviousToken Method

Peeks backward and returns the previous token without changing the CurrentOffset. Syntax Parameters filter An optional filter function to bypass certain tokens. Return Value The previou token if successful, otherwise null

PeekPreviousWord Method

Peeks backward and returns the previous word without changing the CurrentOffset. Syntax Return Value The previou word if successful, otherwise null

SeekToEnd Method

Sets the CurrentOffset to the length minus one. Syntax

SeekToLine(Int32) Method

Sets the CurrentOffset to the beginning of a line. Syntax Parameters lineIndex The zero-based index of the line. Return Value True if successful, otherwise false

SeekToLine(LineScanType) Method

Sets the CurrentOffset to the beginning or end of a line. Syntax Parameters scanType The relative line position. Return Value True if successful, otherwise false