Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

gtksourceiter.h

00001 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- 
00002  *  gtksourceiter.h
00003  *
00004  *  Gaim is the legal property of its developers, whose names are too numerous
00005  *  to list here.  Please refer to the COPYRIGHT file distributed with this
00006  *  source distribution.
00007  *
00008  *  This program is free software; you can redistribute it and/or modify
00009  *  it under the terms of the GNU Library General Public License as published by
00010  *  the Free Software Foundation; either version 2 of the License, or
00011  *  (at your option) any later version.
00012  *
00013  *  This program is distributed in the hope that it will be useful,
00014  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00015  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00016  *  GNU Library General Public License for more details.
00017  *
00018  *  You should have received a copy of the GNU Library General Public License
00019  *  along with this program; if not, write to the Free Software
00020  *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
00021  */
00022 #ifndef _GAIM_GTKSOURCEITER_H_
00023 #define _GAIM_GTKSOURCEITER_H_
00024 
00025 #include <gtk/gtktextiter.h>
00026 
00027 G_BEGIN_DECLS
00028 
00029 typedef enum
00030 {
00031     GTK_SOURCE_SEARCH_VISIBLE_ONLY,
00032     GTK_SOURCE_SEARCH_TEXT_ONLY,
00033     GTK_SOURCE_SEARCH_CASE_INSENSITIVE
00034     /* Possible future plans: SEARCH_REGEXP */
00035 } GtkSourceSearchFlags;
00036 
00037 gboolean gtk_source_iter_forward_search     (const GtkTextIter   *iter,
00038                          const gchar         *str,
00039                          GtkSourceSearchFlags flags,
00040                          GtkTextIter         *match_start,
00041                          GtkTextIter         *match_end,
00042                          const GtkTextIter   *limit);
00043 
00044 gboolean gtk_source_iter_backward_search    (const GtkTextIter   *iter,
00045                          const gchar         *str,
00046                          GtkSourceSearchFlags flags,
00047                          GtkTextIter         *match_start,
00048                          GtkTextIter         *match_end,
00049                          const GtkTextIter   *limit);
00050 
00051 gboolean gtk_source_iter_find_matching_bracket  (GtkTextIter         *iter);
00052 
00053 G_END_DECLS
00054 
00055 #endif /* _GAIM_GTKSOURCEITER_H_ */

Generated on Fri Apr 22 05:21:09 2005 for gaim by  doxygen 1.3.9.1