]> git.lyx.org Git - lyx.git/blobdiff - src/Row.h
revert r37459 and add a note to the sources:
[lyx.git] / src / Row.h
index 055608bc2e0c87c04a9e94a240e38999111abc67..c26752bde861c7c557630cc3ba41938612dc242b 100644 (file)
--- 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?