The following tables list the members exposed by TextDocumentSnapshot.
Name | Description | |
---|---|---|
Document | Returns the associated TextDocument (read-only) | |
Item | Returns the character at the specified position(read-only). | |
Length | Returns the length of the snapshot in characters (read-only). | |
LineCount | Returns the number of lines in the shapshot (read-only). | |
TokenCount | Returns the number of Tokens in the shapshot (read-only). | |
Version | Returns the version of the document that this snapshot represents (read-only) |
Name | Description | |
---|---|---|
CreateScanner | Creates a new instance of a TextDocumentSnapshotScanner | |
Find | Finds an instance of text in the span that matches the search criteria. | |
FindAll | Finds all instances of text in the text span that matches the search criteria. | |
GetLines | Returns a object that can enumerate SnapshotLineInfos. | |
GetText | Overloaded. Returns the string representation of this snapshot. | |
GetTokenCount | Returns the number of Infragistics.Documents.Parsing.Tokens in the shapshot (read-only). | |
GetTokens | Overloaded. Returns a object that can enumerate Infragistics.Documents.Parsing.Tokens. | |
IsCompatibleWith | Determines if 2 snapshots are compatible (i.e. have the same root buffer) | |
LineFromIndex | Returns the corresponding SnapshotLineInfo from a zero-based index. | |
LineFromOffset | Returns the corresponding SnapshotLineInfo from a zero-based offset value. | |
LineIndexFromOffset | Returns the corresponding zero-based line index from a zero-based offset value. | |
LocationFromOffset | Returns the corresponding line and character location from a zero-based offset value. | |
OffsetFromLocation | Returns the corresponding overall zero-based offset from a line and character location. | |
TokenFromOffset | Returns the corresponding Infragistics.Documents.Parsing.Token from a zero-based offset value. | |
WordFromOffset | Returns the Word from a zero-based offset value. |