Replaces a search match by another text. If @match_start and @match_end
doesn't correspond to a search match, %FALSE is returned.
Unlike with gtk_source_search_context_replace(), the @match_start and
@match_end iters are revalidated to point to the replacement text boundaries.
For a regular expression replacement, you can check if @replace is valid by
calling g_regex_check_replacement(). The @replace text can contain
backreferences; read the g_regex_replace() documentation for more details.
Replaces a search match by another text. If @match_start and @match_end doesn't correspond to a search match, %FALSE is returned.
Unlike with gtk_source_search_context_replace(), the @match_start and @match_end iters are revalidated to point to the replacement text boundaries.
For a regular expression replacement, you can check if @replace is valid by calling g_regex_check_replacement(). The @replace text can contain backreferences; read the g_regex_replace() documentation for more details.