C# Class MichaelReukauff.Protobuf.CompletionSource

The completion source.
Inheritance: ICompletionSource
Mostrar archivo Open project: mreu/ProtobufLanguageService

Public Methods

Method Description
CompletionSource ( ITextStructureNavigatorSelectorService navigatorSelectorService, ITextBuffer buffer ) : System

Initializes a new instance of the CompletionSource class.

Private Methods

Method Description
FindTokenSpanAtPosition ( ICompletionSession session ) : ITrackingSpan

Find the current word from the position of the cursor.

ICompletionSource ( ICompletionSession session, IList completionSets ) : void

Implement the AugmentCompletionSession method by adding a completion set that contains the completions you want to provide in the context. Each completion set contains a set of Completion completions, and corresponds to a tab of the completion window. The FindTokenSpanAtPosition method is defined in the next step.

IDisposable ( ) : void

The dispose.

Method Details

CompletionSource() public method

Initializes a new instance of the CompletionSource class.
public CompletionSource ( ITextStructureNavigatorSelectorService navigatorSelectorService, ITextBuffer buffer ) : System
navigatorSelectorService ITextStructureNavigatorSelectorService The navigator selector service.
buffer ITextBuffer The text buffer.
return System