X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fundo.C;h=b60d0e11b95f8c3d3fddbbd00d643ad1c4d003c7;hb=646c3127406e1ff1c5aaeb71aa5ea49be0ac8b0e;hp=8e5fcc334f9acb23e249bba86f12a1268faf09db;hpb=f200823716565c4c37046f32daca40eaf70223dc;p=lyx.git diff --git a/src/undo.C b/src/undo.C index 8e5fcc334f..b60d0e11b9 100644 --- a/src/undo.C +++ b/src/undo.C @@ -22,13 +22,15 @@ #include "BufferView.h" #include "lyxtext.h" #include "paragraph.h" +#include "ParagraphList.h" -#include "mathed/math_support.h" +#include "mathed/MathSupport.h" #include "insets/inset.h" #include -using lyx::pit_type; + +namespace lyx { using std::advance; using std::endl; @@ -167,6 +169,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 <params(), false, buf->undostack()); } @@ -287,3 +292,6 @@ void recordUndoFullDocument(BufferView * bv) ); undo_finished = false; } + + +} // namespace lyx