Version

Search Results

TranslateTo Method (SnapshotSpan)

Translates the span from one snapshot to another Syntax Parameters target The target snapshotmode The tracking mode to use. Return Value A new SnapshotSpan with the adjusted values for the target snapshot. Exceptions Exception Description System.ArgumentNullException If the target snapshot is null. System.Argument...

SnapshotSpan Constructor(TextDocumentSnapshot,Int32,Int32)

Instantiates a new SnapshotSpan Syntax Parameters snapshot The associated TextDocumentSnapshotoffset The zero-based offset into the documentlength The number of characters in the span (can be zero or negative) Exceptions Exception Description System.ArgumentOutOfRangeException If offset is less than 0 or the offse...

SnapshotSpan Constructor(TextDocumentSnapshot,TextSpan)

Instantiates a new SnapshotSpan Syntax Parameters snapshot The associated TextDocumentSnapshotspan The span in the snapshot

SnapshotSpan Constructor

Overload List

SpanTrackingMode Enumeration

Determines how SnapshotSpans track between snapshots. Syntax Members Member Description EdgeExclusive The leading edge uses a positive tracking mode and the trailing edge uses a negative tracking mode. This causes the span to not expand when text is inserted at either boundary. EdgeInclusive The leading edge uses ...

SyntaxTreeCreatedEventArgs Class

Events arguments for the Infragistics.Documents.Parsing.LanguageBase.SyntaxTreeCreated event. Syntax

IsCanceled Property

Returns whether the operation has been canceled and therefore the tree will be discarded. (read-only) Syntax

SyntaxTree Property (SyntaxTreeCreatedEventArgs)

Gets/sets the tree that will be returned from the Parse method. Syntax Exceptions Exception Description System.ArgumentException Occurs when the tree is not compatible, i.e. from a different snapshot.