1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>Main Page - Header</title>
<link href="inti.css" rel="stylesheet" type="text/css">
<meta name="description" content="Reference Manual">
<meta name="author" content="The Inti Development Team">
</head>
<body style="color: rgb(0, 0, 0); background-color: rgb(231, 232, 231);"
link="#000099" vlink="#990099" alink="#000099">
<table cellpadding="0" cellspacing="0" border="0" style="width: 100%;">
<tbody>
<tr
style="color: rgb(255, 255, 204); font-family: helvetica,arial,sans-serif; font-weight: bold;">
<td
style="vertical-align: top; background-color: rgb(0, 55, 85); text-align: center;">
<font size="+1">Reference Manual</font> </td>
</tr>
<tr>
<td valign="top" height="116" background="../images/top-fade.png"
align="center"><img src="../images/inti-logo.png" alt="Inti Logo"> <br>
</td>
</tr>
</tbody>
</table>
</body>
</html>
<!-- Generated by Doxygen 1.3.2 -->
<div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div>
<h1>sourceiter.h</h1><a href="sourceiter_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/* Inti-SourceView: Integrated Foundation Classes</span>
00002 <span class="comment"> * Copyright (C) 2003 The Inti Development Team.</span>
00003 <span class="comment"> *</span>
00004 <span class="comment"> * This program is free software; you can redistribute it and/or modify</span>
00005 <span class="comment"> * it under the terms of the GNU General Public License as published by</span>
00006 <span class="comment"> * the Free Software Foundation; either version 2 of the License, or</span>
00007 <span class="comment"> * (at your option) any later version.</span>
00008 <span class="comment"> *</span>
00009 <span class="comment"> * This program is distributed in the hope that it will be useful,</span>
00010 <span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span>
00011 <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span>
00012 <span class="comment"> * GNU Library General Public License for more details.</span>
00013 <span class="comment"> *</span>
00014 <span class="comment"> * You should have received a copy of the GNU Library General Public License</span>
00015 <span class="comment"> * along with this program; if not, write to the Free Software</span>
00016 <span class="comment"> * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.</span>
00017 <span class="comment"> */</span>
00018
00023
00024 <span class="preprocessor">#ifndef INTI_GTK_SOURCE_ITER_H</span>
00025 <span class="preprocessor"></span><span class="preprocessor">#define INTI_GTK_SOURCE_ITER_H</span>
00026 <span class="preprocessor"></span>
00027 <span class="preprocessor">#ifndef INTI_GTK_TEXT_ITER_H</span>
00028 <span class="preprocessor"></span><span class="preprocessor">#include <inti/gtk/textiter.h></span>
00029 <span class="preprocessor">#endif</span>
00030 <span class="preprocessor"></span>
00031 <span class="preprocessor">#ifndef __GTK_SOURCE_ITER_H__</span>
00032 <span class="preprocessor"></span><span class="preprocessor">#include <gtksourceview/gtksourceiter.h></span>
00033 <span class="preprocessor">#endif</span>
00034 <span class="preprocessor"></span>
00035 <span class="keyword">namespace </span>Inti {
00036
00037 <span class="keyword">namespace </span>G {
00038 <span class="keyword">class </span>Object;
00039 }
00040
00041 <span class="keyword">namespace </span>Gtk {
00042
00045
<a name="l00046"></a><a class="code" href="namespaceInti_1_1Gtk.html#a4">00046</a> <span class="keyword">enum</span> <a class="code" href="namespaceInti_1_1Gtk.html#a4">SourceSearchFlags</a>
00047 {
00048 <a class="code" href="namespaceInti_1_1Gtk.html#a4a1">SOURCE_SEARCH_VISIBLE_ONLY</a> = GTK_SOURCE_SEARCH_VISIBLE_ONLY,
00051
00052 <a class="code" href="namespaceInti_1_1Gtk.html#a4a2">SOURCE_SEARCH_TEXT_ONLY</a> = GTK_SOURCE_SEARCH_TEXT_ONLY,
00054
00055 <a class="code" href="namespaceInti_1_1Gtk.html#a4a3">SOURCE_SEARCH_CASE_INSENSITIVE</a> = GTK_SOURCE_SEARCH_CASE_INSENSITIVE
00057 };
00058
00060
<a name="l00061"></a><a class="code" href="namespaceInti_1_1Gtk.html#a0">00061</a> <span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="namespaceInti_1_1Gtk.html#a0">SourceSearchFlagsField</a>;
00062
00067
<a name="l00068"></a><a class="code" href="classInti_1_1Gtk_1_1SourceIter.html">00068</a> <span class="keyword">class </span><a class="code" href="classInti_1_1Gtk_1_1SourceIter.html">SourceIter</a> : <span class="keyword">public</span> TextIter
00069 {
00070 <span class="keyword">public</span>:
00073
00074 <a class="code" href="classInti_1_1Gtk_1_1SourceIter.html#z11_0">SourceIter</a>();
00076
00077 <span class="keyword">explicit</span> <a class="code" href="classInti_1_1Gtk_1_1SourceIter.html#z11_0">SourceIter</a>(GtkTextIter *iter);
00085
00086 <a class="code" href="classInti_1_1Gtk_1_1SourceIter.html#z11_0">SourceIter</a>(GtkTextIter *iter, <span class="keywordtype">bool</span> copy);
00096
00097 <a class="code" href="classInti_1_1Gtk_1_1SourceIter.html#z11_0">SourceIter</a>(<span class="keyword">const</span> <a class="code" href="classInti_1_1Gtk_1_1SourceIter.html">SourceIter</a>& src);
00100
00101 <a class="code" href="classInti_1_1Gtk_1_1SourceIter.html#z11_4">~SourceIter</a>();
00103
00104 <a class="code" href="classInti_1_1Gtk_1_1SourceIter.html">SourceIter</a>& <a class="code" href="classInti_1_1Gtk_1_1SourceIter.html#z11_5">operator=</a>(<span class="keyword">const</span> <a class="code" href="classInti_1_1Gtk_1_1SourceIter.html">SourceIter</a>& src);
00107
00111
00112 <span class="keywordtype">bool</span> <a class="code" href="classInti_1_1Gtk_1_1SourceIter.html#z12_1">forward_search</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *str, <span class="keyword">const</span> <a class="code" href="classInti_1_1Gtk_1_1SourceIter.html">SourceIter</a> *limit = 0);
00113 <span class="keywordtype">bool</span> <a class="code" href="classInti_1_1Gtk_1_1SourceIter.html#z12_1">forward_search</a>(<span class="keyword">const</span> String& str, <span class="keyword">const</span> <a class="code" href="classInti_1_1Gtk_1_1SourceIter.html">SourceIter</a> *limit = 0);
00124
00125
00126 <span class="keywordtype">bool</span> <a class="code" href="classInti_1_1Gtk_1_1SourceIter.html#z12_1">forward_search</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *str, <a class="code" href="classInti_1_1Gtk_1_1SourceIter.html">SourceIter</a> *match_start, <a class="code" href="classInti_1_1Gtk_1_1SourceIter.html">SourceIter</a> *match_end, <span class="keyword">const</span> <a class="code" href="classInti_1_1Gtk_1_1SourceIter.html">SourceIter</a> *limit = 0);
00127 <span class="keywordtype">bool</span> <a class="code" href="classInti_1_1Gtk_1_1SourceIter.html#z12_1">forward_search</a>(<span class="keyword">const</span> String& str, <a class="code" href="classInti_1_1Gtk_1_1SourceIter.html">SourceIter</a> *match_start, <a class="code" href="classInti_1_1Gtk_1_1SourceIter.html">SourceIter</a> *match_end, <span class="keyword">const</span> <a class="code" href="classInti_1_1Gtk_1_1SourceIter.html">SourceIter</a> *limit = 0);
00141
00142 <span class="keywordtype">bool</span> <a class="code" href="classInti_1_1Gtk_1_1SourceIter.html#z12_1">forward_search</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *str, <a class="code" href="namespaceInti_1_1Gtk.html#a0">SourceSearchFlagsField</a> flags, <a class="code" href="classInti_1_1Gtk_1_1SourceIter.html">SourceIter</a> *match_start, <a class="code" href="classInti_1_1Gtk_1_1SourceIter.html">SourceIter</a> *match_end, <span class="keyword">const</span> <a class="code" href="classInti_1_1Gtk_1_1SourceIter.html">SourceIter</a> *limit = 0);
00143 <span class="keywordtype">bool</span> <a class="code" href="classInti_1_1Gtk_1_1SourceIter.html#z12_1">forward_search</a>(<span class="keyword">const</span> String& str, <a class="code" href="namespaceInti_1_1Gtk.html#a0">SourceSearchFlagsField</a> flags, <a class="code" href="classInti_1_1Gtk_1_1SourceIter.html">SourceIter</a> *match_start, <a class="code" href="classInti_1_1Gtk_1_1SourceIter.html">SourceIter</a> *match_end, <span class="keyword">const</span> <a class="code" href="classInti_1_1Gtk_1_1SourceIter.html">SourceIter</a> *limit = 0);
00163
00164 <span class="keywordtype">bool</span> <a class="code" href="classInti_1_1Gtk_1_1SourceIter.html#z12_7">backward_search</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *str, <span class="keyword">const</span> <a class="code" href="classInti_1_1Gtk_1_1SourceIter.html">SourceIter</a> *limit = 0);
00165 <span class="keywordtype">bool</span> <a class="code" href="classInti_1_1Gtk_1_1SourceIter.html#z12_7">backward_search</a>(<span class="keyword">const</span> String& str, <span class="keyword">const</span> <a class="code" href="classInti_1_1Gtk_1_1SourceIter.html">SourceIter</a> *limit = 0);
00174
00175 <span class="keywordtype">bool</span> <a class="code" href="classInti_1_1Gtk_1_1SourceIter.html#z12_7">backward_search</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> * str, <a class="code" href="classInti_1_1Gtk_1_1SourceIter.html">SourceIter</a> *match_start, <a class="code" href="classInti_1_1Gtk_1_1SourceIter.html">SourceIter</a> *match_end, <span class="keyword">const</span> <a class="code" href="classInti_1_1Gtk_1_1SourceIter.html">SourceIter</a> *limit = 0);
00176 <span class="keywordtype">bool</span> <a class="code" href="classInti_1_1Gtk_1_1SourceIter.html#z12_7">backward_search</a>(<span class="keyword">const</span> String& str, <a class="code" href="classInti_1_1Gtk_1_1SourceIter.html">SourceIter</a> *match_start, <a class="code" href="classInti_1_1Gtk_1_1SourceIter.html">SourceIter</a> *match_end, <span class="keyword">const</span> <a class="code" href="classInti_1_1Gtk_1_1SourceIter.html">SourceIter</a> *limit = 0);
00187
00188 <span class="keywordtype">bool</span> <a class="code" href="classInti_1_1Gtk_1_1SourceIter.html#z12_7">backward_search</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *str, <a class="code" href="namespaceInti_1_1Gtk.html#a0">SourceSearchFlagsField</a> flags, <a class="code" href="classInti_1_1Gtk_1_1SourceIter.html">SourceIter</a> *match_start, <a class="code" href="classInti_1_1Gtk_1_1SourceIter.html">SourceIter</a> *match_end, <span class="keyword">const</span> <a class="code" href="classInti_1_1Gtk_1_1SourceIter.html">SourceIter</a> *limit = 0);
00189 <span class="keywordtype">bool</span> <a class="code" href="classInti_1_1Gtk_1_1SourceIter.html#z12_7">backward_search</a>(<span class="keyword">const</span> String& str, <a class="code" href="namespaceInti_1_1Gtk.html#a0">SourceSearchFlagsField</a> flags, <a class="code" href="classInti_1_1Gtk_1_1SourceIter.html">SourceIter</a> *match_start, <a class="code" href="classInti_1_1Gtk_1_1SourceIter.html">SourceIter</a> *match_end, <span class="keyword">const</span> <a class="code" href="classInti_1_1Gtk_1_1SourceIter.html">SourceIter</a> *limit = 0);
00197
00198 <span class="keywordtype">bool</span> <a class="code" href="classInti_1_1Gtk_1_1SourceIter.html#z12_12">find_matching_bracket</a>();
00206
00208 };
00209
00210 } <span class="comment">// namespace Gtk</span>
00211
00212 } <span class="comment">// namespace Inti</span>
00213
00214 <span class="preprocessor">#endif // INTI_GTK_SOURCE_ITER_H</span>
00215 <span class="preprocessor"></span>
</pre></div><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Main Page - Footer</title>
<meta name="description" content="Reference Manual">
<meta name="author" content="The Inti Development Team">
</head>
<body>
<br>
<br>
<table cellpadding="0" cellspacing="0" border="0" style="width: 100%;">
<tbody>
<tr>
<td valign="top">
<hr></td>
</tr>
<tr>
<td valign="top" height="116"
background="../images/bottom-fade.png">
<address><small>Generated on Wed Aug 27 21:17:27 2003 for Inti-SourceView by <a
href="http://www.doxygen.org/index.html"><img src="doxygen.png"
alt="doxygen" align="middle" border="0" width="110" height="53"> </a>
1.3.2 written by <a href="mailto:dimitri@stack.nl">Dimitri
van Heesch</a>, © 1997-2002</small></address>
</td>
</tr>
<tr>
<td style="vertical-align: top; background-color: rgb(0, 55, 85);"><br>
</td>
</tr>
</tbody>
</table>
<br>
</body>
</html>
|