A mix-in providing caret navigation and selection commands for the
object's virtual text range. This is required where a text range is not
linked to a physical control and thus does not provide commands to move
the cursor, select and copy text, etc. This base cursor manager requires
that the text range being used stores its own caret and selection
information.
|
|
__init__(self,
*args,
**kwargs)
x.__init__(...) initializes x; see help(type(x)) for signature |
source code
|
|
|
|
initOverlayClass(self)
Performs automatic initialisation if this is being used as an overlay
class. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
| _caretMovementScriptHelper(self,
unit,
direction=None,
posConstant=textInfos.POSITION_SELECTION,
posUnit=None,
posUnitEnd=False,
extraDetail=False,
handleSymbols=False) |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| script_moveByCharacter_forward(self,
gesture) |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| script_moveByParagraph_forward(self,
gesture) |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| _selectionMovementScriptHelper(self,
unit=None,
direction=None,
toPosition=None) |
source code
|
|
|
|
| script_selectCharacter_forward(self,
gesture) |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| script_selectParagraph_forward(self,
gesture) |
source code
|
|
|
|
|
|
|
| script_selectToBeginningOfLine(self,
gesture) |
source code
|
|
|
|
|
|
|
| script_selectToTopOfDocument(self,
gesture) |
source code
|
|
|
|
| script_selectToBottomOfDocument(self,
gesture) |
source code
|
|
|
|
|
|
|
|
|
Inherited from baseObject.ScriptableObject:
bindGesture,
bindGestures,
clearGestureBindings,
getScript
Inherited from baseObject.AutoPropertyObject:
invalidateCache
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|