다음을 통해 공유


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 형식에서는 다음과 같은 멤버를 노출합니다.

속성

  이름 설명
Public 속성 ClosingBrace Gets the closing brace character.
Public 속성 ClosingPoint Gets the ending point of the session.
Public 속성 OpeningBrace Gets the opening brace character.
Public 속성 OpeningPoint Gets the starting point of the session.
Public 속성 SubjectBuffer Gets the subject buffer in which the brace completion session is occurring.
Public 속성 TextView Gets the text view in which the brace completion session is occurring.

위쪽

메서드

  이름 설명
Public 메서드 Finish Called after the session has been removed from the stack.
Public 메서드 PostBackspace Called by the editor after the character has been removed.
Public 메서드 PostDelete Called by the editor after the delete action.
Public 메서드 PostOverType Called by the editor after the closing brace character has been typed.
Public 메서드 PostReturn Called by the editor after the newline has been inserted.
Public 메서드 PostTab Called by the editor after the tab has been inserted.
Public 메서드 PreBackspace Called by the editor before the character has been removed.
Public 메서드 PreDelete Called by the editor when delete is pressed within the session.
Public 메서드 PreOverType Called by the editor when the closing brace character has been typed and before it is inserted into the buffer.
Public 메서드 PreReturn Called by the editor when return is pressed within the session.
Public 메서드 PreTab Called by the editor when tab has been pressed and before it is inserted into the buffer.
Public 메서드 Start Called before the session is added to the stack.

위쪽

참고 항목

참조

Microsoft.VisualStudio.Text.BraceCompletion 네임스페이스