From 252cb0fe25a8cbbce19944033e311203e0fb07dc Mon Sep 17 00:00:00 2001 From: Neil Date: Thu, 1 Feb 2024 09:36:08 +1100 Subject: Add UndoAction class as internal type for undo actions and make Action a struct that is used for reporting undo steps to Document. This will allow further minimization of undo memory use. --- src/Document.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Document.h') diff --git a/src/Document.h b/src/Document.h index 9f51fc719..af6bb98fd 100644 --- a/src/Document.h +++ b/src/Document.h @@ -626,7 +626,7 @@ public: position(act.position), length(act.lenData), linesAdded(linesAdded_), - text(act.data.get()), + text(act.data), line(0), foldLevelNow(Scintilla::FoldLevel::None), foldLevelPrev(Scintilla::FoldLevel::None), -- cgit v1.2.3