]> git.lyx.org Git - features.git/blobdiff - src/undo.h
Part of IU.
[features.git] / src / undo.h
index a45e97bff56493e78e23b73a3ab3903e14467a31..925d87d20bd2f64f2c15a0208c5a643a91dab4fb 100644 (file)
@@ -19,6 +19,7 @@
 #include "ParagraphList_fwd.h"
 #include "support/types.h"
 
+class LCursor;
 class LyXText;
 class BufferView;
 
@@ -110,7 +111,7 @@ void recordUndo(Undo::undo_kind kind,
 
 /// convienience: prepare undo for the paragraph that contains the cursor
 void recordUndo(BufferView *, Undo::undo_kind kind);
-void recordUndo(BufferView &, Undo::undo_kind kind);
+void recordUndo(LCursor &, Undo::undo_kind kind);
 
 /// are we avoiding tracking undos currently?
 extern bool undo_frozen;