C# Класс Microsoft.R.Editor.Completion.AutoCompletion.BraceCompletionContextProvider

Наследование: IBraceCompletionContextProvider
Показать файл Открыть проект

Открытые методы

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