nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit 86988b5026b340d652abb79afb9133303ff13640
parent b71cf301da254ed625767a17c195da4ecb417802
Author: Chris Allegretta <chrisa@asty.org>
Date:   Tue, 17 Feb 2009 02:01:03 +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

Diffstat:
Msrc/search.c | 7+++++++
1 file changed, 7 insertions(+), 0 deletions(-)

diff --git a/src/search.c b/src/search.c @@ -719,6 +719,9 @@ ssize_t do_replace_loop( filepart = partition_filestruct(top, top_x, bot, bot_x); openfile->edittop = openfile->fileage; openfile->mark_set = FALSE; +#ifdef ENABLE_COLOR + reset_multis(openfile->current, TRUE); +#endif edit_refresh(); } #endif @@ -863,6 +866,10 @@ ssize_t do_replace_loop( free(openfile->current->data); openfile->current->data = copy; +#ifdef ENABLE_COLOR + reset_multis(openfile->current, TRUE); +#endif + edit_refresh(); if (!replaceall) { #ifdef ENABLE_COLOR /* If color syntaxes are available and turned on, we