X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fundo.C;h=33b97827325f006009e10dbcc3ef59165aa0c583;hb=52eb91c94fb70d58dceef430659c8781de2eccda;hp=29b3c7b640bb01cf665cafefd59212364fc6f9f4;hpb=e89625ef28143545a511cdabc67dee8b7be1b216;p=lyx.git diff --git a/src/undo.C b/src/undo.C index 29b3c7b640..33b9782732 100644 --- a/src/undo.C +++ b/src/undo.C @@ -17,6 +17,7 @@ #include "undo.h" #include "buffer.h" +#include "buffer_funcs.h" #include "cursor.h" #include "debug.h" #include "BufferView.h" @@ -29,7 +30,8 @@ #include -using lyx::pit_type; + +namespace lyx { using std::advance; using std::endl; @@ -168,7 +170,7 @@ bool textUndoOrRedo(BufferView & bv, // We stored the full cell here as there is not much to be // gained by storing just 'a few' paragraphs (most if not // all math inset cells have just one paragraph!) - //lyxerr << "undo.array=" << undo.array <