Sat, 05 Jun 2004 07:33:58 +0000
[gaim-migrate @ 9970]
W and S are now implemented for /cmds in core.
This means you can do /me with colors again.
This was probably the hardest part of cmds that was left to do. So the rest
should be fairly easy. Hopefully there's no major bugs in this. There's
some inconsist use of g_utf8_isspace vs strchr(s, ' ') I want to clean up
yet that will cause some oddness if you use a tab instead of a space as
your argument separater.
| 7358 | 1 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- |
| 2 | * gtksourceiter.h | |
| 3 | * | |
| 8046 | 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 | |
| 6 | * source distribution. | |
| 7358 | 7 | * |
| 8 | * 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 | |
| 10 | * the Free Software Foundation; either version 2 of the License, or | |
| 11 | * (at your option) any later version. | |
| 12 | * | |
| 13 | * This program is distributed in the hope that it will be useful, | |
| 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 16 | * GNU Library General Public License for more details. | |
| 17 | * | |
| 18 | * 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 | |
| 20 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |
| 21 | */ | |
| 22 | ||
| 23 | #ifndef __GTK_SOURCE_ITER_H__ | |
| 24 | #define __GTK_SOURCE_ITER_H__ | |
| 25 | ||
| 26 | #include <gtk/gtktextiter.h> | |
| 27 | ||
| 28 | G_BEGIN_DECLS | |
| 29 | ||
| 30 | typedef enum | |
| 31 | { | |
| 32 | GTK_SOURCE_SEARCH_VISIBLE_ONLY, | |
| 33 | GTK_SOURCE_SEARCH_TEXT_ONLY, | |
| 34 | GTK_SOURCE_SEARCH_CASE_INSENSITIVE | |
| 35 | /* Possible future plans: SEARCH_REGEXP */ | |
| 36 | } GtkSourceSearchFlags; | |
| 37 | ||
| 38 | gboolean gtk_source_iter_forward_search (const GtkTextIter *iter, | |
| 39 | const gchar *str, | |
| 40 | GtkSourceSearchFlags flags, | |
| 41 | GtkTextIter *match_start, | |
| 42 | GtkTextIter *match_end, | |
| 43 | const GtkTextIter *limit); | |
| 44 | ||
| 45 | gboolean gtk_source_iter_backward_search (const GtkTextIter *iter, | |
| 46 | const gchar *str, | |
| 47 | GtkSourceSearchFlags flags, | |
| 48 | GtkTextIter *match_start, | |
| 49 | GtkTextIter *match_end, | |
| 50 | const GtkTextIter *limit); | |
| 51 | ||
| 52 | gboolean gtk_source_iter_find_matching_bracket (GtkTextIter *iter); | |
| 53 | ||
| 54 | G_END_DECLS | |
| 55 | ||
| 56 | #endif /* __GTK_SOURCE_ITER_H__ */ |