2010-01-28 Chris Allegretta <chrisa@asty.org>

* move.c (do_page_up, do_page_down): Fix for smooth mode not preserving cusor
          position.  Part one of fix for Savannah bug 21178 by Mike Frysinger.



git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4481 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
master
Chris Allegretta 2010-01-29 03:40:58 +00:00
parent 8ff7f33c52
commit 1456a10ace
2 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2010-01-28 Chris Allegretta <chrisa@asty.org>
* move.c (do_page_up, do_page_down): Fix for smooth mode not preserving cusor
position. Part one of fix for Savannah bug 21178 by Mike Frysinger.
GNU nano 2.2.2 - 2010.01.17
2010-01-17 Chris Allegretta <chrisa@asty.org>
* nano.c (main), prompt.c (do_statusbar_input): Handle problems with an unmapped
function due to key rebinding, fixes crashes on FreeBSD repoted by Eitan

View File

@ -93,7 +93,6 @@ openfile->current->lineno, strlenpt(openfile->current->data));
#endif
/* Scroll the edit window up a page. */
openfile->current_y = 0;
edit_update(NONE);
}
@ -135,7 +134,6 @@ void do_page_down(void)
openfile->placewewant);
/* Scroll the edit window down a page. */
openfile->current_y = 0;
edit_update(NONE);
}