Chris Allegretta
e434b45148
do_alt_speller and nanogetstr fixes
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@508 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-01-27 19:25:00 +00:00
Chris Allegretta
17dcb7212f
Get rid of center_x and center_y, removed redundant free_node, added restore of totsize when unjustifying
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@492 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-01-20 21:40:07 +00:00
Rocco Corsi
af5c302b48
Move #ifndef cleanups. Some HELP and SPELLER #ifndef additions.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@472 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-01-12 07:51:05 +00:00
Rocco Corsi
06aca1cc9e
Rolled back DISABLE_TABCOMP and NANO_SMALL changes from earlier today
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@469 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-01-11 05:30:31 +00:00
Chris Allegretta
a4d6d1df37
Add check for tiny option in #ifdefs for DISABLE_TABCOMP code
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@468 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-01-10 23:44:10 +00:00
Chris Allegretta
7044489c76
do_help: Do the bottom window the right wrong way if NO_HELP is set
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@457 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-01-07 23:02:02 +00:00
Chris Allegretta
c08f50d9de
Back to the drawing board, old keypad code, dont slightly better
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@452 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-01-06 18:12:43 +00:00
Chris Allegretta
63c8ab94fb
Tadaa. Keypad issue fixed. It was the stupid timeout(0) call. UGH
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@437 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-01-04 02:33:52 +00:00
Chris Allegretta
f4b9601c1b
First try at browser
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@434 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-01-03 07:11:47 +00:00
Chris Allegretta
827b15fdc0
credits spelling fix
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@433 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-01-03 02:09:04 +00:00
Chris Allegretta
66795ecbe1
do_cursorpos cleanups
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@429 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-12-27 04:47:28 +00:00
Chris Allegretta
d1627cffd0
Fix help menu keypad issues
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@416 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-12-18 05:03:16 +00:00
Chris Allegretta
3bc8c72c8b
Added --disable-help, moved hold pointer declaration
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@404 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-12-10 17:03:25 +00:00
Chris Allegretta
fb62f73a9a
Rocco fixes
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@385 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-12-05 11:36:41 +00:00
Chris Allegretta
908805a2e8
Rocco's edit_add off by one fix
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@380 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-12-04 04:42:56 +00:00
Chris Allegretta
7262358381
Oops, I guess that's MY right alt key also =). And right control is ASCII 543
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@352 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-11-29 23:43:28 +00:00
Chris Allegretta
75155dff51
Ignore key sequence 545, Alt-Gr key on german keyboard
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@349 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-11-28 23:04:24 +00:00
Chris Allegretta
7cd9f74b51
Added Christian Weisgerber too...
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@323 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-11-25 20:17:28 +00:00
Chris Allegretta
a131c7c029
Oops, forgot Bill Soudan
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@321 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-11-25 19:59:41 +00:00
Chris Allegretta
8b4ca4a30b
Make credits less jumpy
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@320 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-11-25 18:21:37 +00:00
Chris Allegretta
8a0de3bb3f
New arg --enable-extra, checks for ./configure options, oher stuff :-)
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@316 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-11-24 20:45:14 +00:00
Chris Allegretta
be77c6119f
Implemented username tab completion, cleaned up existing tabcomp code, added --disable-tabcomp option
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@313 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-11-24 14:00:16 +00:00
Chris Allegretta
bf9a8cc23d
Changed PICO_MSGS to PICO_MODE and strings
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@288 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-11-17 01:37:39 +00:00
Chris Allegretta
5b1faac336
nanogetstr(): Added check for ASCII 54[124] when using PDCURSES, ignore them if found
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@287 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-11-16 19:55:30 +00:00
Chris Allegretta
5bf51d3872
Updated BUGS, optimized search_init a little, fixed bug #47
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@286 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-11-16 06:01:10 +00:00
Chris Allegretta
2c9752291d
tab completion fixes, removed wefresh() from blank_edit
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@284 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-11-15 01:25:42 +00:00
Chris Allegretta
b5b89aeb93
Aha, works even better now. Made input_tab much more grabby, it touches lastWasTab now also...
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@283 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-11-14 18:25:26 +00:00
Chris Allegretta
022b96f941
Rocco's latest spellcheck fix
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@282 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-11-14 17:47:58 +00:00
Chris Allegretta
442f2c5156
Latest tab completion update, sort of works =)
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@281 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-11-14 17:46:06 +00:00
Chris Allegretta
7da4e9f28b
Add tab completion option to statusq and nanogetstr, beep when multiple/no matches found
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@271 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-11-06 02:57:22 +00:00
Chris Allegretta
04d848e6d9
Added tab completion code
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@267 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-11-05 17:54:41 +00:00
Chris Allegretta
71844ba03a
Use old-style editing with PICO_MSGS enabled
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@265 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-11-03 14:23:00 +00:00
Chris Allegretta
0d1e8d66e4
Make nanoget_repaint be much more eleet. Uses $ for indication of beyond COLS, prompt is always displayed
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@260 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-11-02 15:30:24 +00:00
Chris Allegretta
92d2bab3ef
nanoget_repaint changes, do_writeout fix with var length strings
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@259 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-11-02 14:53:46 +00:00
Chris Allegretta
f5deac3d0f
Oops, fix answer getting borked when using shortcuts at statusbar and nothing's typed
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@258 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-11-02 05:10:26 +00:00
Chris Allegretta
31925e4517
Allow variable length strings on statusbar
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@257 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-11-02 04:40:39 +00:00
Chris Allegretta
105da33276
Made previous s/r values editable text
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@250 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-10-31 05:10:10 +00:00
Chris Allegretta
bd9e7c3c36
Replace with null string option, ran source through indent again
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@243 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-10-26 01:44:42 +00:00
Chris Allegretta
a0e957bc0d
Rocco's findnextstr fixes, lost of other tweaks
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@242 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-10-24 22:25:36 +00:00
Chris Allegretta
f9b6c9b398
Fixed iris-ansi term problem
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@241 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-10-18 19:35:59 +00:00
Chris Allegretta
e7034c6087
onekey() - Off by one error fix fix ;-) (Rocco Corsi)
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@221 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-09-15 03:31:09 +00:00
Chris Allegretta
2a42af1d62
More display updates
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@217 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-09-12 23:02:49 +00:00
Chris Allegretta
44e73dfc96
Show two lines from previous page in help file when paging down
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@211 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-09-07 03:37:38 +00:00
Chris Allegretta
6306a11ad6
update_line(): Added check for binary data >= 1 and <= 26, and use ^+letter ot display it
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@197 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-09-02 07:55:41 +00:00
Chris Allegretta
dabc3cb0df
Off by one error fix (Rocco Corsi)
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@187 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-08-25 01:44:12 +00:00
Chris Allegretta
f1d33d30ce
Get rid of lack of update when searching andmark is set
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@185 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-08-19 03:53:39 +00:00
Chris Allegretta
11b0011b1f
Testing RCS headers
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@169 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-08-06 21:13:45 +00:00
Chris Allegretta
6d690a39dc
New tabsize code, Im very excited
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@157 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-08-03 22:51:21 +00:00
Chris Allegretta
ed02216378
Added recursive loop check
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@156 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-08-03 16:54:11 +00:00
Chris Allegretta
da721be17a
Bug fixes for do_enter and do_backspace
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@151 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-07-31 01:26:42 +00:00
Chris Allegretta
234a34d273
Chris goes berzerk on no sleep
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@150 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-07-29 04:33:38 +00:00
Chris Allegretta
f5d7a8b4fd
Back out edit_refresh->edit_update until page up/down problems are fixed
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@147 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-07-28 15:33:03 +00:00
Chris Allegretta
95b0b5249a
edit_refresh()->edit_update() redundancy
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@142 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-07-28 02:58:06 +00:00
Chris Allegretta
a4d2162091
Added '(to replace)' to prompt in search_init when we are replacing
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@94 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-07-08 23:57:03 +00:00
Chris Allegretta
b275aacc3f
Trivial fix for 'winio.c:564: warning: `/*' within comment'
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@88 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-07-08 01:22:33 +00:00
Robert Siemborski
9d58455825
lots of commenting for display functions, so hopefully future people
...
will have an easier time understanding it than I first did ;)
Also, a removal of a redundant call to mvwaddnstr.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@86 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-07-08 00:41:29 +00:00
Chris Allegretta
dba37aef66
Added stdlib.h to winio.c includes, found by OpenBSD gcc.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@83 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-07-07 05:13:09 +00:00
Robert Siemborski
29e9a76f36
additional fix_editbot call
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@71 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2000-07-05 03:16:04 +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
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
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
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
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
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
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
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
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
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
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
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
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