X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fundo.C;h=b60d0e11b95f8c3d3fddbbd00d643ad1c4d003c7;hb=646c3127406e1ff1c5aaeb71aa5ea49be0ac8b0e;hp=536a2e4d5c161c6f8b43ab129ee84bc819e35134;hpb=9d6cad3fe60696d795280a886623fdc9a89f9de6;p=lyx.git diff --git a/src/undo.C b/src/undo.C index 536a2e4d5c..b60d0e11b9 100644 --- a/src/undo.C +++ b/src/undo.C @@ -24,12 +24,13 @@ #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; @@ -168,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()); } @@ -288,3 +292,6 @@ void recordUndoFullDocument(BufferView * bv) ); undo_finished = false; } + + +} // namespace lyx