def fillListWithRedoableStrings(self, aList): i = 0 if aList == None: return if self.lastDoneCommandIndex < (self.commands.Count - 1): for i in range(self.lastDoneCommandIndex + 1, self.commands.Count): aList.Add(usupport.capitalize(self.command(i).description()))
def fillListWithUndoableStrings(self, aList): i = 0 if aList == None: return if self.lastDoneCommandIndex >= 0: for i in range(self.lastDoneCommandIndex, 0 + 1): aList.Add(usupport.capitalize(self.command(i).description()))