Bagikan melalui


IVsTextViewIntellisenseHost Interface

Core editor provided intellisense host for standard editor views.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)

Syntax

'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("0816A38B-2B41-4D2A-B1FF-23C1E28D8A18")> _
Public Interface IVsTextViewIntellisenseHost _
    Inherits IVsIntellisenseHost
[InterfaceTypeAttribute()]
[GuidAttribute("0816A38B-2B41-4D2A-B1FF-23C1E28D8A18")]
public interface IVsTextViewIntellisenseHost : IVsIntellisenseHost
[InterfaceTypeAttribute()]
[GuidAttribute(L"0816A38B-2B41-4D2A-B1FF-23C1E28D8A18")]
public interface class IVsTextViewIntellisenseHost : IVsIntellisenseHost
[<InterfaceTypeAttribute()>]
[<GuidAttribute("0816A38B-2B41-4D2A-B1FF-23C1E28D8A18")>]
type IVsTextViewIntellisenseHost =  
    interface 
        interface IVsIntellisenseHost 
    end
public interface IVsTextViewIntellisenseHost extends IVsIntellisenseHost

The IVsTextViewIntellisenseHost type exposes the following members.

Methods

  Name Description
Public method AfterCompletorCommit
Public method BeforeCompletorCommit
Public method Exec
Public method GetContextBuffer The context buffer.
Public method GetContextCaretPos
Public method GetContextFocalPoint The "focal point" or position in the context buffer that should be considered the starting context point
Public method GetContextLocation
Public method GetContextSelection
Public method GetHostFlags Host flags (see IntellisenseHostFlags enum above)
Public method GetHostWindow
Public method GetServiceProvider
Public method GetSmartTagRect
Public method GetSubjectCaretPos
Public method GetSubjectSelection
Public method GetSubjectText The text upon which Intellisense should operate.
Public method HighlightMatchingBrace
Public method QueryStatus
Public method ReplaceSubjectTextSpan Editing subject text. Return E_FAIL (or something) if text contains CR/LFs and flags contain IHF_SINGLELINESUBJECT.
Public method SetContextCaretPos Caret/selection setting relative to the context buffer. Any editing should be done via the buffer.
Public method SetContextSelection
Public method SetSubjectCaretPos Caret/selection management for subject text. All return E_NOTIMPL if IHF_NOSEPARATESUBJECT is set in flags.
Public method SetSubjectFromPrimaryBuffer Sets the span from the primary buffer.
Public method SetSubjectSelection
Public method UpdateCompletionStatus Intellisense UI handling.
Public method UpdateSmartTagWindow
Public method UpdateTipWindow

Top

See Also

Reference

Microsoft.VisualStudio.TextManager.Interop Namespace