Version

Search Results

LocationFromOffset Method

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...

OffsetFromLocation Method

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 ...

TokenCount Property (TextDocumentSnapshot)

Returns the number of Tokens in the shapshot (read-only). Syntax

TokenFromOffset Method

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 ...

Version Property

Returns the version of the document that this snapshot represents (read-only) Syntax

WordFromOffset Method

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 ...

TextDocumentVersion Class

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

Changes Property (TextDocumentVersion)

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.