MCPcopy Index your code
hub / github.com/python/cpython / redo

Method redo

Lib/idlelib/undo.py:285–290  ·  view source on GitHub ↗
(self, text)

Source from the content-addressed store, hash-verified

283 ##sys.__stderr__.write("do: %s\n" % self)
284
285 def redo(self, text):
286 text.mark_set('insert', self.index1)
287 text.delete(self.index1, self.index2)
288 self.set_marks(text, self.marks_after)
289 text.see('insert')
290 ##sys.__stderr__.write("redo: %s\n" % self)
291
292 def undo(self, text):
293 text.mark_set('insert', self.index1)

Callers

nothing calls this directly

Calls 4

set_marksMethod · 0.80
mark_setMethod · 0.45
deleteMethod · 0.45
seeMethod · 0.45

Tested by

no test coverage detected