C# Class MichaelReukauff.Protobuf.QuickInfoController

The quick info controller.
Inheritance: IIntellisenseController
Mostrar archivo Open project: mreu/ProtobufLanguageService

Public Methods

Method 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

Method 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 method

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

Detach() public method

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. ///
return void

DisconnectSubjectBuffer() public method

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