From 1a72e2b3127ae2516b64f5153c76d14f12c19416 Mon Sep 17 00:00:00 2001 From: Kyle Isom Date: Sat, 29 Nov 2025 22:48:31 -0800 Subject: [PATCH] Add undo/redo infrastructure and buffer management additions. --- .idea/workspace.xml | 24 +- CMakeLists.txt | 4 + Command.cc | 648 ++++++++++++++++++++++++++++++++++++---- Command.h | 16 +- Editor.h | 42 ++- GUIInputHandler.cc | 101 ++++++- GUIInputHandler.h | 2 + KKeymap.cc | 39 +++ TerminalFrontend.cc | 23 +- TerminalFrontend.h | 4 + TerminalInputHandler.cc | 2 +- UndoNode.cc | 15 + UndoNode.h | 83 +++++ UndoTree.cc | 47 +++ UndoTree.h | 20 ++ kte-cloc | 3 + 16 files changed, 1000 insertions(+), 73 deletions(-) create mode 100644 UndoNode.cc create mode 100644 UndoNode.h create mode 100644 UndoTree.cc create mode 100644 UndoTree.h create mode 100755 kte-cloc diff --git a/.idea/workspace.xml b/.idea/workspace.xml index afd40db..7414c9f 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -34,10 +34,30 @@ + + + + + + + + + + + + + + + + + + + +