Class TextSnapshotLine
Represents a line from the snapshot.
Inheritance
System.Object
TextSnapshotLine
Namespace: Telerik.Windows.SyntaxEditor.Core.Text
Assembly: Telerik.Windows.SyntaxEditor.Core.dll
Syntax
public class TextSnapshotLine : Object
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
|
GetHashCode()
Declaration
public override int GetHashCode()
Returns
System.Int32
|
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
|