]> git.lyx.org Git - lyx.git/blobdiff - src/undo_funcs.C
Move #includes out of header files.
[lyx.git] / src / undo_funcs.C
index 8386041b4d7927928e7ffd835cedb6d762dce124..9fbef8b6bc40ca83e1baae8765b61f22a1327b13 100644 (file)
@@ -1,11 +1,16 @@
-/* This file is part of
- * ======================================================
+/**
+ * \file undo_funcs.C
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- *           LyX, The Document Processor
+ * \author Asger Alstrup
+ * \author Lars Gullik Bjønnes
+ * \author John Levon
+ * \author André Pönitz
+ * \author Jürgen Vigna
  *
- *           Copyright 1995-2001 The LyX Team.
- *
- * ====================================================== */
+ * Full author contact details are available in file CREDITS.
+ */
 
 #include <config.h>
 
@@ -156,10 +161,6 @@ bool performUndoOrRedo(BufferView * bv, Undo & undo)
        }
 
        finishUndo();
-
-       // And repaint the lot
-       bv->text->postPaint();
-
        return true;
 }
 
@@ -177,7 +178,6 @@ bool textUndoOrRedo(BufferView * bv,
                freezeUndo();
                bv->unlockInset(bv->theLockingInset());
                finishUndo();
-               bv->text->postPaint();
                unFreezeUndo();
                return false;
        }