From d527c7b1b2ecfb51e8034f79d141fa1acc41fd52 Mon Sep 17 00:00:00 2001 From: Kyle Isom Date: Sat, 29 Nov 2025 23:00:09 -0800 Subject: [PATCH] Refactor `Buffer` to use `Line` abstraction and improve handling of row operations. This uses either a GapBuffer or PieceTable depending on the compilation. --- .idea/workspace.xml | 40 ++++++-------- Buffer.cc | 80 ++++++++++++++-------------- Buffer.h | 124 ++++++++++++++++++++++++++++++++++++++++++-- Command.cc | 8 +-- 4 files changed, 184 insertions(+), 68 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 7414c9f..e133240 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -33,31 +33,11 @@ - - - - - - + - + - - - - - - - - - - - - - - - @@ -176,6 +165,11 @@ + + + +