/// reject selected change
void rejectChange();
- /// re-computes the cached coordinates in the cursor
- void redoCursor();
///
void setCursor(ParagraphList::iterator pit, lyx::pos_type pos);
/// returns true if par was empty and was removed
/// returns whether we've seen our usual 'end' marker
bool read(Buffer const & buf, LyXLex & lex);
+ ///
+ int ascent() const;
+ ///
+ int descent() const;
+ ///
+ int cursorX() const;
+ ///
+ int cursorY() const;
+ ///
+ int cursorX(LyXCursor const & cursor) const;
+ ///
+ int cursorY(LyXCursor const & cursor) const;
+
public:
///
int height;
private:
+ /// return past-the-last paragraph influenced by a layout
+ /// change on pit
+ ParagraphList::iterator undoSpan(ParagraphList::iterator pit);
+
/// rebreaks the given par
void redoParagraphInternal(ParagraphList::iterator pit);
-
- ///
- float getCursorX(ParagraphList::iterator pit,
- Row const & row, lyx::pos_type pos, bool boundary) const;
/// used in setlayout
void makeFontEntriesLayoutSpecific(BufferParams const &, Paragraph & par);