MCPcopy Create free account
hub / github.com/python/cpython / undo_block_start

Method undo_block_start

Lib/idlelib/undo.py:99–102  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

97 # _start() call is matched by a _stop() call.
98
99 def undo_block_start(self):
100 if self.undoblock == 0:
101 self.undoblock = CommandSequence()
102 self.undoblock.bump_depth()
103
104 def undo_block_stop(self):
105 if self.undoblock.bump_depth(-1) == 0:

Callers 10

recallMethod · 0.45
set_regionMethod · 0.45
do_rstripMethod · 0.45
replace_allMethod · 0.45
do_replaceMethod · 0.45
smart_backspace_eventMethod · 0.45
smart_indent_eventMethod · 0.45
reindent_toMethod · 0.45

Calls 2

CommandSequenceClass · 0.85
bump_depthMethod · 0.80

Tested by

no test coverage detected