ExpansionProvider::InTemplateEditingMode Property
Visual Studio 2015
Indicates whether the code snippet is currently being edited.
Assembly: Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)
Property Value
Type: System::BooleanReturns true if the code snippet is currently being edited; otherwise, returns false.
A code snippet is first inserted into the source file, then the core editor is placed in a special editing mode where the fields in the snippet can be modified before the snippet is finally committed to the buffer.
The base method returns the value of an internal flag that is set when the InsertNamedExpansion or InsertSpecificExpansion methods are called. A call to EndTemplateEditing clears this internal flag.
Show: