]> git.lyx.org Git - lyx.git/blobdiff - src/Undo.h
Account for old versions of Pygments
[lyx.git] / src / Undo.h
index 1bd6450d7c3a03749952c322961a87c6d51e1099..59f3ca44fc93a58975ee459ffc9440e5889a5ac1 100644 (file)
@@ -47,6 +47,9 @@ enum UndoKind {
 
 class Undo
 {
+       /// noncopyable
+       Undo(Undo const &);
+       void operator=(Undo const &);
 public:
 
        Undo(Buffer &);
@@ -85,7 +88,7 @@ public:
        /**
         * This cursor takes precedence over what is passed to recordUndo.
         * In the case of nested groups, only the first cur_before is
-        * taken in account. The cursor is reset at the end of the
+        * taken into account. The cursor is reset at the end of the
         * top-level group.
         */
        void beginUndoGroup(CursorData const & cur_before);