Version

Search Results

SeekToLine Method

Sets the CurrentOffset to the beginning of a line. Overload List

SeekToStart Method

Sets the CurrentOffset to the zero. Syntax

SeekToToken Method

Sets the CurrentOffset to the beginning or end of a Token. Syntax Parameters scanType The relative token position.filter An optional filter function to bypass certain tokens. Return Value True if successful, otherwise false Exceptions Exception Description System.InvalidOperationException if a filter is supplied a...

SeekToWord Method

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

Snapshot Property (TextDocumentSnapshotScanner)

Returns the snapshot that this scanner was created for (read-only) Syntax

TextDocumentSnapshot Class Members

Public Properties Public Methods

CreateScanner Method

Creates a new instance of a TextDocumentSnapshotScanner Syntax Parameters splitMultilineTokensByLine Indicates whether multiline tokens should be split up so that when scanning tokens, no token returned spans multiple line. Return Value The new instance of the scanner for this snapshot.

Document Property (TextDocumentSnapshot)

Returns the associated TextDocument (read-only) Syntax