From c6b542f84e65083552e52768db7bb4c11dcd7a64 Mon Sep 17 00:00:00 2001 From: Neil Date: Thu, 1 Feb 2024 08:56:45 +1100 Subject: Move UndoHistory into its own module that is accessible from CellBuffer and tests but hidden from most of Scintilla. Access through std::unique_ptr. --- gtk/deps.mak | 13 +++++++++++++ gtk/makefile | 1 + 2 files changed, 14 insertions(+) (limited to 'gtk') diff --git a/gtk/deps.mak b/gtk/deps.mak index e7a562661..323e94aca 100644 --- a/gtk/deps.mak +++ b/gtk/deps.mak @@ -142,6 +142,7 @@ CellBuffer.o: \ ../src/SparseVector.h \ ../src/ChangeHistory.h \ ../src/CellBuffer.h \ + ../src/UndoHistory.h \ ../src/UniConversion.h ChangeHistory.o: \ ../src/ChangeHistory.cxx \ @@ -478,6 +479,18 @@ Style.o: \ ../src/Geometry.h \ ../src/Platform.h \ ../src/Style.h +UndoHistory.o: \ + ../src/UndoHistory.cxx \ + ../include/ScintillaTypes.h \ + ../src/Debugging.h \ + ../src/Position.h \ + ../src/SplitVector.h \ + ../src/Partitioning.h \ + ../src/RunStyles.h \ + ../src/SparseVector.h \ + ../src/ChangeHistory.h \ + ../src/CellBuffer.h \ + ../src/UndoHistory.h UniConversion.o: \ ../src/UniConversion.cxx \ ../src/UniConversion.h diff --git a/gtk/makefile b/gtk/makefile index 17816f531..df0c71348 100644 --- a/gtk/makefile +++ b/gtk/makefile @@ -149,6 +149,7 @@ SRC_OBJS = \ RunStyles.o \ Selection.o \ Style.o \ + UndoHistory.o \ UniConversion.o \ UniqueString.o \ ViewStyle.o \ -- cgit v1.2.3