Commit Graph

264 Commits

Author SHA1 Message Date
Robert Siemborski
e0e568fe17 bugfix for page_down_center
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@70 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-07-05 03:08:28 +00:00
Robert Siemborski
23ecb17595 totsize and magic line changes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@69 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-07-04 22:21:40 +00:00
Robert Siemborski
63b3d7e0c0 Magic Line Code Added
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@68 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-07-04 22:15:39 +00:00
Robert Siemborski
66b0fc5b6c cuting newline-related totsize fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@66 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-07-04 21:29:24 +00:00
Robert Siemborski
deca3e727a updated for fix_editbot changes...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@65 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-07-04 02:40:41 +00:00
Robert Siemborski
dd53ec2a87 Fixed 2 FIXMEs in nano.c:
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
2000-07-04 02:35:19 +00:00
Chris Allegretta
48fd2cb833 Oops, fix was really in edit_update_top in winio.c
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@63 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-07-03 04:31:13 +00:00
Chris Allegretta
1e57e68e57 Fixed a bug in page_down() and moved page_up() to move.c where it belongs
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@62 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-07-03 04:24:39 +00:00
Chris Allegretta
67105eb11f Oops, fix for --enable-tiny
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@61 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-07-03 03:18:32 +00:00
Chris Allegretta
dbc12b2070 Removed do_oldspell() and put an ifdef around do_spell()
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@60 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-07-03 03:10:14 +00:00
Robert Siemborski
6d0e9cd556 changed all 'sprintf' calls to 'snprintf'
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@59 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-07-01 21:43:16 +00:00
Robert Siemborski
6af1431eaa changed all 'sprintf' calls to 'snprintf'
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@58 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-07-01 21:34:26 +00:00
Chris Allegretta
715e7dd403 Change 'To Replace' to just 'Replace', more like Pico
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@57 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-06-30 20:35:26 +00:00
Chris Allegretta
518b8ef7a2 Um, the translation for No Replace is NOT the same as for Replace...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@56 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-06-29 01:34:54 +00:00
Chris Allegretta
8c2b40f06c Made search functions and keys more like Pico
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@55 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-06-29 01:30:04 +00:00
Chris Allegretta
8b709372b7 Removed gettext calls for Yes, No, etc. till we decide if we translate them...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@54 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-06-24 01:39:07 +00:00
Chris Allegretta
f7eba0ba8b Finnish translation by pauli.virtanen@saunalahti.fi
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@53 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-06-24 01:33:27 +00:00
Jordi Mallach
0b0fc4944f Removed gettext calls for "Yes", "No", etc. till we decide if we translate
them. Updated po's and gmo's and pot to reflect this.


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@52 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-06-23 01:00:13 +00:00
Chris Allegretta
5204ea9e86 Removed now unnecessary raw/cbreak combos.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@51 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-06-22 01:56:23 +00:00
Chris Allegretta
6e80585b0d New german translation by floki@bigfoot.com
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@50 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-06-22 01:53:29 +00:00
Chris Allegretta
8a9fe7e4dd Oops, two alt_speller vars
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@49 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-06-21 22:29:38 +00:00
Chris Allegretta
5a4eb33590 Oops, two alt_speller vars
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@48 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-06-21 21:26:31 +00:00
Jordi Mallach
fc5fb2ea48 small, stupid, trivial modification to test write access. It worked!
Key bindings on ^X need not to be hardcoded, in the meanwhile, I
untranslated "S" to "Y".


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@47 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-06-21 15:31:48 +00:00
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
Chris Allegretta
145c46e803 Indonesian translation update
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@44 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-06-20 23:48:40 +00:00
Chris Allegretta
1aaae97aee es.po update by Jordi
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@43 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-06-20 23:31:57 +00:00
Chris Allegretta
8b26095ceb Only define HAVE_TABSIZE in ncurses
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@42 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-06-20 17:11:07 +00:00
Chris Allegretta
f374645e67 Minor update and testing write access
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@41 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-06-20 14:03:15 +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
Chris Allegretta
790198d33c Added -T info to ChangeLog
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@39 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-06-20 00:40:01 +00:00
Chris Allegretta
3798588fcc Added likely NEWS items for 0.9.11 to NEWS
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@38 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-06-20 00:39:20 +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
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