C# Class PReview.TextViewCommandFilter

Inheritance: CommandFilter
Show file Open project: laurentkempe/PReview

Protected Methods

Method Description
Connect ( ) : Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget This operation is implemented by calling IVsTextView.AddCommandFilter.
Disconnect ( ) : void This operation is implemented by calling IVsTextView.RemoveCommandFilter.
TextViewCommandFilter ( IVsTextView textViewAdapter ) : System

Initializes a new instance of the TextViewCommandFilter class for the specified text view.

Method Details

Connect() protected method

This operation is implemented by calling IVsTextView.AddCommandFilter.
protected Connect ( ) : Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget
return Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget

Disconnect() protected method

This operation is implemented by calling IVsTextView.RemoveCommandFilter.
protected Disconnect ( ) : void
return void

TextViewCommandFilter() protected method

Initializes a new instance of the TextViewCommandFilter class for the specified text view.
protected TextViewCommandFilter ( IVsTextView textViewAdapter ) : System
textViewAdapter IVsTextView The text view this command filter should attach to.
return System