Returns the corresponding line and character location from a zero-based offset value. Syntax Parameters offset The zero-based offset relative to the beginning of the document for this snapshot. Return Value The corresponding TextLocation struct. Exceptions Exception Description System.ArgumentOutOfRangeException I...
Returns the corresponding overall zero-based offset from a line and character location. Syntax Parameters location The zero-based line and character numbers for a character location in this snapshot. Return Value The corresponding overall zero-based offset from the beginning of the document.. Exceptions Exception ...
Returns the number of Tokens in the shapshot (read-only). Syntax
Returns the corresponding Infragistics.Documents.Parsing.Token from a zero-based offset value. Syntax Parameters offset The zero-based offset relative to the beginning of the document for this token.splitMultilineTokensByLine Indicates whether multiline tokens should be split so the token returned only consist of ...
Returns the version of the document that this snapshot represents (read-only) Syntax
Returns the Word from a zero-based offset value. Syntax Parameters offset The zero-based offset relative to the beginning of the document for this snapshot. Return Value The corresponding Word or null if the offset is not within a word. Exceptions Exception Description System.ArgumentOutOfRangeException If offset ...
An object that identifies a specific version of a TextDocument including a list of the changes that were made to create the next version. Syntax
Public Properties
Public Properties
Returns a read-only collection of the changes that were applied to get to the next version. Syntax Remarks Note: for the TextDocument.CurrentSnapshot this property will return null.