C# Class PowerStudio.LanguageServices.PowerShell.Intellisense.QuickInfo.QuickInfoController

Inheritance: IIntellisenseController
Afficher le fichier Open project: IntelliTect/PowerStudio

Méthodes publiques

Méthode Description
ConnectSubjectBuffer ( ITextBuffer subjectBuffer ) : void

Called when a new subject T:Microsoft.VisualStudio.Text.ITextBuffer appears in the graph of buffers associated with the T:Microsoft.VisualStudio.Text.Editor.ITextView, due to a change in projection or content type.

Detach ( ITextView textView ) : void

Detaches the controller from the specified T:Microsoft.VisualStudio.Text.Editor.ITextView.

DisconnectSubjectBuffer ( ITextBuffer subjectBuffer ) : void

Called when a subject T:Microsoft.VisualStudio.Text.ITextBuffer is removed from the graph of buffers associated with the T:Microsoft.VisualStudio.Text.Editor.ITextView, due to a change in projection or content type.

It is not guaranteed that the subject buffer was previously connected to this controller.

Private Methods

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

Gets the mouse position.

OnTextViewMouseHover ( object sender, MouseHoverEventArgs e ) : void

Called when [text view mouse hover].

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

Initializes a new instance of the QuickInfoController class.

Method Details

ConnectSubjectBuffer() public méthode

Called when a new subject T:Microsoft.VisualStudio.Text.ITextBuffer appears in the graph of buffers associated with the T:Microsoft.VisualStudio.Text.Editor.ITextView, due to a change in projection or content type.
public ConnectSubjectBuffer ( ITextBuffer subjectBuffer ) : void
subjectBuffer ITextBuffer The newly-connected text buffer.
Résultat void

Detach() public méthode

Detaches the controller from the specified T:Microsoft.VisualStudio.Text.Editor.ITextView.
public Detach ( ITextView textView ) : void
textView ITextView The from which the controller should detach.
Résultat void

DisconnectSubjectBuffer() public méthode

Called when a subject T:Microsoft.VisualStudio.Text.ITextBuffer is removed from the graph of buffers associated with the T:Microsoft.VisualStudio.Text.Editor.ITextView, due to a change in projection or content type.
It is not guaranteed that the subject buffer was previously connected to this controller.
public DisconnectSubjectBuffer ( ITextBuffer subjectBuffer ) : void
subjectBuffer ITextBuffer The disconnected text buffer.
Résultat void