* Licence details can be found in the file COPYING.
*
* \author Matthias Ettrich
- * \author Lars Gullik Bjønnes
+ * \author Lars Gullik Bjønnes
*
* Full author contact details are available in file CREDITS.
*
///
Row();
///
- Row(pos_type pos);
- ///
bool changed() const { return changed_; }
///
void setChanged(bool c) { changed_ = c; }
void setSelection(pos_type sel_beg, pos_type sel_end) const;
///
bool selection() const;
- /// Set the selection begin and end and whether the margin begin and end
- /// are selected.
+ /// Set the selection begin and end and whether the left and/or right
+ /// margins are selected.
void setSelectionAndMargins(DocIterator const & beg,
DocIterator const & end) const;
///
mutable pos_type sel_end;
///
- mutable bool left_margin_sel;
+ mutable bool begin_margin_sel;
///
- mutable bool right_margin_sel;
+ mutable bool end_margin_sel;
private:
/// Decides whether the margin is selected.
* \param beg
* \param end
*/
- bool isMarginSelected(bool margin_begin, DocIterator const & beg,
+ bool isMarginSelected(bool left_margin, DocIterator const & beg,
DocIterator const & end) const;
/// has the Row appearance changed since last drawing?