Mercurial > pidgin.yaz
comparison src/gtksourceiter.h @ 12465:ae4ae98bca20
[gaim-migrate @ 14775]
A patch from Bleeter, with some copyright stuff updated by me. This syncs gtksourceiter.c and gtksourceiter.h with upstream. It doesn't seem to break anything and supposedly has bug fixes. Let's see what happens....
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Mon, 12 Dec 2005 08:08:07 +0000 |
parents | 62fc579810f4 |
children |
comparison
equal
deleted
inserted
replaced
12464:2b08a27c2342 | 12465:ae4ae98bca20 |
---|---|
2 * gtksourceiter.h | 2 * gtksourceiter.h |
3 * | 3 * |
4 * Gaim is the legal property of its developers, whose names are too numerous | 4 * Gaim is the legal property of its developers, whose names are too numerous |
5 * to list here. Please refer to the COPYRIGHT file distributed with this | 5 * to list here. Please refer to the COPYRIGHT file distributed with this |
6 * source distribution. | 6 * source distribution. |
7 * | |
8 * The following copyright notice applies to this file: | |
9 * | |
10 * Copyright (C) 2000 - 2005 Paolo Maggi | |
11 * Copyright (C) 2002, 2003 Jeroen Zwartepoorte | |
7 * | 12 * |
8 * This program is free software; you can redistribute it and/or modify | 13 * This program is free software; you can redistribute it and/or modify |
9 * it under the terms of the GNU Library General Public License as published by | 14 * it under the terms of the GNU Library General Public License as published by |
10 * the Free Software Foundation; either version 2 of the License, or | 15 * the Free Software Foundation; either version 2 of the License, or |
11 * (at your option) any later version. | 16 * (at your option) any later version. |
17 * | 22 * |
18 * You should have received a copy of the GNU Library General Public License | 23 * You should have received a copy of the GNU Library General Public License |
19 * along with this program; if not, write to the Free Software | 24 * along with this program; if not, write to the Free Software |
20 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | 25 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
21 */ | 26 */ |
27 | |
22 #ifndef _GAIM_GTKSOURCEITER_H_ | 28 #ifndef _GAIM_GTKSOURCEITER_H_ |
23 #define _GAIM_GTKSOURCEITER_H_ | 29 #define _GAIM_GTKSOURCEITER_H_ |
24 | 30 |
25 #include <gtk/gtktextiter.h> | 31 #include <gtk/gtktextiter.h> |
26 | 32 |
27 G_BEGIN_DECLS | 33 G_BEGIN_DECLS |
28 | 34 |
29 typedef enum | 35 typedef enum |
30 { | 36 { |
31 GTK_SOURCE_SEARCH_VISIBLE_ONLY, | 37 GTK_SOURCE_SEARCH_VISIBLE_ONLY = 1 << 0, |
32 GTK_SOURCE_SEARCH_TEXT_ONLY, | 38 GTK_SOURCE_SEARCH_TEXT_ONLY = 1 << 1, |
33 GTK_SOURCE_SEARCH_CASE_INSENSITIVE | 39 GTK_SOURCE_SEARCH_CASE_INSENSITIVE = 1 << 2 |
34 /* Possible future plans: SEARCH_REGEXP */ | 40 /* Possible future plans: SEARCH_REGEXP */ |
35 } GtkSourceSearchFlags; | 41 } GtkSourceSearchFlags; |
36 | 42 |
37 gboolean gtk_source_iter_forward_search (const GtkTextIter *iter, | 43 gboolean gtk_source_iter_forward_search (const GtkTextIter *iter, |
38 const gchar *str, | 44 const gchar *str, |