Can I apply this so it gets some testing besides mine?

Regards, Alfredo

Index: text.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/text.C,v
retrieving revision 1.488
diff -u -p -u -r1.488 text.C
--- text.C      28 Oct 2003 11:18:37 -0000      1.488
+++ text.C      28 Oct 2003 13:27:38 -0000
@@ -525,8 +525,11 @@ void LyXText::rowBreakPoint(ParagraphLis
                                }
                        }
                        // exit on last registered breakpoint:
+#if 0
+                       // hack removed:
                        if (i + 1 < end)
-                               break;
+#endif
+                       break;
                }
 
                InsetOld * in = pit->getInset(i);
@@ -540,10 +543,14 @@ void LyXText::rowBreakPoint(ParagraphLis
                }
        }
 
+#if 0
+       // hack removed (connected with the #if 0 above):
        if (point == end && i != end && x >= width) {
                // didn't find one, break at the point we reached the edge
                point = i + 1;
-       } else if (i == end && x < width) {
+       } else
+#endif
+       if (i == end && x < width) {
                // maybe found one, but the par is short enough.
                point = end;
        }

Reply via email to