-private:
- ///
- float getCursorX(ParagraphList::iterator pit,
- Row const & row, lyx::pos_type pos,
- lyx::pos_type last, bool boundary) const;
- /// used in setlayout
- void makeFontEntriesLayoutSpecific(BufferParams const &, Paragraph & par);
-
- /// Calculate and set the height of the row
- void setHeightOfRow(ParagraphList::iterator, Row & row);
-
- // fix the cursor `cur' after a characters has been deleted at `where'
- // position. Called by deleteEmptyParagraphMechanism
- void fixCursorAfterDelete(LyXCursor & cur, LyXCursor const & where);
-
- /// delete double space (false) or empty paragraphs (true) around old_cursor
- bool deleteEmptyParagraphMechanism(LyXCursor const & old_cursor);
-
-public:
- /** Updates all counters starting BEHIND the row. Changed paragraphs
- * with a dynamic left margin will be rebroken. */
- void updateCounters();
- /**
- * Returns an inset if inset was hit, or 0 if not.
- * If hit, the coordinates are changed relative to the inset.
- */
- InsetOld * checkInsetHit(int & x, int & y);
+ /// Returns an inset if inset was hit, or 0 if not.
+ InsetBase * checkInsetHit(int x, int y) const;