MCPcopy Index your code
hub / github.com/SLiCAP/SLiCAP_python / redo

Method redo

SLiCAP/schematic/canvas.py:1004–1008  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1002 self._restore(self._undo_stack.pop())
1003
1004 def redo(self) -> None:
1005 if not self._redo_stack:
1006 return
1007 self._undo_stack.append(self.to_data())
1008 self._restore(self._redo_stack.pop())
1009
1010 def _restore(self, data) -> None:
1011 undo_save = self._undo_stack

Callers 6

keyPressEventMethod · 0.80
_build_edit_menuMethod · 0.80
nFunction · 0.80
rFunction · 0.80
sFunction · 0.80

Calls 2

to_dataMethod · 0.95
_restoreMethod · 0.95

Tested by

no test coverage detected