texinfo-commits
[Top][All Lists]
Advanced

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

[5655] recalculate line map on loading a new node into window


From: Gavin D. Smith
Subject: [5655] recalculate line map on loading a new node into window
Date: Tue, 10 Jun 2014 16:49:24 +0000

Revision: 5655
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=5655
Author:   gavin
Date:     2014-06-10 16:49:22 +0000 (Tue, 10 Jun 2014)
Log Message:
-----------
recalculate line map on loading a new node into window

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

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog     2014-06-09 12:01:21 UTC (rev 5654)
+++ trunk/ChangeLog     2014-06-10 16:49:22 UTC (rev 5655)
@@ -1,5 +1,9 @@
 2014-06-09  Gavin Smith  <address@hidden>
 
+       * info/window.c (window_set_node_of_window): Call
+       window_compute_line_map.
+2014-06-09  Gavin Smith  <address@hidden>
+
        * info/dir.c (dir_entry_of_infodir): Return null if nothing found.
        * info/window.h (WINDOW): Declare hist_index, hist_slots with size_t
        instead of int.

Modified: trunk/info/window.c
===================================================================
--- trunk/info/window.c 2014-06-09 12:01:21 UTC (rev 5654)
+++ trunk/info/window.c 2014-06-10 16:49:22 UTC (rev 5655)
@@ -564,6 +564,7 @@
   window->point = 0;
   window->goal_column = 0;
   recalculate_line_starts (window);
+  window_compute_line_map (window);
   window->flags |= W_UpdateWindow;
   if (node)
     {




reply via email to

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