Поделиться через


IBraceCompletionSession - интерфейс

Represents a brace completion session for the purpose of tracking a pair of braces and handling actions occurring between the OpeningPoint and ClosingPoint.

Пространство имен:  Microsoft.VisualStudio.Text.BraceCompletion
Сборка:  Microsoft.VisualStudio.Text.UI (в Microsoft.VisualStudio.Text.UI.dll)

Синтаксис

'Декларация
Public Interface IBraceCompletionSession
public interface IBraceCompletionSession
public interface class IBraceCompletionSession
type IBraceCompletionSession =  interface end
public interface IBraceCompletionSession

Тип IBraceCompletionSession предоставляет следующие члены.

Свойства

  Имя Описание
Открытое свойство 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.

В начало страницы

Методы

  Имя Описание
Открытый метод 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.

В начало страницы

См. также

Ссылки

Microsoft.VisualStudio.Text.BraceCompletion - пространство имен