Commit Graph

43 Commits (90594e268a0753edd5624e21a418aea07631e183)

Author SHA1 Message Date
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