diff options
author | Vadim Barkov <[email protected]> | 2017-12-06 16:13:21 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2017-12-06 16:13:21 +0300 |
commit | a1545443a5d2abedb97fb75632f96331c2659cb2 (patch) | |
tree | f422e885473a8cf0273cfb6e270d1668e1d5cf62 /pluma/pluma-document.h | |
parent | a778374f183e424f18b337fa32462e1e6f152421 (diff) | |
download | pluma-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-document.h')
-rw-r--r-- | pluma/pluma-document.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/pluma/pluma-document.h b/pluma/pluma-document.h index a8d64895..1b6f187f 100644 --- a/pluma/pluma-document.h +++ b/pluma/pluma-document.h @@ -232,10 +232,17 @@ gboolean pluma_document_goto_line_offset(PlumaDocument *doc, void pluma_document_set_search_text (PlumaDocument *doc, const gchar *text, guint flags); - + gchar *pluma_document_get_search_text (PlumaDocument *doc, guint *flags); +gchar *pluma_document_get_last_replace_text + (PlumaDocument *doc); + +void pluma_document_set_last_replace_text + (PlumaDocument *doc, + const gchar *text); + gboolean pluma_document_get_can_search_again (PlumaDocument *doc); @@ -244,7 +251,7 @@ gboolean pluma_document_search_forward (PlumaDocument *doc, const GtkTextIter *end, GtkTextIter *match_start, GtkTextIter *match_end); - + gboolean pluma_document_search_backward (PlumaDocument *doc, const GtkTextIter *start, const GtkTextIter *end, |