]> git.lyx.org Git - lyx.git/blobdiff - src/lyxtext.h
remove unused and a little documentation (all r=larsbj)
[lyx.git] / src / lyxtext.h
index 01ffb481f796f8e00b9bd041dcdc057d1314907a..176b9192e486ca46a6d649ae5219eff41d1e333c 100644 (file)
@@ -67,7 +67,7 @@ public:
 
        /// Constructor
        LyXText(BufferView *);
-       ///
+       /// sets inset as owner
        LyXText(InsetText *);
 
        /// Destructor
@@ -75,8 +75,6 @@ public:
 
        void init(BufferView *, bool reinit = false);
        ///
-       mutable int number_of_rows;
-       ///
        mutable int height;
        ///
        mutable unsigned int width;
@@ -177,13 +175,7 @@ public:
        ///
        mutable int refresh_y;
        ///
-       int refresh_width;
-       ///
-       int refresh_x;
-       ///
        mutable Row * refresh_row;
-       ///
-       lyx::pos_type refresh_pos;
 
        /// give and set the LyXText status
        text_status status() const;
@@ -215,8 +207,7 @@ public:
        /** returns a pointer to a specified row. y is set to the beginning
         of the row
         */
-       Row * getRow(Paragraph * par,
-                    lyx::pos_type pos, int & y) const;
+       Row * getRow(Paragraph * par, lyx::pos_type pos, int & y) const;
        /** returns the firstrow, this could be done with the above too but
            IMO it's stupid to have to allocate a dummy y all the time I need
            the first row
@@ -349,6 +340,10 @@ public:
        ///
        void cursorEnd(BufferView *) const;
        ///
+       void cursorPrevious(BufferView * bv);
+       ///
+       void cursorNext(BufferView * bv);
+       ///
        void cursorTab(BufferView *) const;
        ///
        void cursorTop(BufferView *) const;
@@ -490,10 +485,6 @@ private:
 
        ///
        void cursorLeftOneWord(LyXCursor &) const;
-       ///
-       void cursorPrevious(BufferView * bv);
-       ///
-       void cursorNext(BufferView * bv);
  
        ///
        float getCursorX(BufferView *, Row *, lyx::pos_type pos,