X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FRow.h;h=c26752bde861c7c557630cc3ba41938612dc242b;hb=62411b7c0f5073d77df46cb0c8a5baacd0dfce7c;hp=055608bc2e0c87c04a9e94a240e38999111abc67;hpb=3461169526262fb05dcc7ec80bd38e2cc6511124;p=lyx.git diff --git a/src/Row.h b/src/Row.h index 055608bc2e..c26752bde8 100644 --- a/src/Row.h +++ b/src/Row.h @@ -5,7 +5,7 @@ * 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. * @@ -34,8 +34,6 @@ public: /// Row(); /// - Row(pos_type pos); - /// bool changed() const { return changed_; } /// void setChanged(bool c) { changed_ = c; } @@ -49,8 +47,8 @@ public: 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; @@ -89,9 +87,9 @@ public: /// 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. @@ -100,7 +98,7 @@ private: * \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?