pushRedo method
Implementation
void pushRedo(List<String> lines, CursorPosition pos) {
_redoStack.add(
_UndoEntry(lines: List.of(lines), cursor: pos, group: _undoGroupCounter),
);
}
void pushRedo(List<String> lines, CursorPosition pos) {
_redoStack.add(
_UndoEntry(lines: List.of(lines), cursor: pos, group: _undoGroupCounter),
);
}