]> git.lyx.org Git - lyx.git/blobdiff - src/Row.h
Transfer the setting of the current LyXView from workArea::focusInEvent() to GuiView...
[lyx.git] / src / Row.h
index 2838f48e746b0e0c7ac3c7c934ed9dcae2c86151..5b67abba5e463d655edfbb3b3dcf621c5db91634 100644 (file)
--- a/src/Row.h
+++ b/src/Row.h
@@ -39,6 +39,9 @@ public:
        void setChanged(bool c) { changed_ = c; }
        ///
        void setCrc(size_type crc);
+       ///
+       void setSelection(pos_type sel_beg, pos_type sel_end);
+
        ///
        void pos(pos_type p);
        ///
@@ -61,7 +64,7 @@ public:
        int descent() const { return dim_.des; }
 
        /// current debugging only
-       void dump(const char * = "") const;
+       void dump(char const * = "") const;
 
        /// width of a separator (i.e. space)
        double separator;
@@ -71,7 +74,10 @@ public:
        double label_hfill;
        /// the x position of the row
        double x;
-
+       ///
+       pos_type sel_beg;
+       ///
+       pos_type sel_end;
 private:
        /// has the Row appearance changed since last drawing?
        bool changed_;