Freigeben über


IVsTextViewIntellisenseHost Interface

Definition

Core editor provided intellisense host for standard editor views.

public interface class IVsTextViewIntellisenseHost : Microsoft::VisualStudio::TextManager::Interop::IVsIntellisenseHost
public interface class IVsTextViewIntellisenseHost : Microsoft::VisualStudio::TextManager::Interop::IVsIntellisenseHost
__interface IVsTextViewIntellisenseHost : Microsoft::VisualStudio::TextManager::Interop::IVsIntellisenseHost
[System.Runtime.InteropServices.Guid("0816A38B-2B41-4D2A-B1FF-23C1E28D8A18")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsTextViewIntellisenseHost : Microsoft.VisualStudio.TextManager.Interop.IVsIntellisenseHost
[System.Runtime.InteropServices.Guid("0816A38B-2B41-4D2A-B1FF-23C1E28D8A18")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsTextViewIntellisenseHost : Microsoft.VisualStudio.TextManager.Interop.IVsIntellisenseHost
[<System.Runtime.InteropServices.Guid("0816A38B-2B41-4D2A-B1FF-23C1E28D8A18")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsTextViewIntellisenseHost = interface
    interface IVsIntellisenseHost
[<System.Runtime.InteropServices.Guid("0816A38B-2B41-4D2A-B1FF-23C1E28D8A18")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsTextViewIntellisenseHost = interface
    interface IVsIntellisenseHost
    interface IOleCommandTarget
Public Interface IVsTextViewIntellisenseHost
Implements IVsIntellisenseHost
Attributes
Implements

Methods

AfterCompletorCommit()
BeforeCompletorCommit()
Exec(Guid, UInt32, UInt32, IntPtr, IntPtr)

Executes the specified command.

(Inherited from IOleCommandTarget)
Exec(Guid, UInt32, UInt32, Object, Object)
GetContextBuffer(IVsTextLines)

The context buffer.

GetContextCaretPos(Int32, Int32)
GetContextFocalPoint(TextSpan[], Int32)

The "focal point" or position in the context buffer that should be considered the starting context point

GetContextLocation(Int32, Int32, Int32, RECT[], Int32)
GetContextSelection(TextSpan[])
GetHostFlags(UInt32)

Host flags (see IntellisenseHostFlags enum above)

GetHostWindow(IntPtr)
GetServiceProvider(IServiceProvider)
GetSmartTagRect(RECT[])
GetSubjectCaretPos(Int32)
GetSubjectSelection(Int32, Int32)
GetSubjectText(String)

The text upon which Intellisense should operate.

HighlightMatchingBrace(UInt32, UInt32, TextSpan[])
QueryStatus(Guid, UInt32, OLECMD[], IntPtr)

Queries the object for the status of one or more commands generated by user interface events.

(Inherited from IOleCommandTarget)
QueryStatus(Guid, UInt32, OLECMD[], OLECMDTEXT[])
ReplaceSubjectTextSpan(Int32, Int32, String)

Editing subject text. Return E_FAIL (or something) if text contains CR/LFs and flags contain IHF_SINGLELINESUBJECT.

SetContextCaretPos(Int32, Int32)

Caret/selection setting relative to the context buffer. Any editing should be done via the buffer.

SetContextSelection(Int32, Int32, Int32, Int32)
SetSubjectCaretPos(Int32)

Caret/selection management for subject text. All return E_NOTIMPL if IHF_NOSEPARATESUBJECT is set in flags.

SetSubjectFromPrimaryBuffer(TextSpan[])

Sets the span from the primary buffer.

SetSubjectSelection(Int32, Int32)
UpdateCompletionStatus(IVsCompletionSet, UInt32)

Intellisense UI handling.

UpdateSmartTagWindow(IVsSmartTagTipWindow, UInt32)
UpdateTipWindow(IVsTipWindow, UInt32)

Applies to