aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-searching-tokenizer.h
diff options
context:
space:
mode:
authorJon Trowbridge <trow@ximian.com>2001-05-14 13:06:16 +0800
committerJon Trowbridge <trow@src.gnome.org>2001-05-14 13:06:16 +0800
commit1f52a5d0fa5edfa1c138971100df9143ef0c0f8b (patch)
tree3c779bee030140266edf46a56c6264159837fd04 /mail/e-searching-tokenizer.h
parent9953071e22306fedaf852d018e0b5416496ababb (diff)
downloadgsoc2013-evolution-1f52a5d0fa5edfa1c138971100df9143ef0c0f8b.tar
gsoc2013-evolution-1f52a5d0fa5edfa1c138971100df9143ef0c0f8b.tar.gz
gsoc2013-evolution-1f52a5d0fa5edfa1c138971100df9143ef0c0f8b.tar.bz2
gsoc2013-evolution-1f52a5d0fa5edfa1c138971100df9143ef0c0f8b.tar.lz
gsoc2013-evolution-1f52a5d0fa5edfa1c138971100df9143ef0c0f8b.tar.xz
gsoc2013-evolution-1f52a5d0fa5edfa1c138971100df9143ef0c0f8b.tar.zst
gsoc2013-evolution-1f52a5d0fa5edfa1c138971100df9143ef0c0f8b.zip
Use secondary searches here, so that we control the interference between
2001-05-14 Jon Trowbridge <trow@ximian.com> * folder-browser.c (folder_browser_config_search): Use secondary searches here, so that we control the interference between the two bits of searching UI. 2001-05-13 Jon Trowbridge <trow@ximian.com> * mail-search.c (mail_search_construct): Destroy the MailSearch dialog if the underlying MailDisplay is destroyed. I don't like the way that label in the dialog with the message subject in it looks, so I've #ifdef-ed it out for now. Center the Matches label --- it makes the dialog look more balanced, I think. (dialog_clicked_cb): Changed to reflect adjusted ESearchingTokenizer API, using primary searches. (toggled_case_cb): Use the primary search API. * e-searching-tokenizer.c: Make searching routines utf8-friendly. Rationalize how the match begin/end markup is handled; allow for begin/end markup that varies by search. Add concept of primary and secondary matching, to disentangle possible interactions between search-bar searches and search-dialog searches. svn path=/trunk/; revision=9789
Diffstat (limited to 'mail/e-searching-tokenizer.h')
-rw-r--r--mail/e-searching-tokenizer.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/mail/e-searching-tokenizer.h b/mail/e-searching-tokenizer.h
index bf7e473ded..7852548c04 100644
--- a/mail/e-searching-tokenizer.h
+++ b/mail/e-searching-tokenizer.h
@@ -59,8 +59,14 @@ GtkType e_searching_tokenizer_get_type (void);
HTMLTokenizer *e_searching_tokenizer_new (void);
/* For now, just a simple API */
-void e_searching_tokenizer_set_search_string (ESearchingTokenizer *, const gchar *);
-void e_searching_tokenizer_set_case_sensitivity (ESearchingTokenizer *, gboolean is_case_sensitive);
+
+void e_searching_tokenizer_set_primary_search_string (ESearchingTokenizer *, const gchar *);
+void e_searching_tokenizer_set_primary_case_sensitivity (ESearchingTokenizer *, gboolean is_case_sensitive);
+
+void e_searching_tokenizer_set_secondary_search_string (ESearchingTokenizer *, const gchar *);
+void e_searching_tokenizer_set_secondary_case_sensitivity (ESearchingTokenizer *, gboolean is_case_sensitive);
+
+
gint e_searching_tokenizer_match_count (ESearchingTokenizer *);