diff --git a/src/search.c b/src/search.c index 7f9751cb..0238cc85 100644 --- a/src/search.c +++ b/src/search.c @@ -668,13 +668,6 @@ ssize_t do_replace_loop(const char *needle, bool whole_word_only, #ifndef NANO_TINY if (ISSET(SOFTWRAP)) openfile->current->extrarows = extra_chunks_in(openfile->current); -#endif -#ifdef ENABLE_COLOR - /* Check whether the replacement requires a change in the coloring. */ - check_the_multis(openfile->current); - - if (refresh_needed && !replaceall) - precalc_multicolorinfo(); #endif set_modified(); as_an_at = TRUE; @@ -685,11 +678,6 @@ ssize_t do_replace_loop(const char *needle, bool whole_word_only, if (numreplaced == -1) not_found_msg(needle); -#ifdef ENABLE_COLOR - if (refresh_needed) - precalc_multicolorinfo(); -#endif - #ifndef NANO_TINY openfile->mark = was_mark; #endif