Метод | Описание | |
---|---|---|
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 |
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 |