]> git.lyx.org Git - lyx.git/blobdiff - src/BufferView.h
Provide proper fallback if a bibliography processor is not found
[lyx.git] / src / BufferView.h
index 3cbf22a8ba48d1c7270b46025393456caedbe44f..886d3c8fe7bcb6e4dba90d13561b918a8eaffd26 100644 (file)
@@ -133,9 +133,6 @@ public:
        /// Only to be called with good y coordinates (after a bv::metrics)
        bool needsFitCursor() const;
 
-       /// returns true if this row needs to be repainted (to erase caret)
-       bool needRepaint(Text const * text, Row const & row) const;
-
        // Returns the amount of horizontal scrolling applied to the
        // top-level row where the cursor lies
        int horizScrollOffset() const;
@@ -306,8 +303,10 @@ public:
        Point getPos(DocIterator const & dit) 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;
+       /// is the caret currently visible in the view
+       bool caretInView() const;
+       /// set the ascent and descent of the caret
+       void setCaretAscentDescent(int asc, int des);
        /// get the position and height of the caret
        void caretPosAndHeight(Point & p, int & h) const;