lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

lynx-dev [PATCH 2.8.5-pre4] Table fixup


From: Ilya Zakharevich
Subject: lynx-dev [PATCH 2.8.5-pre4] Table fixup
Date: Tue, 3 Feb 2004 04:35:00 -0800
User-agent: Mutt/1.4i

This patch fixes all the non-cosmetic problems I know with the new
table logic.  Three cosmetic problems remain:

  a) If a table does not fit into the width, the beginning of the
     table may be left without indent;

  b) It looks like some lines on http://www.tex.uniyar.ac.ru/soft.htm
     are not properly wrapped.

  c) Textarea misaligned on the error screen of
        http://nypost.com/news/regionalnews/2178.htm

Enjoy,
Ilya

--- ./src/GridText.c~   Mon Feb  2 21:42:54 2004
+++ ./src/GridText.c    Tue Feb  3 04:10:58 2004
@@ -4950,7 +4950,8 @@ PRIVATE int HText_insertBlanksInStblLine
                            lineno - deleted);
        if (do_unsplit != -1) {
            HTLine *nxt_line = line->next; /* If vert-moved, != nextline */
-           if (unsplit_line(me, line, 0, do_unsplit)) {
+           if ( lineno - deleted > first_lineno
+                && unsplit_line(me, line, 0, do_unsplit) ) {
                deleted++;
                /* Only one line is left is a special case */
                if (me->last_line == me->last_line->next)

; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]