Share via


Completor.AtEndOfLine Property

Definition

Determines if the internal caret position is at the end of the current line.

public:
 property bool AtEndOfLine { bool get(); };
public:
 property bool AtEndOfLine { bool get(); };
public bool AtEndOfLine { get; }
member this.AtEndOfLine : bool
Public ReadOnly Property AtEndOfLine As Boolean

Property Value

If the internal caret position is at the end of the line, returns true; otherwise, returns false.

Remarks

The internal caret position in this case is the character offset relative to the starting caret position, taking into account the text that has already been inserted. The text view's caret position is not updated until all changes represented by this Completor object are applied to the text view.

This method treats newlines as just another character: the end of the line is the end of all text on the line, including newlines.

Applies to