IVsTextViewIntellisenseHost 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
核心编辑器为标准编辑器视图提供了 intellisense 宿主。
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(1)>]
type IVsTextViewIntellisenseHost = interface
interface IVsIntellisenseHost
Public Interface IVsTextViewIntellisenseHost
Implements IVsIntellisenseHost
- 属性
-
- 实现
-
方法
|
AfterCompletorCommit()
|
|
BeforeCompletorCommit()
|
|
Exec(Guid, UInt32, UInt32, IntPtr, IntPtr)
|
执行指定的命令。
(继承自 IOleCommandTarget)
|
|
Exec(Guid, UInt32, UInt32, Object, Object)
|
|
GetContextBuffer(IVsTextLines)
|
上下文缓冲区。
|
|
GetContextCaretPos(Int32, Int32)
|
|
GetContextFocalPoint(TextSpan[], Int32)
|
应视为开始上下文点的上下文缓冲区中的 "焦点" 或位置
|
|
GetContextLocation(Int32, Int32, Int32, RECT[], Int32)
|
|
GetContextSelection(TextSpan[])
|
|
GetHostFlags(UInt32)
|
主机标志 (参阅上面的 IntellisenseHostFlags 枚举)
|
|
GetHostWindow(IntPtr)
|
|
GetServiceProvider(IServiceProvider)
|
|
GetSmartTagRect(RECT[])
|
|
GetSubjectCaretPos(Int32)
|
|
GetSubjectSelection(Int32, Int32)
|
|
GetSubjectText(String)
|
Intellisense 应在其上操作的文本。
|
|
HighlightMatchingBrace(UInt32, UInt32, TextSpan[])
|
|
QueryStatus(Guid, UInt32, OLECMD[], IntPtr)
|
查询该对象以获得由用户界面事件生成的一个或多个命令的状态。
(继承自 IOleCommandTarget)
|
|
QueryStatus(Guid, UInt32, OLECMD[], OLECMDTEXT[])
|
|
ReplaceSubjectTextSpan(Int32, Int32, String)
|
编辑主题文本。 如果文本包含 CR/LFs 并且标志包含 IHF_SINGLELINESUBJECT,则返回 E_FAIL (或) 。
|
|
SetContextCaretPos(Int32, Int32)
|
相对于上下文缓冲区的插入点/选择设置。 任何编辑都应通过缓冲区完成。
|
|
SetContextSelection(Int32, Int32, Int32, Int32)
|
|
SetSubjectCaretPos(Int32)
|
主题文本的插入符号/选择管理。 如果在 flags 中设置 IHF_NOSEPARATESUBJECT,则所有返回 E_NOTIMPL。
|
|
SetSubjectFromPrimaryBuffer(TextSpan[])
|
设置主缓冲区的跨度。
|
|
SetSubjectSelection(Int32, Int32)
|
|
UpdateCompletionStatus(IVsCompletionSet, UInt32)
|
Intellisense UI 处理。
|
|
UpdateSmartTagWindow(IVsSmartTagTipWindow, UInt32)
|
|
UpdateTipWindow(IVsTipWindow, UInt32)
|
适用于