]> git.lyx.org Git - lyx.git/blobdiff - src/BufferView.h
typo
[lyx.git] / src / BufferView.h
index 0381b6b86fe096ecfc67ae83e2fbc205af881e89..5bad57ca0ece1d8d88c4017fe9ffd516cb99dc07 100644 (file)
@@ -146,11 +146,6 @@ public:
        int horizScrollOffset(Text const * text,
                              pit_type pit, pos_type pos) const;
 
-       // Returns true if the row of text starting at (pit, pos) was scrolled
-       // at the last draw event.
-       bool hadHorizScrollOffset(Text const * text,
-                              pit_type pit, pos_type pos) const;
-
        /// reset the scrollbar to reflect current view position.
        void updateScrollbar();
        /// return the Scrollbar Parameters.
@@ -307,6 +302,8 @@ public:
        bool paragraphVisible(DocIterator const & dit) const;
        /// is the cursor currently visible in the view
        bool cursorInView(Point const & p, int h) 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;