Package appModules :: Module devenv :: Class VsTextEditPaneTextInfo
[hide private]
[frames] | no frames]

Class VsTextEditPaneTextInfo

source code

                   object --+            
                            |            
baseObject.AutoPropertyObject --+        
                                |        
               textInfos.TextInfo --+    
                                    |    
    textInfos.offsets.OffsetsTextInfo --+
                                        |
                                       VsTextEditPaneTextInfo

A default TextInfo which is used to enable text review of information about widgets that don't support text content. The NVDAObject.basicText attribute is used as the text to expose.

Nested Classes [hide private]

Inherited from baseObject.AutoPropertyObject: __metaclass__

Instance Methods [hide private]
 
_InformUnsupportedWindowType(self, type) source code
 
_getSelectionObject(self) source code
 
_createEditPoint(self) source code
 
_getOffsetFromPoint(self, x, y) source code
 
__init__(self, obj, position)
Constructor.
source code
 
_getCaretOffset(self) source code
 
_setCaretOffset(self, offset) source code
 
_setSelectionOffsets(self, start, end) source code
 
_getSelectionOffsets(self) source code
unicode
_getTextRange(self, start, end)
Retrieve the text in a given offset range.
source code
 
_getWordOffsets(self, startOffset) source code
 
_getLineOffsets(self, offset) source code
 
_getLineNumFromOffset(self, offset) source code
 
_getStoryLength(self) source code

Inherited from textInfos.offsets.OffsetsTextInfo: __eq__, collapse, compareEndPoints, copy, expand, find, getTextWithFields, move, setEndPoint, unitCount, unitIndex, updateCaret, updateSelection

Inherited from textInfos.offsets.OffsetsTextInfo (private): _getCharacterOffsets, _getFormatFieldAndOffsets, _getNVDAObjectFromOffset, _getOffsetsFromNVDAObject, _getParagraphOffsets, _getPointFromOffset, _getReadingChunkOffsets, _getStoryText, _getUnitOffsets, _get_NVDAObjectAtStart, _get_bookmark, _get_isCollapsed, _get_pointAtStart, _get_text

Inherited from textInfos.TextInfo: copyToClipboard, getControlFieldBraille, getControlFieldSpeech, getEmbeddedObject, getTextInChunks, isOverlapping

Inherited from textInfos.TextInfo (private): _get_clipboardText, _get_obj, _get_unit_mouseChunk

Inherited from baseObject.AutoPropertyObject: invalidateCache

Inherited from baseObject.AutoPropertyObject (private): _getPropertyViaCache

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Methods [hide private]

Inherited from baseObject.AutoPropertyObject: invalidateCaches

Class Variables [hide private]

Inherited from textInfos.offsets.OffsetsTextInfo: detectFormattingAfterCursorMaybeSlow, useUniscribe

Inherited from baseObject.AutoPropertyObject: cachePropertiesByDefault

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

_getOffsetFromPoint(self, x, y)

source code 
Overrides: textInfos.offsets.OffsetsTextInfo._getOffsetFromPoint

__init__(self, obj, position)
(Constructor)

source code 

Constructor. Subclasses may extend this to perform implementation specific initialisation, calling their superclass method afterwards.

Parameters:
  • position - The initial position of this range; one of the POSITION_* constants or a position object supported by the implementation.
  • obj - The object containing the range of text being represented.
Overrides: object.__init__
(inherited documentation)

_getCaretOffset(self)

source code 
Overrides: textInfos.offsets.OffsetsTextInfo._getCaretOffset

_setCaretOffset(self, offset)

source code 
Overrides: textInfos.offsets.OffsetsTextInfo._setCaretOffset

_setSelectionOffsets(self, start, end)

source code 
Overrides: textInfos.offsets.OffsetsTextInfo._setSelectionOffsets

_getSelectionOffsets(self)

source code 
Overrides: textInfos.offsets.OffsetsTextInfo._getSelectionOffsets

_getTextRange(self, start, end)

source code 

Retrieve the text in a given offset range.

Parameters:
  • start - The start offset.
  • end - The end offset (exclusive).
Returns: unicode
The text contained in the requested range.
Overrides: textInfos.offsets.OffsetsTextInfo._getTextRange
(inherited documentation)

_getWordOffsets(self, startOffset)

source code 
Overrides: textInfos.offsets.OffsetsTextInfo._getWordOffsets

_getLineOffsets(self, offset)

source code 
Overrides: textInfos.offsets.OffsetsTextInfo._getLineOffsets

_getLineNumFromOffset(self, offset)

source code 
Overrides: textInfos.offsets.OffsetsTextInfo._getLineNumFromOffset

_getStoryLength(self)

source code 
Overrides: textInfos.offsets.OffsetsTextInfo._getStoryLength