Lines Matching refs:cmds
89 # around a sequence of editing cmds to be treated as a unit by
91 # then act like nops. OK too if no editing cmds, or only one
92 # editing cmd, is issued in between: if no cmds, the whole
112 # this blk of cmds, or single cmd, has already
301 # Wrapper for a sequence of undoable cmds to be undone/redone
305 self.cmds = []
311 for cmd in self.cmds:
316 return len(self.cmds)
319 self.cmds.append(cmd)
322 return self.cmds[i]
325 for cmd in self.cmds:
329 cmds = self.cmds[:]
330 cmds.reverse()
331 for cmd in cmds: