Commit 86988b50 authored by Chris Allegretta's avatar Chris Allegretta
Browse files

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
parent b71cf301
Showing with 7 additions and 0 deletions
+7 -0
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment