ExpansionProvider::GetExpansionSpan Method ()
Visual Studio 2015
Returns the span occupied by the snippet currently being edited.
Assembly: Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)
The base method obtains the span by calling the GetSnippetSpan method on the IVsExpansionSession object representing the current snippet expansion session. This method assumes the expansion session has been set by a previous call to the InsertSpecificExpansion or InsertNamedExpansion methods.
In the default managed package framework's implementation of the language service classes, this method is called from the HandlePreExec method to determine where to put the edit caret when the Enter key is typed during a snippet edit session.
Show: