Class
TextSnapshotLine

Represents a line from the snapshot.

Definition

Namespace:Telerik.Windows.SyntaxEditor.Core.Text

Assembly:Telerik.Windows.SyntaxEditor.Core.dll

Syntax:

cs-api-definition
public class TextSnapshotLine

Inheritance: objectTextSnapshotLine

Properties

LineNumber

Gets the line number.

Declaration

cs-api-definition
public int LineNumber { get; }

Property Value

int

Snapshot

Gets the snapshot of this line instance.

Declaration

cs-api-definition
public TextSnapshot Snapshot { get; }

Property Value

TextSnapshot

Span

Gets the span of this line instance.

Declaration

cs-api-definition
public Span Span { get; }

Property Value

Span

Methods

Equals(object)

Declaration

cs-api-definition
public override bool Equals(object obj)

Parameters

obj

object

Returns

bool

Overrides object.Equals(object)

GetHashCode()

Declaration

cs-api-definition
public override int GetHashCode()

Returns

int

Overrides object.GetHashCode()

GetText()

Gets the text of this snapshot instance.

Declaration

cs-api-definition
public string GetText()

Returns

string

Operators

operator !=(TextSnapshotLine, TextSnapshotLine)

Implementation of != operator.

Declaration

cs-api-definition
public static bool operator !=(TextSnapshotLine left, TextSnapshotLine right)

Parameters

left

TextSnapshotLine

right

TextSnapshotLine

Returns

bool

operator ==(TextSnapshotLine, TextSnapshotLine)

Implementation of == operator.

Declaration

cs-api-definition
public static bool operator ==(TextSnapshotLine left, TextSnapshotLine right)

Parameters

left

TextSnapshotLine

right

TextSnapshotLine

Returns

bool