From 655cc40162bb2d0ff1e6963d297e2dc23213b742 Mon Sep 17 00:00:00 2001 From: Kyle Isom Date: Mon, 1 Dec 2025 15:21:52 -0800 Subject: [PATCH] Refine help text, keybindings, GUI themes, and undo system. - Expanded help text and command documentation with detailed keybinding descriptions. - Added theme customization support to GUIConfig (Nord default, light/dark variants). - Adjusted for consistent indentation and debug instrumentation in undo system. - Enhanced test cases for multi-line, UTF-8, and branching scenarios. --- .idea/workspace.xml | 28 +- Buffer.cc | 12 +- Buffer.h | 60 +-- CMakeLists.txt | 2 +- Command.cc | 1149 +++++++++++++++++++++++++++---------------- Command.h | 11 + Editor.h | 71 ++- GUIConfig.cc | 9 + GUIConfig.h | 12 +- GUIFrontend.cc | 33 +- GUIFrontend.h | 2 +- GUIInputHandler.cc | 18 +- GUIRenderer.cc | 713 ++++++++++++++------------- GUITheme.h | 1021 +++++++++++++++++++++++++++++++++++++- HelpText.cc | 50 +- HelpText.h | 8 +- KKeymap.cc | 25 +- TerminalRenderer.cc | 438 +++++++++-------- UndoSystem.cc | 303 ++++++------ UndoSystem.h | 30 +- docs/kge.1 | 74 ++- docs/kte.1 | 100 +++- docs/syntax on.md | 102 ++++ test_undo.cc | 460 ++++++++--------- 24 files changed, 3234 insertions(+), 1497 deletions(-) create mode 100644 docs/syntax on.md diff --git a/.idea/workspace.xml b/.idea/workspace.xml index cc895b2..011f3d3 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -7,6 +7,7 @@