C# Class MichaelReukauff.Protobuf.QuickInfoSource

The quick info source.
Inheritance: IQuickInfoSource
Mostrar archivo Open project: mreu/ProtobufLanguageService

Public Methods

Method Description
AugmentQuickInfoSession ( IQuickInfoSession session, IList quickInfoContent, ITrackingSpan &applicableToSpan ) : void

Implement the AugmentQuickInfoSession method. Here the method finds the current word, or the previous word if the cursor is at the end of a line or a text buffer. If the word is one of the method names, the description for that method name is added to the QuickInfo content.

Dispose ( ) : void

The dispose.

QuickInfoSource ( ITextBuffer buffer, ITagAggregator aggregator ) : System.Collections.Generic

Initializes a new instance of the QuickInfoSource class. The constructor sets the QuickInfo source provider and the text buffer, and populates the set of method names, and method signatures and descriptions.

Method Details

AugmentQuickInfoSession() public method

Implement the AugmentQuickInfoSession method. Here the method finds the current word, or the previous word if the cursor is at the end of a line or a text buffer. If the word is one of the method names, the description for that method name is added to the QuickInfo content.
public AugmentQuickInfoSession ( IQuickInfoSession session, IList quickInfoContent, ITrackingSpan &applicableToSpan ) : void
session IQuickInfoSession /// The session. ///
quickInfoContent IList /// The quick info content. ///
applicableToSpan ITrackingSpan /// The tracking span. ///
return void

Dispose() public method

The dispose.
public Dispose ( ) : void
return void

QuickInfoSource() public method

Initializes a new instance of the QuickInfoSource class. The constructor sets the QuickInfo source provider and the text buffer, and populates the set of method names, and method signatures and descriptions.
public QuickInfoSource ( ITextBuffer buffer, ITagAggregator aggregator ) : System.Collections.Generic
buffer ITextBuffer /// The text buffer. ///
aggregator ITagAggregator /// The aggregator. ///
return System.Collections.Generic