summaryrefslogtreecommitdiff
path: root/pluma/pluma-utils.h
diff options
context:
space:
mode:
authorVadim Barkov <[email protected]>2017-12-06 16:13:21 +0300
committermonsta <[email protected]>2017-12-06 16:13:21 +0300
commita1545443a5d2abedb97fb75632f96331c2659cb2 (patch)
treef422e885473a8cf0273cfb6e270d1668e1d5cf62 /pluma/pluma-utils.h
parenta778374f183e424f18b337fa32462e1e6f152421 (diff)
downloadpluma-a1545443a5d2abedb97fb75632f96331c2659cb2.tar.bz2
pluma-a1545443a5d2abedb97fb75632f96331c2659cb2.tar.xz
Fixes for regexp replacement with backreferences (e.g. "\0") (#259)
fixes https://github.com/mate-desktop/pluma/issues/254
Diffstat (limited to 'pluma/pluma-utils.h')
-rw-r--r--pluma/pluma-utils.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/pluma/pluma-utils.h b/pluma/pluma-utils.h
index e9dd0a5b..e3b1f387 100644
--- a/pluma/pluma-utils.h
+++ b/pluma/pluma-utils.h
@@ -156,7 +156,9 @@ pluma_gtk_text_iter_regex_search (const GtkTextIter *iter,
GtkTextSearchFlags flags,
GtkTextIter *match_start,
GtkTextIter *match_end,
- const GtkTextIter *limit, gboolean forward_search);
+ const GtkTextIter *limit,
+ gboolean forward_search,
+ gchar **replace_text);
G_END_DECLS