Add scripting to your application with Vbsedit !

IDebugDocumentText Interface

 

Provides access to a text-only version of the debug document. This interface uses the following conventions:

  • Both character positions and line numbers are zero based.

  • Character-positions represent character offsets; they do not represent byte or word offsets. For Win32, a character-position is a Unicode offset.

In addition to the methods inherited from IDebugDocument, the IDebugDocumentText interface exposes the following methods.

Method

Description

IDebugDocumentText::GetDocumentAttributes

Returns the attributes of the document.

IDebugDocumentText::GetSize

Returns the number of lines and number of characters in the document.

IDebugDocumentText::GetPositionOfLine

Returns character-position corresponding to the first character of a line.

IDebugDocumentText::GetLineOfPosition

Returns the line number and, optionally, the character offset within the line that corresponds to the given character-position.

IDebugDocumentText::GetText

Retrieves the characters and/or the character attributes associated with a character-position range.

IDebugDocumentText::GetPositionOfContext

Returns the character-position range corresponding to a document context.

IDebugDocumentText::GetContextOfPosition

Creates a document context object corresponding to the provided character position range.


Add VBScript and Javascript scripting
to your application with VbsEdit !



Download Now!

This package includes VbsEdit 32-bit and 64-bit.




Home  

Copyright © 2001-2024 adersοft