Class TextSnapshotLine
Represents a line from the snapshot.
Inheritance
System.Object
TextSnapshotLine
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.Windows.SyntaxEditor.Core.Text
Assembly: Telerik.Windows.SyntaxEditor.Core.dll
Syntax
public class TextSnapshotLine
Properties
LineNumber
Gets the line number.
Declaration
public int LineNumber { get; }
Property Value
System.Int32
|
Snapshot
Gets the snapshot of this line instance.
Declaration
public TextSnapshot Snapshot { get; }
Property Value
TextSnapshot
|
Span
Methods
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
System.Object
obj
|
Returns
System.Boolean
|
Overrides
System.Object.Equals(System.Object)
GetHashCode()
Declaration
public override int GetHashCode()
Returns
System.Int32
|
Overrides
System.Object.GetHashCode()
GetText()
Gets the text of this snapshot instance.
Declaration
public string GetText()
Returns
System.String
|
Operators
Equality(TextSnapshotLine, TextSnapshotLine)
Implementation of == operator.
Declaration
public static bool operator ==(TextSnapshotLine left, TextSnapshotLine right)
Parameters
TextSnapshotLine
left
|
TextSnapshotLine
right
|
Returns
System.Boolean
|
Inequality(TextSnapshotLine, TextSnapshotLine)
Implementation of != operator.
Declaration
public static bool operator !=(TextSnapshotLine left, TextSnapshotLine right)
Parameters
TextSnapshotLine
left
|
TextSnapshotLine
right
|
Returns
System.Boolean
|