]> git.lyx.org Git - lyx.git/blobdiff - src/BufferView.h
ar.po: updates from Hatim
[lyx.git] / src / BufferView.h
index bfdb0bac429ac912613f1b08344534ef65a497f4..31b6e94fc484d70f451592857780e07cabc7c6b9 100644 (file)
@@ -44,6 +44,7 @@ class PainterInfo;
 class ParIterator;
 class ParagraphMetrics;
 class Point;
+class TexRow;
 class Text;
 class TextMetrics;
 
@@ -159,6 +160,8 @@ public:
 
        /// set the cursor based on the given TeX source row.
        void setCursorFromRow(int row);
+       ///
+       void setCursorFromRow(int row, TexRow const & texrow);
 
        /// set cursor to the given inset. Return true if found.
        bool setCursorFromInset(Inset const *);
@@ -349,7 +352,7 @@ private:
 
        // Check whether the row where the cursor lives needs to be scrolled.
        // Update the drawing strategy if needed.
-       void checkCursorScrollOffset();
+       void checkCursorScrollOffset(PainterInfo & pi);
 
        /// The minimal size of the document that is visible. Used
        /// when it is allowed to scroll below the document.