ExpansionProvider::PositionCaretForEditing Method (IVsTextLines^, array<TextSpan>^)
Visual Studio 2015
Puts the caret in a position suitable for editing.
Assembly: Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)
Parameters
- pBuffer
-
Type:
Microsoft.VisualStudio.TextManager.Interop::IVsTextLines^
The IVsTextLines buffer.
- ts
-
Type:
array<Microsoft.VisualStudio.TextManager.Interop::TextSpan>^
An array of TextSpan objects.
Return Value
Type: System::Int32When overridden in derived classes, S_OK if the method succeeds, otherwise an error code.
This method is an implementation of PositionCaretForEditing. By default it does nothing and returns S_OK.
Show: