mirror of
git://git.sv.gnu.org/nano.git
synced 2024-11-25 06:09:38 +03:00
- page_down() do not edit_update() if we are moving to the bottom of the file
and the bottom is currently in the edit buffer. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@74 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
This commit is contained in:
parent
01dc83ae12
commit
acf71da636
2
move.c
2
move.c
@ -57,13 +57,13 @@ int page_down(void)
|
||||
if (editbot != filebot) {
|
||||
current_y = 0;
|
||||
current = editbot;
|
||||
edit_update_top(current);
|
||||
} else
|
||||
while (current != filebot) {
|
||||
current = current->next;
|
||||
current_y++;
|
||||
}
|
||||
|
||||
edit_update_top(current);
|
||||
update_cursor();
|
||||
UNSET(KEEP_CUTBUFFER);
|
||||
check_statblank();
|
||||
|
Loading…
Reference in New Issue
Block a user