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

Method redo

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

Source from the content-addressed store, hash-verified

222 ##sys.__stderr__.write("do: %s\n" % self)
223
224 def redo(self, text):
225 text.mark_set('insert', self.index1)
226 text.insert(self.index1, self.chars, self.tags)
227 self.set_marks(text, self.marks_after)
228 text.see('insert')
229 ##sys.__stderr__.write("redo: %s\n" % self)
230
231 def undo(self, text):
232 text.mark_set('insert', self.index1)

Callers

nothing calls this directly

Calls 4

set_marksMethod · 0.80
mark_setMethod · 0.45
insertMethod · 0.45
seeMethod · 0.45

Tested by

no test coverage detected