lynx-dev
[Top][All Lists]
Advanced

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

lynx-dev dev.16 patch 1b (partial mode for TRST table)


From: Leonid Pauzner
Subject: lynx-dev dev.16 patch 1b (partial mode for TRST table)
Date: Sun, 5 Dec 1999 20:15:16 +0300 (MSK)

5-Dec-99 06:14 Klaus Weide wrote:
> That doesn't prevent all redisplaying.  In particular I was thinking
> of the TRST 'flicker'.  Also at least the title line always gets

The fix:

 * refresh screen for TRST changes in partial display mode as early as
   possible, it was previously a problem when the table finished below
   the screen bottom.

Changes happen to be in GridText.c HText_endStblTtable(),
I chose a hacking with `NumOfLines_partial' instead of duplicating
a changed version of HTDisplayPartial() inlined. Do you agree, Klaus?

This fix have nothing with my previous "dev.16 patch 1" revision #2.
both could be allayed IMHO.


diff -u old/gridtext.c ./gridtext.c
--- old/gridtext.c      Wed Dec  1 09:28:20 1999
+++ ./gridtext.c        Sun Dec  5 20:04:54 1999
@@ -4671,6 +4671,12 @@
     if (ncols > 0) {
        lines_changed = HText_insertBlanksInStblLines(me, ncols);
        CTRACE((tfp, "endStblTABLE: changed %d lines, done.\n", lines_changed));
+#ifdef DISP_PARTIAL
+       /* allow HTDisplayPartial() to redisplay the changed lines.
+        * There is no harm if we got several stbl in the document, hope so.
+        */
+       NumOfLines_partial -= ncols;  /* fake */
+#endif  /* DISP_PARTIAL */
     }
     Stbl_free(me->stbl);
     me->stbl = NULL;




reply via email to

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