Share via


IDebugDocumentHelper Interface

Provide implementations for many interfaces necessary for smart hosting, such as the IDebugDocument, IDebugDocumentContext, IDebugDocumentProvider, IDebugDocumentText, and IDebugDocumentTextEvents interfaces.

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

Methods in Vtable Order

Method Description
IDebugDocumentHelper::Init Initializes a debug document helper with a name and initial attributes.
IDebugDocumentHelper::Attach Adds this document to the document tree.
IDebugDocumentHelper::Detach Removes this document from the document tree.
IDebugDocumentHelper::AddUnicodeText Appends a Unicode string to end of this document.
IDebugDocumentHelper::AddDBCSText Appends a DBCS string to end of this document.
IDebugDocumentHelper::SetDebugDocumentHost Sets the IDebugDocumentHost for this document.
IDebugDocumentHelper::AddDeferredText Notifies the helper that the given text is available, but it does not provide the characters.
IDebugDocumentHelper::DefineScriptBlock Signifies to the helper that a particular range of characters is a script block handled by the given script engine.
IDebugDocumentHelper::SetDefaultTextAttr Sets the default attributes to use for text that is not in a script block.
IDebugDocumentHelper::SetTextAttributes Sets the attributes on a range of text.
IDebugDocumentHelper::SetLongName Sets the long name for the document.
IDebugDocumentHelper::SetShortName Sets the short name for the document.
IDebugDocumentHelper::SetDocumentAttr Sets the attributes for this document.
IDebugDocumentHelper::GetDebugApplicationNode Returns the debug application node corresponding to this document.
IDebugDocumentHelper::GetScriptBlockInfo Retrieves the range of characters and the script engine corresponding to a script block.
IDebugDocumentHelper::CreateDebugDocumentContext Creates a new debug document context.
IDebugDocumentHelper::BringDocumentToTop Brings this document to the top in the debugger user interface.
IDebugDocumentHelper::BringDocumentContextToTop Brings a context of this document to the top in the debugger user interface.