- /// return first row of text
- RowList::iterator firstRow() const;
- /// return last row of text
- RowList::iterator lastRow() const;
- /// return row "behind" last row of text
- RowList::iterator endRow() const;
- /// return next row crossing paragraph boundaries
- void nextRow(ParagraphList::iterator & pit,
- RowList::iterator & rit) const;
- /// return previous row crossing paragraph boundaries
- void previousRow(ParagraphList::iterator & pit,
- RowList::iterator & rit) const;
-
- /// is this row the last in the text?
- bool isLastRow(ParagraphList::iterator pit, Row const & row) const;
- /// is this row the first in the text?
- bool isFirstRow(ParagraphList::iterator pit, Row const & row) const;
+ /// delete double space or empty paragraphs around old cursor
+ bool deleteEmptyParagraphMechanism(LCursor & cur, LCursor & old);