C# Class MichaelReukauff.Protobuf.QuickInfoController

The quick info controller.
Inheritance: IIntellisenseController
Afficher le fichier Open project: mreu/ProtobufLanguageService

Méthodes publiques

Méthode Description
ConnectSubjectBuffer ( ITextBuffer subjectBuffer ) : void

Implement the ConnectSubjectBuffer method as empty method here.

Detach ( ITextView view ) : void

Implement the Detach method so that it removes the mouse hover event handler when the controller is detached from the text view.

DisconnectSubjectBuffer ( ITextBuffer subjectBuffer ) : void

Implement the DisconnectSubjectBuffer method as empty method here.

Private Methods

Méthode Description
GetMousePosition ( SnapshotPoint topPosition ) : SnapshotPoint?

Get mouse position.

OnTextViewMouseHover ( object sender, MouseHoverEventArgs e ) : void

Add the mouse hover event handler that triggers the QuickInfo session.

QuickInfoController ( ITextView textView, IList subjectBuffers, QuickInfoControllerProvider provider ) : System.Collections.Generic

Initializes a new instance of the QuickInfoController class. The constructor sets the fields and adds the mouse hover event handler.

Method Details

ConnectSubjectBuffer() public méthode

Implement the ConnectSubjectBuffer method as empty method here.
public ConnectSubjectBuffer ( ITextBuffer subjectBuffer ) : void
subjectBuffer ITextBuffer The text buffer.
Résultat void

Detach() public méthode

Implement the Detach method so that it removes the mouse hover event handler when the controller is detached from the text view.
public Detach ( ITextView view ) : void
view ITextView /// The text view. ///
Résultat void

DisconnectSubjectBuffer() public méthode

Implement the DisconnectSubjectBuffer method as empty method here.
public DisconnectSubjectBuffer ( ITextBuffer subjectBuffer ) : void
subjectBuffer ITextBuffer The text buffer.
Résultat void