### Class DebugDocumentText

## SYNOPSIS

    import win32com.axdebug.gateways

    class DebugDocumentText(DebugDocument)
      def GetContextOfPosition(self, charPos, maxChars)
      def GetDocumentAttributes(self)
      def GetLineOfPosition(self, charPos)
      def GetPositionOfContext(self, debugDocumentContext)
      def GetPositionOfLine(self, cLineNumber)
      def GetSize(self)
      def GetText(self, charPos, maxChars, wantAttr)
      def __init__(self)
      list _com_interfaces_ = [<iid object at 1a76c80>,  ...
      list _public_methods_ = ['GetDocumentAttributes',  ...

      # Methods inherited by DebugDocumentText from DebugDocumentInfo
      def GetDocumentClassId(self)
      def GetName(self, dnt)

## DESCRIPTION

The interface to a text only debug document.

### def GetContextOfPosition(self, charPos, maxChars)

Params are integers. Return value must be PyIDebugDocumentContext object

### def GetDocumentClassId(self)

Result must be an IID object (or string representing one).

### def GetName(self, dnt)

Get the one of the name of the document dnt -- int DOCUMENTNAMETYPE

### def GetPositionOfContext(self, debugDocumentContext)

Params debugDocumentContext -- a PyIDebugDocumentContext object.

Return value must be (charPos, numChars)

### def GetText(self, charPos, maxChars, wantAttr)

Params charPos -- integer maxChars -- integer wantAttr -- Should the function compute attributes.

Return value must be (string, attribtues). attributes may be None if(not wantAttr)

## SEE ALSO

win32com.axdebug.gateways

win32com.axdebug.gateways

Copyright © Greg Stein, Mark Hammond, Curt Hagenlocher and a few other contributors
All Rights Reserved
Comments to author:
Generated: Sun Apr 20 1997