ExpansionProvider.InTemplateEditingMode Property

Definition

Indicates whether the code snippet is currently being edited.

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

Property Value

Returns true if the code snippet is currently being edited; otherwise, returns false.

Remarks

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.

Applies to