TextSnapshotSpan
Class
Represents a text snapshot span.
Definition
Namespace:Telerik.Windows.SyntaxEditor.Core.Text
Assembly:Telerik.Windows.SyntaxEditor.Core.dll
Syntax:
C#
public class TextSnapshotSpan
Inheritance: objectTextSnapshotSpan
Constructors
Initializes a new instance of the TextSnapshotSpan class.
C#
public TextSnapshotSpan(TextSnapshot textSnapshot, Span span)
Properties
Gets the snapshot.
C#
public TextSnapshot Snapshot { get; }
Methods
Gets the hash code of this instance.
Converts this instance to normalized collection.
C#
public NormalizedSnapshotSpanCollection ToNormalizedCollection()
Operators
Implementation of != operator.
C#
public static bool operator !=(TextSnapshotSpan left, TextSnapshotSpan right)
Implementation of == operator.
C#
public static bool operator ==(TextSnapshotSpan left, TextSnapshotSpan right)