texinfo-commits
[Top][All Lists]
Advanced

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

[5799] display highlighted regions crossing lines properly


From: Gavin D. Smith
Subject: [5799] display highlighted regions crossing lines properly
Date: Thu, 04 Sep 2014 10:54:05 +0000

Revision: 5799
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=5799
Author:   gavin
Date:     2014-09-04 10:54:03 +0000 (Thu, 04 Sep 2014)
Log Message:
-----------
display highlighted regions crossing lines properly

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/info/display.c

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog     2014-09-04 10:16:25 UTC (rev 5798)
+++ trunk/ChangeLog     2014-09-04 10:54:03 UTC (rev 5799)
@@ -2,6 +2,8 @@
 
        * info/display.c (display_update_one_window): Clear lines with
        highlights in them properly.
+       * info/display.c (display_update_window_1): Go to new line properly
+       when highlighted region crosses line.
 
 2014-09-01  Gavin Smith  <address@hidden>
 

Modified: trunk/info/display.c
===================================================================
--- trunk/info/display.c        2014-09-04 10:16:25 UTC (rev 5798)
+++ trunk/info/display.c        2014-09-04 10:54:03 UTC (rev 5799)
@@ -413,6 +413,11 @@
 
           if (finish)
             break;
+
+          /* Go to the start of the next line if we are outputting in this
+             function. */
+          if (match_seen_in_line)
+            terminal_goto_xy (0, win->first_row + pl_num);
         }
 
       if (*cur_ptr != '\n' && rep) 




reply via email to

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