Share via


IDebugDocumentHost Interface

Exposes host-specific functionality, such as syntax coloring, to the debugger. The IDebugDocumentHelper::SetDebugDocumentHost method takes this interface as an argument.

In addition to the methods inherited from IUnknown, the IDebugDocumentHost interface exposes the following methods.

Methods in Vtable Order

Method Description
IDebugDocumentHost::GetDeferredText Returns a range of characters that were added by using IDebugDocumentHelper::AddDeferredText, in the original host document.
IDebugDocumentHost::GetScriptTextAttributes Returns the text attributes for a block of document text.
IDebugDocumentHost::OnCreateDocumentContext Notifies the host that a new document context is being created, and allows the host to optionally return an object that controls the new context.
IDebugDocumentHost::GetPathName Returns the full path (including the file name) of the document's source file.
IDebugDocumentHost::GetFileName Returns the name of the document, without path information.
IDebugDocumentHost::NotifyChanged Notifies the host that the document's source file has been saved and that its contents should be refreshed.