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