[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[6513] first line of window after scrolling back to a new node
From: |
Gavin D. Smith |
Subject: |
[6513] first line of window after scrolling back to a new node |
Date: |
Sat, 08 Aug 2015 12:29:04 +0000 |
Revision: 6513
http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=6513
Author: gavin
Date: 2015-08-08 12:29:03 +0000 (Sat, 08 Aug 2015)
Log Message:
-----------
first line of window after scrolling back to a new node
Modified Paths:
--------------
trunk/ChangeLog
trunk/info/session.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2015-08-08 10:07:24 UTC (rev 6512)
+++ trunk/ChangeLog 2015-08-08 12:29:03 UTC (rev 6513)
@@ -2,7 +2,8 @@
* info/session.c (_scroll_forward, _scroll_backward): Set point
at beginning (resp. end) of node if going backwards (resp.
- forwards) failed. Change since Texinfo 5.2 reported by
+ forwards) failed. If we did go backwards, put the cursor at the
+ beginning of the window. Change since Texinfo 5.2 reported by
Benno Schulenberg.
2015-08-08 Gavin Smith <address@hidden>
Modified: trunk/info/session.c
===================================================================
--- trunk/info/session.c 2015-08-08 10:07:24 UTC (rev 6512)
+++ trunk/info/session.c 2015-08-08 12:29:03 UTC (rev 6513)
@@ -1514,7 +1514,10 @@
another node. */
if (backward_move_node_structure (window, info_scroll_behaviour)
== 0)
- info_end_of_node (window, 1);
+ {
+ info_end_of_node (window, 1);
+ window->point = window->line_starts[window->pagetop];
+ }
else
window->point = 0;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [6513] first line of window after scrolling back to a new node,
Gavin D. Smith <=