diff src/gtkimhtml.h @ 7295:c7f0a4397d9e

[gaim-migrate @ 7879] I added a search feature to conversations. I actually did most of this a while ago for the log viewer. GtkIMHtml has some functions to handle searching itself. I just added a new item to the conversation menu to handle it. This should be useful for long IRC channel backlogs and the sorts. It's case-sensitive right now. That kinda sucks, but that's all GTK lets me do. GtkSourceView has some nice case-insensitive search functions that I'll likely bring in before the release. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Sat, 18 Oct 2003 01:58:02 +0000
parents 083d1e4a9c78
children 15155dbc768a
line wrap: on
line diff
--- a/src/gtkimhtml.h	Fri Oct 17 21:29:15 2003 +0000
+++ b/src/gtkimhtml.h	Sat Oct 18 01:58:02 2003 +0000
@@ -66,6 +66,8 @@
 
 	GList *scalables;
 	GdkRectangle old_rect;
+
+	gchar *search_string;
 };
 
 struct _GtkIMHtmlClass {
@@ -167,6 +169,9 @@
 void gtk_imhtml_hr_scale(GtkIMHtmlScalable *, int, int);
 void gtk_imhtml_hr_add_to(GtkIMHtmlScalable *, GtkIMHtml *, GtkTextIter *);
 
+/* Search functions */
+gboolean gtk_imhtml_search_find(GtkIMHtml *imhtml, const gchar *text);
+void gtk_imhtml_search_clear(GtkIMHtml *imhtml);
 
 #ifdef __cplusplus
 }