IBraceCompletionSession Interface
Represents a brace completion session for the purpose of tracking a pair of braces and handling actions occurring between the OpeningPoint and ClosingPoint.
Namespace: Microsoft.VisualStudio.Text.BraceCompletion
Assembly: Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)
Syntax
'Declaration
Public Interface IBraceCompletionSession
public interface IBraceCompletionSession
public interface class IBraceCompletionSession
type IBraceCompletionSession = interface end
public interface IBraceCompletionSession
The IBraceCompletionSession type exposes the following members.
Properties
Name | Description | |
---|---|---|
ClosingBrace | Gets the closing brace character. | |
ClosingPoint | Gets the ending point of the session. | |
OpeningBrace | Gets the opening brace character. | |
OpeningPoint | Gets the starting point of the session. | |
SubjectBuffer | Gets the subject buffer in which the brace completion session is occurring. | |
TextView | Gets the text view in which the brace completion session is occurring. |
Top
Methods
Name | Description | |
---|---|---|
Finish | Called after the session has been removed from the stack. | |
PostBackspace | Called by the editor after the character has been removed. | |
PostDelete | Called by the editor after the delete action. | |
PostOverType | Called by the editor after the closing brace character has been typed. | |
PostReturn | Called by the editor after the newline has been inserted. | |
PostTab | Called by the editor after the tab has been inserted. | |
PreBackspace | Called by the editor before the character has been removed. | |
PreDelete | Called by the editor when delete is pressed within the session. | |
PreOverType | Called by the editor when the closing brace character has been typed and before it is inserted into the buffer. | |
PreReturn | Called by the editor when return is pressed within the session. | |
PreTab | Called by the editor when tab has been pressed and before it is inserted into the buffer. | |
Start | Called before the session is added to the stack. |
Top