My favourite kind of "documentation". OK ?

Now maybe somebody will inform us what the other refresh_* are for.

john


Index: text.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/text.C,v
retrieving revision 1.277
diff -u -r1.277 text.C
--- text.C      7 Oct 2002 09:42:00 -0000       1.277
+++ text.C      21 Oct 2002 00:59:22 -0000
@@ -2029,8 +2029,6 @@
        if (c == Paragraph::META_INSET || row->fill() < 0) {
                refresh_y = y;
                refresh_row = row;
-               refresh_x = cursor.x();
-               refresh_pos = cursor.pos();
                status(bview, LyXText::NEED_MORE_REFRESH);
                breakAgainOneRow(bview, row);
                // will the cursor be in another row now?
@@ -2055,9 +2053,7 @@
                        need_break_row = 0;
        } else {
                refresh_y = y;
-               refresh_x = cursor.x();
                refresh_row = row;
-               refresh_pos = cursor.pos();
 
                int const tmpheight = row->height();
                setHeightOfRow(bview, row);
Index: lyxtext.h
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/lyxtext.h,v
retrieving revision 1.128
diff -u -r1.128 lyxtext.h
--- lyxtext.h   11 Oct 2002 10:45:27 -0000      1.128
+++ lyxtext.h   21 Oct 2002 00:59:28 -0000
@@ -175,13 +175,7 @@
        ///
        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;
-- 
"It's a cardboard universe ... and if you lean too hard against it, you fall
 through." 
        - Philip K. Dick 

Reply via email to