ITextSnapshotLine ITextSnapshotLine ITextSnapshotLine ITextSnapshotLine ITextSnapshotLine ITextSnapshotLine Interface

Definition

Represents a line of text from an ITextSnapshot.

public interface class ITextSnapshotLine
public interface class ITextSnapshotLine
__interface ITextSnapshotLine
public interface ITextSnapshotLine
type ITextSnapshotLine = interface
Public Interface ITextSnapshotLine

Remarks

For more information about text snapshot lines, see the section "A Closer Look at the Text Model and the Text View" in Inside the Editor.

This object is immutable.

Properties

End End End End End End

Gets the SnapshotPoint of the first character past the end of the line, excluding any line break characters.

EndIncludingLineBreak EndIncludingLineBreak EndIncludingLineBreak EndIncludingLineBreak EndIncludingLineBreak EndIncludingLineBreak

The SnapshotPoint of the first character past the end of the line, including any line break characters.

Extent Extent Extent Extent Extent Extent

Gets the extent of the line, excluding any line break characters.

ExtentIncludingLineBreak ExtentIncludingLineBreak ExtentIncludingLineBreak ExtentIncludingLineBreak ExtentIncludingLineBreak ExtentIncludingLineBreak

Gets the extent of the line, including any line break characters.

Length Length Length Length Length Length

Gets the length of the line, excluding any line break characters.

LengthIncludingLineBreak LengthIncludingLineBreak LengthIncludingLineBreak LengthIncludingLineBreak LengthIncludingLineBreak LengthIncludingLineBreak

Gets the length of the line, including any line break characters.

LineBreakLength LineBreakLength LineBreakLength LineBreakLength LineBreakLength LineBreakLength

Gets the length of line break characters (always falls in the range [0..2]).

LineNumber LineNumber LineNumber LineNumber LineNumber LineNumber

Gets the 0-based line number of the line.

Snapshot Snapshot Snapshot Snapshot Snapshot Snapshot

Gets the ITextSnapshot in which the line appears.

Start Start Start Start Start Start

Gets the SnapshotPoint of the first character in the line.

Methods

GetLineBreakText() GetLineBreakText() GetLineBreakText() GetLineBreakText() GetLineBreakText() GetLineBreakText()

Gets the string consisting of the line break characters (if any) at the end of the line.

GetText() GetText() GetText() GetText() GetText() GetText()

Gets the text of the line, excluding any line break characters.

GetTextIncludingLineBreak() GetTextIncludingLineBreak() GetTextIncludingLineBreak() GetTextIncludingLineBreak() GetTextIncludingLineBreak() GetTextIncludingLineBreak()

Gets the text of the line, including any line break characters.

Applies to