/// FIXME: replace LCursor with DocIterator.
void setFont(LCursor & cur, LyXFont const &, bool toggleall = false);
- /// returns pos in given par at given x coord.
- /// FIXME: move to TextMetrics.
- pos_type x2pos(BufferView const &, pit_type pit, int row, int x) const;
- int pos2x(pit_type pit, pos_type pos) const;
-
///
void toggleFree(LCursor & cur, LyXFont const &, bool toggleall = false);
/// FIXME: move to TextMetrics.
pit_type getPitNearY(BufferView & bv, int y);
- /** returns the column near the specified x-coordinate of the row
- x is set to the real beginning of this column
- */
- /// FIXME: move to TextMetrics.
- pos_type getColumnNearX(BufferView const & bv, int right_margin,
- pit_type pit, Row const & row, int & x, bool & boundary) const;
-
/** Find the word under \c from in the relative location
* defined by \c word_location.
* @param from return here the start of the word