+ void recUndo(LCursor & cur, pit_type first) const;
+
+ /// sets cursor only within this LyXText.
+ /// x,y are screen coordinates
+ void setCursorFromCoordinates(LCursor & cur, int x, int y);
+
+ /// sets cursor recursively descending into nested editable insets
+ /**
+ \return the inset pointer if x,y is covering that inset
+ \param x,y are absolute screen coordinates.
+ \retval inset is non-null if the cursor is positionned inside
+ */
+ /// FIXME: move to TextMetrics.