]> git.lyx.org Git - lyx.git/blobdiff - src/BufferView.h
Fix up a few little things after r29065. If we're calculating the autosave
[lyx.git] / src / BufferView.h
index 0105275eae1713218550af1e1aace7e7c08ef470..b5de004c3d69a43184f0d57d84c712d71a3ec626 100644 (file)
@@ -261,6 +261,10 @@ public:
        Point getPos(DocIterator const & dit, bool boundary) const;
        /// is the paragraph of the cursor visible ?
        bool paragraphVisible(DocIterator const & dit) const;
+       /// is the cursor currently visible in the view
+       bool cursorInView(Point const & p, int h) const;
+       /// get the position and height of the cursor
+       void cursorPosAndHeight(Point & p, int & h) const;
 
 
        ///