]> git.lyx.org Git - lyx.git/blobdiff - src/Text.h
That didn't really work. So revert to old CSS for gray notes.
[lyx.git] / src / Text.h
index 79e026b6c59332e66ab8e5fa66b1fc6efcbd133a..c8073eec711150df87764b08b10a8573ef9d6642 100644 (file)
@@ -41,7 +41,7 @@ class Text {
 public:
        /// constructor
        explicit Text(InsetText * owner)
-               : owner_(owner), autoBreakRows_(false)
+               : owner_(owner), autoBreakRows_(false), undo_counter_(0)
        {}
 
        /// \return true if there's no content at all.
@@ -368,6 +368,8 @@ private:
        bool autoBreakRows_;
        /// position of the text in the buffer.
        DocIterator macrocontext_position_;
+       ///
+       unsigned int undo_counter_;
 };