]> git.lyx.org Git - lyx.git/blobdiff - src/undo.h
"Inter-word Space"
[lyx.git] / src / undo.h
index e0c4899d9223bed37157ae9ae03087e2e724bdfa..19fb2d13631f4b35c5fa028fb72117b89fce478f 100644 (file)
@@ -1,9 +1,9 @@
 // -*- C++ -*-
 /* This file is part of
  * ======================================================
- * 
+ *
  *           LyX, The Document Processor
- *      
+ *
  *           Copyright 1995 Matthias Ettrich
  *           Copyright 1995-2001 The LyX Team.
  *
@@ -12,9 +12,7 @@
 #ifndef UNDO_H
 #define UNDO_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
+#include <vector>
 
 class Paragraph;
 
@@ -45,12 +43,12 @@ public:
        ///
        int cursor_pos; // valid if >= 0
        ///
-       Paragraph * par;
+       std::vector<Paragraph *> pars;
        ///
        Undo(undo_kind kind_arg, int id_inset_arg,
             int number_before_arg, int number_behind_arg,
             int cursor_par_arg, int cursor_pos_arg,
-            Paragraph * par_arg);
+            std::vector<Paragraph *> const & par_arg);
        ///
        ~Undo();
 };