]> git.lyx.org Git - lyx.git/blobdiff - src/lyxtext.h
Disable InsetText::update and InsetTabular::update
[lyx.git] / src / lyxtext.h
index c4d1556768eae7a3c7290e07c4aea896d75e169a..2e6ddd97c343df0830428b891686ecd3f74ba3c4 100644 (file)
@@ -163,6 +163,8 @@ public:
        void partialRebreak();
        /// a full rebreak of the whole text
        void fullRebreak();
+       /// rebuild RowList cache
+       void rebuild();
 
        ///
        RowList::iterator need_break_row;
@@ -205,6 +207,13 @@ public:
        RowList::iterator getRow(LyXCursor const & cursor) const;
        /// convenience
        RowList::iterator cursorRow() const;
+       /**
+        * Return the next row, when cursor is at the end of the
+        * previous row, for insets that take a full row.
+        *
+        * FIXME: explain why we need this ? especially for y...
+        */
+       RowList::iterator cursorIRow() const;
 
        /** returns a pointer to the row near the specified y-coordinate
          (relative to the whole text). y is set to the real beginning