C# Класс Microsoft.R.Editor.Completion.RCompletionSource

Provides actual content for the intellisense dropdown
Наследование: ICompletionSource
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
AugmentCompletionSession ( ICompletionSession session, IList completionSets ) : void

Primary entry point for intellisense. This is where intellisense list is getting created.

Dispose ( ) : void
RCompletionSource ( ITextBuffer textBuffer, ICoreShell shell ) : System.Collections.Generic

Приватные методы

Метод Описание
GetApplicableSpan ( int position, ICompletionSession session ) : Span?

Calculates span in the text buffer that contains data applicable to the current completion session. A tracking span will be created over it and editor will grow and shrink tracking span as user types and filter completion session based on the data inside the tracking span.

PopulateCompletionList ( int position, ICompletionSession session, IList completionSets, AstRoot ast ) : void

Populates R completion list for a given position

Описание методов

AugmentCompletionSession() публичный Метод

Primary entry point for intellisense. This is where intellisense list is getting created.
public AugmentCompletionSession ( ICompletionSession session, IList completionSets ) : void
session ICompletionSession Completion session
completionSets IList Completion sets to populate
Результат void

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

RCompletionSource() публичный Метод

public RCompletionSource ( ITextBuffer textBuffer, ICoreShell shell ) : System.Collections.Generic
textBuffer ITextBuffer
shell ICoreShell
Результат System.Collections.Generic