- /// 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;
-
+ /// 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;