The following tables list the members exposed by TextDocumentSnapshotScanner.
Name | Description | |
---|---|---|
![]() | CurrentCharacter | Returns the character at the CurrentOffset (read-only). |
![]() | CurrentLine | Returns the Line containing the CurrentOffset (read-only). |
![]() | CurrentOffset | Returns/sets the zero-based character offset. |
![]() | CurrentToken | Returns the Token at the CurrentOffset (read-only). |
![]() | CurrentWord | Returns the Word at the CurrentOffset (read-only). |
![]() | Snapshot | Returns the snapshot that this scanner was created for (read-only) |
Name | Description | |
---|---|---|
![]() | PeekNextToken | Peeks ahead and returns the next token without changing the CurrentOffset. |
![]() | PeekNextWord | Peeks ahead and returns the next word without changing the CurrentOffset. |
![]() | PeekPreviousToken | Peeks backward and returns the previous token without changing the CurrentOffset. |
![]() | PeekPreviousWord | Peeks backward and returns the previous word without changing the CurrentOffset. |
![]() | SeekToEnd | Sets the CurrentOffset to the length minus one. |
![]() | SeekToLine | Overloaded. Sets the CurrentOffset to the beginning of a line. |
![]() | SeekToStart | Sets the CurrentOffset to the zero. |
![]() | SeekToToken | Sets the CurrentOffset to the beginning or end of a Token. |
![]() | SeekToWord | Sets the CurrentOffset to the beginning or end of a Word within a Token. |