C# 클래스 Microsoft.R.Editor.Completion.AutoCompletion.BraceCompletionContextProvider

상속: IBraceCompletionContextProvider
파일 보기 프로젝트 열기: Microsoft/RTVS

공개 메소드들

메소드 설명
TryCreateContext ( ITextView textView, SnapshotPoint openingPoint, char openingBrace, char closingBrace, IBraceCompletionContext &context ) : bool

Creates an IBraceCompletionContext to handle language-specific actions such as parsing and formatting.

Opening points within strings and comments are usually invalid points to start an IBraceCompletionSession and will return false.

비공개 메소드들

메소드 설명
BraceCompletionContextProvider ( IEditorShell shell ) : System.ComponentModel.Composition

메소드 상세

TryCreateContext() 공개 메소드

Creates an IBraceCompletionContext to handle language-specific actions such as parsing and formatting.
Opening points within strings and comments are usually invalid points to start an IBraceCompletionSession and will return false.
public TryCreateContext ( ITextView textView, SnapshotPoint openingPoint, char openingBrace, char closingBrace, IBraceCompletionContext &context ) : bool
textView ITextView View containing the .
openingPoint SnapshotPoint Insertion point of the .
openingBrace char Opening brace that has been typed by the user.
closingBrace char Closing brace character
context IBraceCompletionContext Brace completion context if created.
리턴 bool