Commit Graph

1083 Commits (64f49c7a99f1a5f5b818f86b637e2e8e40f3cbd7)

Author SHA1 Message Date
Adam Rogoyski d46e9fccf7 - do_wrap() off by one current_x - 1 ==> current_x
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@37 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-06-20 00:13:24 +00:00
Adam Rogoyski ee39d57e8c - do_wrap() spaces between words fix.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@36 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-06-20 00:00:53 +00:00
Chris Allegretta 6724a7ed39 Add -T tab width option
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@35 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-06-19 23:19:07 +00:00
Chris Allegretta 77b35cee5a Buglet fix for for losing text on wrap current_x < wrapcol
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@34 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-06-19 21:21:51 +00:00
Adam Rogoyski 3d449b4142 - do_wrap() needs to keep spaces when you are on the first word that should be wrapped and hit a
space while the cursor is on the first character, but delete spaces when it's the second
  character or anything else that follows.


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@33 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-06-19 17:30:14 +00:00
Chris Allegretta 68576d31d4 New .po files for new src files
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@32 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-06-19 15:47:22 +00:00
Chris Allegretta 2abcc01d4d Oops, add new files to POTFILES (again)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@31 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-06-19 05:56:20 +00:00
Chris Allegretta 5b15d9ffcc Oops, add new files to POTFILES
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@30 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-06-19 05:51:48 +00:00
Chris Allegretta a4b35bce6a New translations for new files
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@29 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-06-19 05:46:17 +00:00
Chris Allegretta 97accc6f12 Fix lack of update on width resize
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@28 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-06-19 05:45:52 +00:00
Chris Allegretta bceb1b21a6 Split nano.c up more
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@27 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-06-19 04:22:15 +00:00
Robert Siemborski b0b367e05d corrected do_insertfile
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@26 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-06-18 02:14:21 +00:00
Robert Siemborski 10eab1dad8 Fixes faiure of display to update in do_insertfile
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@25 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-06-18 01:05:00 +00:00
Robert Siemborski 53154a7468 fixed bug where bottom line would not be redrawn if update_line was called
with NULL


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@24 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-06-18 00:11:03 +00:00
Adam Rogoyski 0223d6fba4 - fix do_wrap() to change the start point of the MARK if it wraps down a line.
- change do_wrap() to not center the screen all the time.


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@23 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-06-17 20:36:35 +00:00
Robert Siemborski a9addc7443 continued display bugfixes/optimizations
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@22 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-06-17 06:06:35 +00:00
Robert Siemborski 5387591a57 Continued display fixes. Specifically, bug #23.
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
2000-06-16 04:25:30 +00:00
Adam Rogoyski 9aeb9da011 Fix do_wrap() and fix_wrap() to handle empty lines, lines without spaces, and recursively call
check_wrap() for when a wrapped line needs to be wrapped when SAMELINEWRAP is set.


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@20 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-06-16 01:19:31 +00:00
Chris Allegretta b0ae3938fa Added do_enter bugfix for placewewant
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@19 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-06-15 23:39:14 +00:00
Chris Allegretta 12de8e86ce Added Indonesian translation
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@18 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-06-09 02:40:50 +00:00
Robert Siemborski b0df953a12 updated for totsize fixes + experimental do_wrap
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@17 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-06-09 00:55:16 +00:00
Robert Siemborski ea19c7369f fix for the totsize / cut bug
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@16 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-06-09 00:52:26 +00:00
Chris Allegretta ab4295b80c Added cvs suffix to version, for debugging
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@15 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-06-07 05:11:23 +00:00
Robert Siemborski e8c6fd0856 bugfix for something that got stuck in 1.3
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@14 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-06-07 04:40:09 +00:00
Robert Siemborski 7a1da8791d Continued bugfixes/optimizations to display code. Tabs at COLS don't work still.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@13 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-06-07 04:31:48 +00:00
Robert Siemborski 1fc1f3cf48 Updates for fixes in winio.c, as well as what remains to be fixed
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@12 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-06-07 04:29:34 +00:00
Robert Siemborski 3f8c7a8c5e Fix prototype for check_wrap (as changed in nano.c)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@11 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-06-07 04:24:02 +00:00
Chris Allegretta 2b26e0a3df Added missing release notes for 0.9.10
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@10 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-06-07 04:02:06 +00:00
Adam Rogoyski 77f36de7e9 add experimental new do_wrap() and check_wrap() to imitate pico a little closer.
Please try this and let me know if it doesn't work!


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@9 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-06-07 03:56:54 +00:00
Chris Allegretta 57474c34b3 Added Rob to AUTHORS
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@8 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-06-07 03:38:06 +00:00
Robert Siemborski 91413cf3a7 updated for changes in winio.c (1.2)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@7 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-06-07 02:20:46 +00:00
Robert Siemborski d8510b2732 Substantial changes to winio.c that appear to fix the display problems
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
2000-06-06 23:04:06 +00:00
Chris Allegretta a2ea193bd4 Initial revision
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-06-06 05:53:49 +00:00