]> git.wh0rd.org Git - nano.git/log
nano.git
14 years ago2009-11-27 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Sat, 28 Nov 2009 03:01:30 +0000 (03:01 +0000)]
2009-11-27 Chris Allegretta <chrisa@asty.org>
        * nano.c (do_suspend): Don't clear the screen but do move the cursor down to the last line
          first in an effort to not corrupt the screen, which contradicts Pico but is consistent
          with almost all other text editors.  Fixes Savannah bug 28110/Debian bug 460510
          reported by Tim Connors <reportbug@rather.puzzling.org>.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4446 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

14 years ago * rcfile.c (parse_rcfile), initialize size argument to getline(), fixes crash on...
Chris Allegretta [Fri, 27 Nov 2009 05:09:56 +0000 (05:09 +0000)]
* rcfile.c (parse_rcfile), initialize size argument to getline(), fixes crash on FreeBSD
  reported by Eitan Adler <eitanadlerlist@gmail.com>.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4445 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

14 years ago2009-11-26 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Fri, 27 Nov 2009 03:04:59 +0000 (03:04 +0000)]
2009-11-26 Chris Allegretta <chrisa@asty.org>
        * winio.c (edit_scroll): Adjust for long lines when scrolling.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4444 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

14 years ago2009-11-26 Jordi Mallach <jordi@gnu.org>
Chris Allegretta [Fri, 27 Nov 2009 02:50:12 +0000 (02:50 +0000)]
2009-11-26 Jordi Mallach <jordi@gnu.org>
        * doc/man/*: Update all man pages to escape unescapred hyphens.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4443 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

14 years agoSimplify logic in do_down() since we now have maxrows to rely on.
Chris Allegretta [Thu, 26 Nov 2009 18:23:00 +0000 (18:23 +0000)]
Simplify logic in do_down() since we now have maxrows to rely on.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4442 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

14 years ago2009-11-24 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Tue, 24 Nov 2009 17:15:53 +0000 (17:15 +0000)]
2009-11-24 Chris Allegretta <chrisa@asty.org>
        * move.c (do_page_up, do_page_down): Make these functions work better with soft
          line wrapping.
        * winio.c (compute_maxrows): Make maxrows calculation more accurate when all lines are > COLS.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4441 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

14 years agoPart 2 of David's fixes for David's bug 71 fix
Chris Allegretta [Sun, 22 Nov 2009 23:23:31 +0000 (23:23 +0000)]
Part 2 of David's fixes for David's bug 71 fix

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4440 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

14 years ago2009-11-22 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Sun, 22 Nov 2009 21:35:56 +0000 (21:35 +0000)]
2009-11-22 Chris Allegretta <chrisa@asty.org>
        * nano.c (main): Allow edit_refresh_needed to take effect when using --enable-tiny
          (fixes Savannah bug 28076 reported by David Lawrence Ramsey).

2009-11-22 David Lawrence Ramsey <pooka109@gmail.com>
        * nano.c (move_to_filestruct): Fix bug 71 (cut at top of line recenters)
        * Fix compilation with --enable-tiny

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4439 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

14 years ago2009-11-22 Mike Frysinger <vapier@gentoo.org>
Chris Allegretta [Sun, 22 Nov 2009 16:36:53 +0000 (16:36 +0000)]
2009-11-22 Mike Frysinger <vapier@gentoo.org>
        * doc/syntax/gentoo.nanorc: Tweak comment highlighting.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4438 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

14 years agoBack to SVN!
Chris Allegretta [Sun, 22 Nov 2009 02:52:23 +0000 (02:52 +0000)]
Back to SVN!

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4437 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

14 years agoGNU nano 2.1.99pre2 release v2.1.99pre2
Chris Allegretta [Sun, 22 Nov 2009 02:49:39 +0000 (02:49 +0000)]
GNU nano 2.1.99pre2 release

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4435 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

14 years ago * prompt.c (update_statusbar_line): Set statusbar_pww when updating the line.
Chris Allegretta [Sat, 21 Nov 2009 17:12:28 +0000 (17:12 +0000)]
    * prompt.c (update_statusbar_line): Set statusbar_pww when updating the line.
          Fixes Savannah bug 24957 by Mike Frysinger.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4434 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

14 years ago2009-11-21 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Sat, 21 Nov 2009 16:26:59 +0000 (16:26 +0000)]
2009-11-21 Chris Allegretta <chrisa@asty.org>
        * rcfile.c: Add unbinding keyword, fixes Savannah bug 22852 reported by frankd.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4433 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

14 years ago2009-11-19 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Fri, 20 Nov 2009 05:09:12 +0000 (05:09 +0000)]
2009-11-19 Chris Allegretta <chrisa@asty.org>
        * nano.c (die_save_file) Try nd match the permissions of the file we were
          editing but only make a minimal effort to do so. Fixes Savannah bug 27273
          reported by Mike Frysinger.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4432 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

14 years agoTypo fix part 2, noticed by j.mader@gmail.com.
Chris Allegretta [Wed, 18 Nov 2009 22:10:13 +0000 (22:10 +0000)]
Typo fix part 2, noticed by j.mader@gmail.com.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4431 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

14 years agoBack to svn, oops.
Chris Allegretta [Wed, 18 Nov 2009 21:34:09 +0000 (21:34 +0000)]
Back to svn, oops.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4430 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

14 years ago2009-11-18 Adrian Bunk <bunk via Savannah>
Chris Allegretta [Wed, 18 Nov 2009 12:39:47 +0000 (12:39 +0000)]
2009-11-18 Adrian Bunk <bunk via Savannah>
* nano.c (main) - Allow --fill and --nowrap to override nanorc entries and each other
          on the command line.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4429 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

14 years agoFurther fixes, also fix some page/up down issues where we go way off course.
Chris Allegretta [Mon, 16 Nov 2009 04:28:40 +0000 (04:28 +0000)]
Further fixes, also fix some page/up down issues where we go way off course.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4428 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

14 years ago2009-11-15 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Mon, 16 Nov 2009 00:15:45 +0000 (00:15 +0000)]
2009-11-15 Chris Allegretta <chrisa@asty.org>
        * winio.c (edit_refresh): Always computer maxsize regardless of whether smooth scrolling
          is enabled.  Fixes Savannah bug 28024 by Mike Frysinger.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4427 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

14 years agoGNU nano 2.1.99pre1 release v2.1.99pre1
Chris Allegretta [Sun, 15 Nov 2009 06:20:21 +0000 (06:20 +0000)]
GNU nano 2.1.99pre1 release

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4425 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

14 years ago * files.c (do_writeout) - Only mention file modification if we're writing...
Chris Allegretta [Sat, 14 Nov 2009 20:06:24 +0000 (20:06 +0000)]
    * files.c (do_writeout) - Only mention file modification if we're writing the same
          file we originally opened.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4424 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

14 years ago2009-11-14 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Sat, 14 Nov 2009 19:57:38 +0000 (19:57 +0000)]
2009-11-14 Chris Allegretta <chrisa@asty.org>
        * move.c (do_first_line, do_last_line): Just set edit_refresh_needed rather than
          get messy.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4423 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

14 years ago * nano.c (do_mouse): Fix mouse support not working with soft wrapping. Fixes
Chris Allegretta [Fri, 13 Nov 2009 20:38:32 +0000 (20:38 +0000)]
    * nano.c (do_mouse): Fix mouse support not working with soft wrapping.  Fixes
          Savannah bug 27549 reported by Hannes Schueller.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4422 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

14 years ago2009-11-13 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Fri, 13 Nov 2009 13:48:56 +0000 (13:48 +0000)]
2009-11-13 Chris Allegretta <chrisa@asty.org>
        * winio.c: Add new static maxsize to be able to easier calculation with
          softwrap.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4421 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years ago2009-11-11 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Wed, 11 Nov 2009 06:00:33 +0000 (06:00 +0000)]
2009-11-11 Chris Allegretta <chrisa@asty.org>
        * winio.c: Large tweaking of cursor and text display based on COLS not COLS - 1,
          due to finally understanding that display_string wasn't being called properly
          when softwrap was enabled.  Fixes Savnnah bug 27603, Return key doesn't scroll
          viewport reported by Hannes Schueller.
        * - Fix size_t formatting issues with -pedantic by converting vals to long unsigned
          for printing.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4420 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years agoBetter fix, remove unneeded closecode variable and update bug credit.
Chris Allegretta [Tue, 10 Nov 2009 03:44:12 +0000 (03:44 +0000)]
Better fix, remove unneeded closecode variable and update bug credit.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4419 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years ago2009-11-09 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Tue, 10 Nov 2009 02:46:17 +0000 (02:46 +0000)]
2009-11-09 Chris Allegretta <chrisa@asty.org>
        * files.c (read_file): - Remove debugging messages from file load

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4418 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years ago2009-11-07 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Sat, 7 Nov 2009 16:56:17 +0000 (16:56 +0000)]
2009-11-07 Chris Allegretta <chrisa@asty.org>
        * nano.h - Add bogus value at begin of flags enumeration because it
          causes casesens rcfile option to misbehave, reported by Helmut
          Jarausch <jarausch@igpm.rwth-aachen.de>

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4417 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years ago * rcfile.c - Add in specific check for UNDOABLE and fix declaration as
Chris Allegretta [Tue, 3 Nov 2009 19:31:17 +0000 (19:31 +0000)]
    * rcfile.c - Add in specific check for UNDOABLE and fix declaration as
          to what flag it toggles.  Fixes undo mode being able to be called from
          the rc file, reported by Helmut Jarausch <jarausch@igpm.rwth-aachen.de>

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4416 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years ago2009-11-03 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Tue, 3 Nov 2009 18:47:39 +0000 (18:47 +0000)]
2009-11-03 Chris Allegretta <chrisa@asty.org>
        * nano.h - Fix comma at end of enumerator list which angers -pedantic.

2009-11-03 Mike Frysinger <vapier@gentoo.org>
        * files.c - Move up is_file_writable() to stop implicit definition complaints.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4415 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years ago2009-10-27 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Tue, 27 Oct 2009 04:09:27 +0000 (04:09 +0000)]
2009-10-27 Chris Allegretta <chrisa@asty.org>
        * browser.c (browser_init): Set column width to something sane when
          initializing in a directory with no file entries.  Fixes Savannah
          bug 24163 found (and initial patch) by Paul Wise.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4414 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years agoback to svn, and:
Chris Allegretta [Tue, 15 Sep 2009 04:51:09 +0000 (04:51 +0000)]
back to svn, and:
* winio.c: Clean up some unused variables from the soft wrapping code.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4413 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years agoGNU nano 2.1.11 release v2.1.11
Chris Allegretta [Tue, 15 Sep 2009 03:50:17 +0000 (03:50 +0000)]
GNU nano 2.1.11 release

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4411 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years agoAdd softwrap and undo into the sample .nanorc.
Chris Allegretta [Mon, 14 Sep 2009 21:38:53 +0000 (21:38 +0000)]
Add softwrap and undo into the sample .nanorc.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4410 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years ago2009-09-12 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Sun, 13 Sep 2009 04:50:44 +0000 (04:50 +0000)]
2009-09-12 Chris Allegretta <chrisa@asty.org>
        * winio.c (edit_update) - properly update edittop when using soft wrapping.
          Fixes lack of centering for searching for off-screen answers, found by
          Hannes <mr_creosote@mutantwatch.de>.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4409 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years ago2009-09-03 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Thu, 3 Sep 2009 23:29:14 +0000 (23:29 +0000)]
2009-09-03 Chris Allegretta <chrisa@asty.org>
        * global.c (shortcut_init): Fix up/down keys not responding in the file browser,
          discovered by Hannes <mr_creosote@mutantwatch.de>.
        * move.c (do_up) - Fix another scrolling issue with softwrap when the
          cursor is beyond COLS, discovered by Hannes <mr_creosote@mutantwatch.de>.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4408 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years ago2009-09-02 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Thu, 3 Sep 2009 05:45:13 +0000 (05:45 +0000)]
2009-09-02 Chris Allegretta <chrisa@asty.org>
        * Attempt to check file writability and emit a warning on the status bar
          if nano doesn't think the file can be written to.  Feature originally
          requested by Damien Jolders <madamien@skullsquad.com> et al.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4407 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years agoFix regular scrolling with softwrap enabled too. Stop trying to be clever and just
Chris Allegretta [Thu, 3 Sep 2009 02:48:35 +0000 (02:48 +0000)]
Fix regular scrolling with softwrap enabled too.  Stop trying to be clever and just
figure out if we need to bail and call edit_refresh().

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4406 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years ago2009-08-29 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Sun, 30 Aug 2009 03:50:16 +0000 (03:50 +0000)]
2009-08-29 Chris Allegretta <chrisa@asty.org>
        * Fix more soft wrapping issues, particularly with soft scrolling,
          discovered by Hannes <mr_creosote@mutantwatch.de>.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4405 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years ago2009-08-19 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Wed, 19 Aug 2009 05:38:07 +0000 (05:38 +0000)]
2009-08-19 Chris Allegretta <chrisa@asty.org>
* Fix issue with soft wrapping not displaying the last character of each line,
  fixed bug discovered by Hannes <mr_creosote@mutantwatch.de>.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4404 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years ago2009-08-17 Mike Frysinger <vapier@gentoo.org>
Chris Allegretta [Tue, 18 Aug 2009 02:55:22 +0000 (02:55 +0000)]
2009-08-17 Mike Frysinger <vapier@gentoo.org>
* doc/syntax/(gentoo|sh|tcl).nanorc: Fix problems with empty regexes on POSIX.
  Fixes Savannah bug 27175.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4403 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years ago2009-08-17 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Mon, 17 Aug 2009 07:52:10 +0000 (07:52 +0000)]
2009-08-17 Chris Allegretta <chrisa@asty.org>
        * Initial soft line wrapping implementation.  Command line flags
          -$ or --softwrap.
        * nano.c, text.c: Clean up some fprintf warnings in debug mode due to printing
          a size_t without using the zd specifier.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4402 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years agoBack to SVN version
Chris Allegretta [Sat, 15 Aug 2009 02:54:35 +0000 (02:54 +0000)]
Back to SVN version

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4401 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years ago2009-08-13 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Fri, 14 Aug 2009 03:18:29 +0000 (03:18 +0000)]
2009-08-13 Chris Allegretta <chrisa@asty.org>
* New global flag implementation courtesy of Adam Wysocki <gophi@arcabit.pl>, allows
    previous undo flag to be implemented consistent with other flags.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4400 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years agoGNU nano 2.1.10 release v2.1.10
Chris Allegretta [Tue, 28 Jul 2009 05:08:35 +0000 (05:08 +0000)]
GNU nano 2.1.10 release

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4398 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years ago2009-07-27 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Mon, 27 Jul 2009 04:16:44 +0000 (04:16 +0000)]
2009-07-27 Chris Allegretta <chrisa@asty.org>
* text.c (undo_cut, redo_cut): Don't actually try and undo/redo an empty cut, i.e. the magicline.
  Fixes crash on cutting last line discovered by Eitan Adler <eitanadlerlist@gmail.com>.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4397 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years agoAdd in rcfile support for undo since it would be bad to overly punish the masochists...
Chris Allegretta [Sun, 12 Jul 2009 06:13:36 +0000 (06:13 +0000)]
Add in rcfile support for undo since it would be bad to overly punish the masochists who want to try it out and hopefully submit bug reports.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4396 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years ago2009-07-11 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Sun, 12 Jul 2009 03:36:58 +0000 (03:36 +0000)]
2009-07-11 Chris Allegretta <chrisa@asty.org>
* nano-regress: Small tweaks
* Change undo code to off unless unabled via a command line option (-u/--undo).  Until this code
  stabilizes this is the only responsible way to treat it.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4395 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years agoMore wrapping redo fixes. Just make do-wrap() undo aware.
Chris Allegretta [Wed, 29 Apr 2009 22:34:27 +0000 (22:34 +0000)]
More wrapping redo fixes.  Just make do-wrap() undo aware.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4394 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years agoComimt point for roll-back of latest undo/redo of split changes.
Chris Allegretta [Wed, 29 Apr 2009 04:43:58 +0000 (04:43 +0000)]
Comimt point for roll-back of latest undo/redo of split changes.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4393 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years agoAdd undoing check for do_enter so redo doesn't blow up.
Chris Allegretta [Sat, 25 Apr 2009 03:31:30 +0000 (03:31 +0000)]
Add undoing check for do_enter so redo doesn't blow up.
Hate to piecemeal these fixed but system unstability is teh suck.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4392 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years agoAdd undo for line break via enter, separate from line wrap
Chris Allegretta [Tue, 21 Apr 2009 05:34:08 +0000 (05:34 +0000)]
Add undo for line break via enter, separate from line wrap
Change message for line split to line wrap, since split ~= break

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4391 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years ago- Remove a debug line I left in
Chris Allegretta [Sun, 12 Apr 2009 06:13:16 +0000 (06:13 +0000)]
- Remove a debug line I left in
- Fix undo line split uglyness.  Still not perfect but switching work envs.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4390 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years agoFirst pass at fixing the line splitting undo since it's currently broken beyond belief.
Chris Allegretta [Thu, 26 Mar 2009 01:01:48 +0000 (01:01 +0000)]
First pass at fixing the line splitting undo since it's currently broken beyond belief.
I believe more is broken but committing will motivate me to get closer to a real fix :)

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4389 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years ago2009-03-08 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Mon, 9 Mar 2009 02:04:40 +0000 (02:04 +0000)]
2009-03-08 Chris Allegretta <chrisa@asty.org>
        * TODO - Break out some targets for various features into 2.2
          and 2.4 series for things which are feasible.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4388 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years ago2009-02-28 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Sun, 1 Mar 2009 00:50:19 +0000 (00:50 +0000)]
2009-02-28 Chris Allegretta <chrisa@asty.org>
        * configure.ac: Add check for whether _XOPEN_SOURCE_EXTENDED is needed for
          curses to work w/color.  Fixes compilation on HP-UX with older GCC,
          reported by jay.krell@cornell.edu.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4387 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years ago2009-02-23 Eitan Adler <eitanadlerlist@gmail.com>
Chris Allegretta [Wed, 25 Feb 2009 05:06:05 +0000 (05:06 +0000)]
2009-02-23 Eitan Adler <eitanadlerlist@gmail.com>
* doc/man/Makefile.am: Fix make variable substitution to be more portable

2009-02-23 Chris Allegretta <chrisa@asty.org>
* doc/man/fr/Makefile.am: Add groff check fix to fr files.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4386 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years ago2009-02-23 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Wed, 25 Feb 2009 04:32:15 +0000 (04:32 +0000)]
2009-02-23 Chris Allegretta <chrisa@asty.org>
* rcfile.c (parse_keybinding) - Define a var before tryung to use it.  Whoops!
* fix some redefinitions causing compiler warnings, from Eitan Adler.  Other
  (hopefully) fixes for uncasted malloc()s, reported by the same.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4385 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years agoback to SVN, and add header on ChangeLog since I forgot (and its not worth fixing...
Chris Allegretta [Tue, 17 Feb 2009 04:31:04 +0000 (04:31 +0000)]
back to SVN, and add header on ChangeLog since I forgot (and its not worth fixing for the release)

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4384 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years agoGNU nano 2.1.9 release v2.1.9
Chris Allegretta [Tue, 17 Feb 2009 04:10:37 +0000 (04:10 +0000)]
GNU nano 2.1.9 release

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4382 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years agoFixes for nano-regress and regress fix on nano.c for compilation with slang
Chris Allegretta [Tue, 17 Feb 2009 03:05:17 +0000 (03:05 +0000)]
Fixes for nano-regress and regress fix on nano.c for compilation with slang

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4381 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years agoOh, reset multi data in search.c;do_replace_loop() too.
Chris Allegretta [Tue, 17 Feb 2009 02:01:03 +0000 (02:01 +0000)]
Oh, reset multi data in search.c;do_replace_loop() too.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4380 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years agoOkay that will not work. Revert forcing reset_multis on !viewok as it's too expensive
Chris Allegretta [Mon, 16 Feb 2009 23:06:09 +0000 (23:06 +0000)]
Okay that will not work.  Revert forcing reset_multis on !viewok as it's too expensive
for things like deleting text.  Will have to go back and force inside functions.
Add check in reset_multis for CNONE type since that's slowing us down and is dumb
to leave out.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4379 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years ago2009-02-16 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Mon, 16 Feb 2009 21:04:00 +0000 (21:04 +0000)]
2009-02-16 Chris Allegretta <chrisa@asty.org>
        * Add new argument to reset_multis for force redraws without attempting to
          guess whether we need to, force updates when running a non-viewok function.
          New utility function color.c:reset_multis_for_id().  Fixes e.g. incorrect
          highlighting when cutting text.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4378 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years ago2009-02-15 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Sun, 15 Feb 2009 19:16:18 +0000 (19:16 +0000)]
2009-02-15 Chris Allegretta <chrisa@asty.org>
        * configure.ac, doc/man/Makefile.am - Add check for HTML output support in GNU
          groff.  Fixes Savannah bug #24461: build traps on groff.  Also, add installation
          of html-ized man pages to $datadir/nano/man-html, since we should probably
          install files we went to all the trouble of generating.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4377 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years ago2009-02-14 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Sun, 15 Feb 2009 02:40:16 +0000 (02:40 +0000)]
2009-02-14 Chris Allegretta <chrisa@asty.org>
        * nano.c (precalc_multicolorinfo) - Add debugging so we have a better clue if further
          issues arise.   Also start at the beginning of later lines when trying to match the
          end of a multi-line regex.  Fixes more overly aggressive highlighting found by
          Mike Frysinger.  Finally, advance to the match end for performance.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4376 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years ago2009-02-11 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Wed, 11 Feb 2009 05:45:57 +0000 (05:45 +0000)]
2009-02-11 Chris Allegretta <chrisa@asty.org>
        * nanorc.c (parse_include): Do call real_dir_from_tilde() on included
          files in .nanorc, but still avoiding bug #25297.  Fixes ~ and ~user
          specifications for nanorc include files, as reported by Eitan Adler.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4375 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years ago2009-02-09 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Mon, 9 Feb 2009 04:03:20 +0000 (04:03 +0000)]
2009-02-09 Chris Allegretta <chrisa@asty.org>
        * New option -q, --quiet, rcfile option "quiet" implemented.  Skips printing
          errors about the rcfile and asking user to press enter.  Also, nano should
          now only ask for one enter press when there is an error when not using -q.
          Based on discussion between Eitan Adler and Mike Frysinger.
        * rcfile.c (parse_keybinding) -  Significant cleanups and fixes for
          detecting and reporting errors in key bindings code.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4374 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years ago * Make reset_multidata reset more lines, since contrary to previous problems the
Chris Allegretta [Sun, 8 Feb 2009 18:00:44 +0000 (18:00 +0000)]
    * Make reset_multidata reset more lines, since contrary to previous problems the
          syntax highlting is now too *un*ambitious, causing display glitches when
          deleting a regex boundary.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4373 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years ago2009-02-08 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Sun, 8 Feb 2009 17:45:21 +0000 (17:45 +0000)]
2009-02-08 Chris Allegretta <chrisa@asty.org>
        * Add more multidata initliazers for new buffers and 'magic lines'.  Fixes segfaults
          with syntax highlighting in new buffers, initially reported by Mike Frysinger.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4372 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years agoback to SVN
Chris Allegretta [Sun, 8 Feb 2009 05:12:26 +0000 (05:12 +0000)]
back to SVN

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4371 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years agoGNU nano 2.1.8 release v2.1.8
Chris Allegretta [Sun, 8 Feb 2009 04:12:07 +0000 (04:12 +0000)]
GNU nano 2.1.8 release

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4369 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years agoMark bug 80 as fixed
Chris Allegretta [Sat, 7 Feb 2009 15:24:45 +0000 (15:24 +0000)]
Mark bug 80 as fixed

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4368 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years agoRenumber multidataflags to not start at 0 in case it confuses alloc_multidata_if_need...
Chris Allegretta [Sat, 7 Feb 2009 14:48:30 +0000 (14:48 +0000)]
Renumber multidataflags to not start at 0 in case it confuses alloc_multidata_if_needed().
Add alloc_multidata_if_needed() call in edit_draw as the last defense against a crash.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4367 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years agoAdd shortcut for CBEGINBEFORE case to edit_draw()
Chris Allegretta [Sat, 7 Feb 2009 07:09:31 +0000 (07:09 +0000)]
Add shortcut for CBEGINBEFORE case to edit_draw()
Added bug 80 to document segfault when editing near COLS

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4366 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years ago2009-02-06 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Sat, 7 Feb 2009 00:01:40 +0000 (00:01 +0000)]
2009-02-06 Chris Allegretta <chrisa@asty.org>
        * rcfile.c (parse_include): Abort on being unable to open an included rcfile.  Fixes
          Savannah bug 25490, nanorc: "include"ing a file which doesn't exist causes nano to segfault.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4365 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years ago2009-02-05 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Fri, 6 Feb 2009 03:41:02 +0000 (03:41 +0000)]
2009-02-05 Chris Allegretta <chrisa@asty.org>
        * More color syntax speedups:  Determine in reset_multis() whether we really need to call
          edit_refresh().  Additional global var edit_refresh_needed() to hopefully reduce
          repeated calls to the function.  New helper funcs reset_multis_before() and
          reset_multis_after().

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4364 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years agoFix for precalc_multicolorinfo: make sure we malloc for all the lines we're precalcul...
Chris Allegretta [Wed, 4 Feb 2009 19:50:23 +0000 (19:50 +0000)]
Fix for precalc_multicolorinfo: make sure we malloc for all the lines we're precalculating, duh.
New utility func alloc_multidata_if_needed().

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4363 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years ago2009-02-02 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Tue, 3 Feb 2009 05:05:58 +0000 (05:05 +0000)]
2009-02-02 Chris Allegretta <chrisa@asty.org>
        * New color precalculation code for mult-line regexes.  New function precalc_multicolorinfo(),
          new structure multidata for keeping track of where regexes start/stop.  More
          performance improvements forthcoming.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4362 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years agoFix comiplation issues with --enable-tiny --enable-nanorc (?!)
Chris Allegretta [Sun, 1 Feb 2009 00:04:42 +0000 (00:04 +0000)]
Fix comiplation issues with --enable-tiny --enable-nanorc (?!)

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4361 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years ago2009-01-29 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Sat, 31 Jan 2009 23:36:00 +0000 (23:36 +0000)]
2009-01-29 Chris Allegretta <chrisa@asty.org>
* nano.c (move_to_filestruct) - properky initialize new fileage for multiswatching, sigh.
  Fix cut sefaults discovered by Mike Frysinger.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4360 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years ago- Fix compliation breakage with --disable-justify, reported by Mike Frysinger
Chris Allegretta [Sat, 31 Jan 2009 16:13:03 +0000 (16:13 +0000)]
- Fix compliation breakage with --disable-justify, reported by Mike Frysinger
- Add --disable-justify to nano-regress so I stop missing that

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4359 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years agoMake changelog message less harsh as terminal state shoudl now be fine on exit.
Chris Allegretta [Fri, 30 Jan 2009 17:38:23 +0000 (17:38 +0000)]
Make changelog message less harsh as terminal state shoudl now be fine on exit.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4358 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years agoPull stdin reading out into a function, add ^c interrupt message on stderr.
Chris Allegretta [Fri, 30 Jan 2009 17:37:44 +0000 (17:37 +0000)]
Pull stdin reading out into a function, add ^c interrupt message on stderr.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4357 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years ago2009-01-29 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Fri, 30 Jan 2009 08:34:27 +0000 (08:34 +0000)]
2009-01-29 Chris Allegretta <chrisa@asty.org>
        * nano.c (main): Add support for nano acting like a pager when invoked with - as first
          file argument.  Not yet perfect (garbles screen state on exit) but it's something.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4356 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years ago2009-01-28 Davide Pesavento <davidepesa@gmail.com>
Chris Allegretta [Wed, 28 Jan 2009 18:32:33 +0000 (18:32 +0000)]
2009-01-28 Davide Pesavento <davidepesa@gmail.com>
        * doc/syntax/gentoo.nanorc: Updates from David and Mike Frysinger.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4355 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years agoFix regression bugs introduced with other recent bugs disguised as features.
Chris Allegretta [Wed, 28 Jan 2009 05:11:57 +0000 (05:11 +0000)]
Fix regression bugs introduced with other recent bugs disguised as features.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4354 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years ago2009-01-25 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Mon, 26 Jan 2009 08:48:22 +0000 (08:48 +0000)]
2009-01-25 Chris Allegretta <chrisa@asty.org>
        * files.c (open_file), nanorc.c (parse_include): Don't get_full_path on
          included rc files, due to it potentially impacting the ability
          to read files in nano's cwd().  Fixes Savnanah bug #25297 reported by Mike
          Frysinger)

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4353 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years agoFix reset_multis undefined call when not using color.
Chris Allegretta [Mon, 26 Jan 2009 07:55:01 +0000 (07:55 +0000)]
Fix reset_multis undefined call when not using color.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4352 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years ago * First pass at some caching of caching color info. Right now it's only for
Chris Allegretta [Sun, 25 Jan 2009 07:25:17 +0000 (07:25 +0000)]
    * First pass at some caching of caching color info.  Right now it's only for
          multi-line regexes but this may not be enough to increase performance.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4351 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years ago2009-01-24 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Sat, 24 Jan 2009 22:40:41 +0000 (22:40 +0000)]
2009-01-24 Chris Allegretta <chrisa@asty.org>
        * Add interruptability to search functions.  New functions enable_nodelay and
          disable_nodelay and changes to the routines to handle checking for pending
          searches.  Fixes Savnnah bug 24946: Need interrrupt for search.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4350 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years ago2009-01-19 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Mon, 19 Jan 2009 19:10:39 +0000 (19:10 +0000)]
2009-01-19 Chris Allegretta <chrisa@asty.org>
        * Change funcion definitions to shorts instead of (void *)s.  New mapping function
          iso_me_harder_funcmap().  Fixes compilation complaints with -pedantic,
          reported by Eitan Adler <eitanadlerlist@gmail.com>.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4349 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

15 years agoChange vesion back to SVN. How did I forget to do that during release. Tisk.
Chris Allegretta [Mon, 29 Dec 2008 19:42:57 +0000 (19:42 +0000)]
Change vesion back to SVN.  How did I forget to do that during release.  Tisk.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4348 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

16 years agoGNU nano 2.1.7 release. v2.1.7
Chris Allegretta [Mon, 10 Nov 2008 06:33:12 +0000 (06:33 +0000)]
GNU nano 2.1.7 release.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4346 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

16 years agoAdd tiny check around new mtime check code. Fixes certain compile time options.
Chris Allegretta [Wed, 22 Oct 2008 22:11:46 +0000 (22:11 +0000)]
Add tiny check around new mtime check code. Fixes certain compile time options.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4345 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

16 years ago2008-10-20 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Tue, 21 Oct 2008 10:20:07 +0000 (10:20 +0000)]
2008-10-20 Chris Allegretta <chrisa@asty.org>
        * files.c (do_writeout): Add check for file modification when saving
          the file so the user can at least know they may be blowing away changes.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4344 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

16 years ago * global.c (shortcut_init), search.c (search_init): Fix add_to_sclist for...
Chris Allegretta [Wed, 15 Oct 2008 01:25:25 +0000 (01:25 +0000)]
    * global.c (shortcut_init), search.c (search_init): Fix add_to_sclist for ^W^T so
          invalid messages will display properly.  Fixes Savannah bug 24507.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4343 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

16 years agoGet rid of some unused variables with -Wall
Chris Allegretta [Tue, 14 Oct 2008 19:55:34 +0000 (19:55 +0000)]
Get rid of some unused variables with -Wall

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4342 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

16 years ago2008-10-14 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Tue, 14 Oct 2008 16:46:58 +0000 (16:46 +0000)]
2008-10-14 Chris Allegretta <chrisa@asty.org>
        * nanorc.5: Fix redo man page entry and update explanation, reported by
          Eitan Adler <eitanadlerlist@gmail.com>

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4341 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

16 years agoEliminate linescut variable from undo structure as its an unneeded pain in the ass.
Chris Allegretta [Tue, 14 Oct 2008 04:34:56 +0000 (04:34 +0000)]
Eliminate linescut variable from undo structure as its an unneeded pain in the ass.
Also initialize to_end, because for some reason it seems to be not getting set even when
type == CUT in add_undo (?!)

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4340 35c25a1d-7b9e-4130-9fde-d3aeb78583b8