do_enter: the reset_cursor was needed. code cleaned up a bit with a comment
explaining the situation there.
do_justify: the second edit_refresh exposed a bug in how we were updateing
editbot when we needed to rebuild it. This functionality has
been moved into winio.c:fix_editbot, and all places that were
doing so that I could find have been updated. (files.c:
do_insertfile, nano.c: handle_sigwinch and do_justify)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@64 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
This also resulted in rewriting some of the methodology behind the
display functions (yet again).
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@21 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
that we have been seeing on lines with tabs.
It introduces the concept of "pages" which might not be the best choice
for them.... Basically, it's the part of a line that would be visible on
screen at once. the first part (visible when you open a file) is page
1... the second (you have to scroll to the right approx COLS, is 2. The
third is at approx (2 * COLS) - 7 and so on...)
It's not terribly efficient as of yet, there are probabally quite a few
redundant calls to xpt(), for instance.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@6 35c25a1d-7b9e-4130-9fde-d3aeb78583b8