Chris Allegretta
4da1fc65f0
Synch with official 0.9.11
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@45 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-06-21 03:00:43 +00:00
Adam Rogoyski
09f9796b85
- check_wrap() more off by one.
...
- do_justify() off by 1 and off by 2, and fix numbering and handling off bottom line.
Wrapping and justify should now do the same thing and agree on what where to wrap everything.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@40 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-06-20 02:50:33 +00:00
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
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
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
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
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
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