| | |
- Command
-
- CommandSequence
- DeleteCommand
- InsertCommand
- idlelib.Delegator.Delegator
-
- UndoDelegator
class Command |
| | |
Methods defined here:
- __init__(self, index1, index2, chars, tags=None)
- __repr__(self)
- do(self, text)
- merge(self, cmd)
- redo(self, text)
- save_marks(self, text)
- set_marks(self, text, marks)
- undo(self, text)
Data and other attributes defined here:
- tags = None
|
class CommandSequence(Command) |
| | |
Methods defined here:
- __init__(self)
- __len__(self)
- __repr__(self)
- append(self, cmd)
- bump_depth(self, incr=1)
- getcmd(self, i)
- redo(self, text)
- undo(self, text)
Methods inherited from Command:
- do(self, text)
- merge(self, cmd)
- save_marks(self, text)
- set_marks(self, text, marks)
Data and other attributes inherited from Command:
- tags = None
|
class InsertCommand(Command) |
| | |
Methods defined here:
- __init__(self, index1, chars, tags=None)
- classify(self, c)
- do(self, text)
- merge(self, cmd)
- redo(self, text)
- undo(self, text)
Data and other attributes defined here:
- alphanumeric = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_'
Methods inherited from Command:
- __repr__(self)
- save_marks(self, text)
- set_marks(self, text, marks)
Data and other attributes inherited from Command:
- tags = None
|
class UndoDelegator(idlelib.Delegator.Delegator) |
| | |
Methods defined here:
- __init__(self)
- addcmd(self, cmd, execute=True)
- check_saved(self)
- delete(self, index1, index2=None)
- dump_event(self, event)
- get_saved(self)
- insert(self, index, chars, tags=None)
- redo_event(self, event)
- reset_undo(self)
- set_saved(self, flag)
- set_saved_change_hook(self, hook)
- setdelegate(self, delegate)
- undo_block_start(self)
- undo_block_stop(self)
- undo_event(self, event)
Data and other attributes defined here:
- max_undo = 1000
- saved_change_hook = None
- was_saved = -1
Methods inherited from idlelib.Delegator.Delegator:
- __getattr__(self, name)
- cachereport(self)
- getdelegate(self)
- resetcache(self)
| |