Completor::AtEndOfLine Property

 

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

Namespace:   Microsoft.VisualStudio.Package
Assembly:  Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)

public:
property bool AtEndOfLine {
	bool get();
}

Property Value

Type: System::Boolean

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

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.

Return to top
Show: