gtksourceview3 3.1.6-x86-mingw32 → 3.1.7-x86-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Rakefile +1 -1
- data/vendor/local/bin/libgtksourceview-3.0-1.dll +0 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcetypes.h +0 -2
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceversion.h +1 -1
- data/vendor/local/lib/libgtksourceview-3.0.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/gtksourceview-3.0.pc +1 -1
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceBuffer.html +188 -200
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletion.html +91 -106
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionContext.html +25 -25
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionInfo.html +39 -53
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionItem.html +53 -53
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProposal.html +50 -50
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProvider.html +56 -56
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionWords.html +24 -24
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceEncoding.html +19 -19
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFile.html +44 -44
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFileLoader.html +50 -50
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFileSaver.html +41 -41
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutter.html +31 -31
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRenderer.html +151 -151
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererPixbuf.html +29 -29
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererText.html +25 -25
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguage.html +47 -47
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguageManager.html +43 -75
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMap.html +13 -13
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMark.html +25 -25
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMarkAttributes.html +71 -71
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourcePrintCompositor.html +185 -262
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceRegion.html +85 -113
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSearchContext.html +163 -163
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSearchSettings.html +36 -36
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSpaceDrawer.html +39 -56
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyle.html +49 -49
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleScheme.html +30 -30
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeChooser.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeChooserButton.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeChooserWidget.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeManager.html +20 -20
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceTag.html +15 -15
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceUndoManager.html +15 -15
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceView.html +175 -191
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-GtkSourceUtils.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-Version-Information.html +14 -14
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/index.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-reference.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/object-tree.html +15 -15
- data/vendor/local/share/gtksourceview-3.0/language-specs/bibtex.lang +44 -25
- data/vendor/local/share/gtksourceview-3.0/language-specs/css.lang +25 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/jade.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/latex.lang +46 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/sparql.lang +4 -0
- data/vendor/local/share/locale/ar/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ast/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/az/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/bn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/bn_IN/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/bs/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/cy/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/dz/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/en@shaw/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/en_CA/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/fa/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/fur/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ga/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/gu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/hr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/kk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/mai/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/mg/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/mk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/mn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/mr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ms/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ne/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/nn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/oc/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/rw/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/si/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/sq/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ta/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/tg/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/th/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/xh/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- metadata +6 -6
@@ -51,7 +51,7 @@
|
|
51
51
|
</tr>
|
52
52
|
<tr>
|
53
53
|
<td class="function_type">
|
54
|
-
<a href="
|
54
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextBuffer.html#GtkTextBuffer-struct"><span class="returnvalue">GtkTextBuffer</span></a> *
|
55
55
|
</td>
|
56
56
|
<td class="function_name">
|
57
57
|
<a class="link" href="GtkSourceRegion.html#gtk-source-region-get-buffer" title="gtk_source_region_get_buffer ()">gtk_source_region_get_buffer</a> <span class="c_punctuation">()</span>
|
@@ -107,7 +107,7 @@
|
|
107
107
|
</tr>
|
108
108
|
<tr>
|
109
109
|
<td class="function_type">
|
110
|
-
<a href="/home/
|
110
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
111
111
|
</td>
|
112
112
|
<td class="function_name">
|
113
113
|
<a class="link" href="GtkSourceRegion.html#gtk-source-region-is-empty" title="gtk_source_region_is_empty ()">gtk_source_region_is_empty</a> <span class="c_punctuation">()</span>
|
@@ -115,7 +115,7 @@
|
|
115
115
|
</tr>
|
116
116
|
<tr>
|
117
117
|
<td class="function_type">
|
118
|
-
<a href="/home/
|
118
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
119
119
|
</td>
|
120
120
|
<td class="function_name">
|
121
121
|
<a class="link" href="GtkSourceRegion.html#gtk-source-region-get-bounds" title="gtk_source_region_get_bounds ()">gtk_source_region_get_bounds</a> <span class="c_punctuation">()</span>
|
@@ -131,7 +131,7 @@
|
|
131
131
|
</tr>
|
132
132
|
<tr>
|
133
133
|
<td class="function_type">
|
134
|
-
<a href="/home/
|
134
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
135
135
|
</td>
|
136
136
|
<td class="function_name">
|
137
137
|
<a class="link" href="GtkSourceRegion.html#gtk-source-region-iter-is-end" title="gtk_source_region_iter_is_end ()">gtk_source_region_iter_is_end</a> <span class="c_punctuation">()</span>
|
@@ -139,7 +139,7 @@
|
|
139
139
|
</tr>
|
140
140
|
<tr>
|
141
141
|
<td class="function_type">
|
142
|
-
<a href="/home/
|
142
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
143
143
|
</td>
|
144
144
|
<td class="function_name">
|
145
145
|
<a class="link" href="GtkSourceRegion.html#gtk-source-region-iter-next" title="gtk_source_region_iter_next ()">gtk_source_region_iter_next</a> <span class="c_punctuation">()</span>
|
@@ -147,7 +147,7 @@
|
|
147
147
|
</tr>
|
148
148
|
<tr>
|
149
149
|
<td class="function_type">
|
150
|
-
<a href="/home/
|
150
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
151
151
|
</td>
|
152
152
|
<td class="function_name">
|
153
153
|
<a class="link" href="GtkSourceRegion.html#gtk-source-region-iter-get-subregion" title="gtk_source_region_iter_get_subregion ()">gtk_source_region_iter_get_subregion</a> <span class="c_punctuation">()</span>
|
@@ -155,7 +155,7 @@
|
|
155
155
|
</tr>
|
156
156
|
<tr>
|
157
157
|
<td class="function_type">
|
158
|
-
<a href="/home/
|
158
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
159
159
|
</td>
|
160
160
|
<td class="function_name">
|
161
161
|
<a class="link" href="GtkSourceRegion.html#gtk-source-region-to-string" title="gtk_source_region_to_string ()">gtk_source_region_to_string</a> <span class="c_punctuation">()</span>
|
@@ -174,7 +174,7 @@
|
|
174
174
|
</colgroup>
|
175
175
|
<tbody><tr>
|
176
176
|
<td class="property_type">
|
177
|
-
<a href="
|
177
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextBuffer.html#GtkTextBuffer-struct"><span class="type">GtkTextBuffer</span></a> *</td>
|
178
178
|
<td class="property_name"><a class="link" href="GtkSourceRegion.html#GtkSourceRegion--buffer" title="The “buffer” property">buffer</a></td>
|
179
179
|
<td class="property_flags">Read / Write / Construct Only</td>
|
180
180
|
</tr></tbody>
|
@@ -201,7 +201,7 @@
|
|
201
201
|
</div>
|
202
202
|
<div class="refsect1">
|
203
203
|
<a name="GtkSourceRegion.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
204
|
-
<pre class="screen"> <a href="/home/
|
204
|
+
<pre class="screen"> <a href="/home/seb/jhbuild/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
|
205
205
|
<span class="lineart">╰──</span> GtkSourceRegion
|
206
206
|
</pre>
|
207
207
|
</div>
|
@@ -213,70 +213,42 @@
|
|
213
213
|
<div class="refsect1">
|
214
214
|
<a name="GtkSourceRegion.description"></a><h2>Description</h2>
|
215
215
|
<p>A <a class="link" href="GtkSourceRegion.html" title="GtkSourceRegion"><span class="type">GtkSourceRegion</span></a> permits to store a group of subregions of a
|
216
|
-
<a href="
|
217
|
-
<a href="
|
218
|
-
in the <a href="
|
219
|
-
<p>The <a href="
|
220
|
-
<a href="
|
221
|
-
<p>The typical use-case of <a class="link" href="GtkSourceRegion.html" title="GtkSourceRegion"><span class="type">GtkSourceRegion</span></a> is to scan a <a href="
|
216
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextBuffer.html#GtkTextBuffer-struct"><span class="type">GtkTextBuffer</span></a>. <a class="link" href="GtkSourceRegion.html" title="GtkSourceRegion"><span class="type">GtkSourceRegion</span></a> stores the subregions with pairs of
|
217
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextMark.html#GtkTextMark-struct"><span class="type">GtkTextMark</span></a>'s, so the region is still valid after insertions and deletions
|
218
|
+
in the <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextBuffer.html#GtkTextBuffer-struct"><span class="type">GtkTextBuffer</span></a>.</p>
|
219
|
+
<p>The <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextMark.html#GtkTextMark-struct"><span class="type">GtkTextMark</span></a> for the start of a subregion has a left gravity, while the
|
220
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextMark.html#GtkTextMark-struct"><span class="type">GtkTextMark</span></a> for the end of a subregion has a right gravity.</p>
|
221
|
+
<p>The typical use-case of <a class="link" href="GtkSourceRegion.html" title="GtkSourceRegion"><span class="type">GtkSourceRegion</span></a> is to scan a <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextBuffer.html#GtkTextBuffer-struct"><span class="type">GtkTextBuffer</span></a> chunk by
|
222
222
|
chunk, not the whole buffer at once to not block the user interface. The
|
223
223
|
<a class="link" href="GtkSourceRegion.html" title="GtkSourceRegion"><span class="type">GtkSourceRegion</span></a> represents in that case the remaining region to scan. You
|
224
|
-
can listen to the <a href="
|
225
|
-
<a href="
|
224
|
+
can listen to the <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextBuffer.html#GtkTextBuffer-insert-text"><span class="type">“insert-text”</span></a> and
|
225
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextBuffer.html#GtkTextBuffer-delete-range"><span class="type">“delete-range”</span></a> signals to update the <a class="link" href="GtkSourceRegion.html" title="GtkSourceRegion"><span class="type">GtkSourceRegion</span></a>
|
226
226
|
accordingly.</p>
|
227
227
|
<p>To iterate through the subregions, you need to use a <a class="link" href="GtkSourceRegion.html#GtkSourceRegionIter" title="struct GtkSourceRegionIter"><span class="type">GtkSourceRegionIter</span></a>,
|
228
228
|
for example:</p>
|
229
|
-
<div class="informalexample">
|
230
|
-
|
231
|
-
|
232
|
-
<tr>
|
233
|
-
<td class="listing_lines" align="right"><pre>1
|
234
|
-
2
|
235
|
-
3
|
236
|
-
4
|
237
|
-
5
|
238
|
-
6
|
239
|
-
7
|
240
|
-
8
|
241
|
-
9
|
242
|
-
10
|
243
|
-
11
|
244
|
-
12
|
245
|
-
13
|
246
|
-
14
|
247
|
-
15
|
248
|
-
16
|
249
|
-
17
|
250
|
-
18
|
251
|
-
19
|
252
|
-
20
|
253
|
-
21</pre></td>
|
254
|
-
<td class="listing_code"><pre class="programlisting"><span class="usertype">GtkSourceRegion</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">region</span><span class="symbol">;</span>
|
255
|
-
<span class="usertype">GtkSourceRegionIter</span><span class="normal"> region_iter</span><span class="symbol">;</span>
|
229
|
+
<div class="informalexample"><pre class="programlisting">
|
230
|
+
GtkSourceRegion *region;
|
231
|
+
GtkSourceRegionIter region_iter;
|
256
232
|
|
257
|
-
|
233
|
+
gtk_source_region_get_start_region_iter (region, &region_iter);
|
258
234
|
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
235
|
+
while (!gtk_source_region_iter_is_end (&region_iter))
|
236
|
+
{
|
237
|
+
GtkTextIter subregion_start;
|
238
|
+
GtkTextIter subregion_end;
|
263
239
|
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
240
|
+
if (!gtk_source_region_iter_get_subregion (&region_iter,
|
241
|
+
&subregion_start,
|
242
|
+
&subregion_end))
|
243
|
+
{
|
244
|
+
break;
|
245
|
+
}
|
270
246
|
|
271
|
-
|
272
|
-
|
273
|
-
<span class="normal"> </span><span class="function"><a href="GtkSourceRegion.html#gtk-source-region-iter-next">gtk_source_region_iter_next</a></span><span class="normal"> </span><span class="symbol">(&</span><span class="normal">region_iter</span><span class="symbol">);</span>
|
274
|
-
<span class="cbracket">}</span></pre></td>
|
275
|
-
</tr>
|
276
|
-
</tbody>
|
277
|
-
</table>
|
278
|
-
</div>
|
247
|
+
// Do something useful with the subregion.
|
279
248
|
|
249
|
+
gtk_source_region_iter_next (&region_iter);
|
250
|
+
}
|
251
|
+
</pre></div>
|
280
252
|
<p></p>
|
281
253
|
</div>
|
282
254
|
<div class="refsect1">
|
@@ -284,7 +256,7 @@ for example:</p>
|
|
284
256
|
<div class="refsect2">
|
285
257
|
<a name="gtk-source-region-new"></a><h3>gtk_source_region_new ()</h3>
|
286
258
|
<pre class="programlisting"><a class="link" href="GtkSourceRegion.html" title="GtkSourceRegion"><span class="returnvalue">GtkSourceRegion</span></a> *
|
287
|
-
gtk_source_region_new (<em class="parameter"><code><a href="
|
259
|
+
gtk_source_region_new (<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextBuffer.html#GtkTextBuffer-struct"><span class="type">GtkTextBuffer</span></a> *buffer</code></em>);</pre>
|
288
260
|
<div class="refsect3">
|
289
261
|
<a name="gtk-source-region-new.parameters"></a><h4>Parameters</h4>
|
290
262
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
@@ -295,7 +267,7 @@ gtk_source_region_new (<em class="parameter"><code><a href="http://developer.gno
|
|
295
267
|
</colgroup>
|
296
268
|
<tbody><tr>
|
297
269
|
<td class="parameter_name"><p>buffer</p></td>
|
298
|
-
<td class="parameter_description"><p>a <a href="
|
270
|
+
<td class="parameter_description"><p>a <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextBuffer.html#GtkTextBuffer-struct"><span class="type">GtkTextBuffer</span></a>.</p></td>
|
299
271
|
<td class="parameter_annotations"> </td>
|
300
272
|
</tr></tbody>
|
301
273
|
</table></div>
|
@@ -310,7 +282,7 @@ gtk_source_region_new (<em class="parameter"><code><a href="http://developer.gno
|
|
310
282
|
<hr>
|
311
283
|
<div class="refsect2">
|
312
284
|
<a name="gtk-source-region-get-buffer"></a><h3>gtk_source_region_get_buffer ()</h3>
|
313
|
-
<pre class="programlisting"><a href="
|
285
|
+
<pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextBuffer.html#GtkTextBuffer-struct"><span class="returnvalue">GtkTextBuffer</span></a> *
|
314
286
|
gtk_source_region_get_buffer (<em class="parameter"><code><a class="link" href="GtkSourceRegion.html" title="GtkSourceRegion"><span class="type">GtkSourceRegion</span></a> *region</code></em>);</pre>
|
315
287
|
<div class="refsect3">
|
316
288
|
<a name="gtk-source-region-get-buffer.parameters"></a><h4>Parameters</h4>
|
@@ -329,7 +301,7 @@ gtk_source_region_get_buffer (<em class="parameter"><code><a class="link" href="
|
|
329
301
|
</div>
|
330
302
|
<div class="refsect3">
|
331
303
|
<a name="gtk-source-region-get-buffer.returns"></a><h4>Returns</h4>
|
332
|
-
<p>
|
304
|
+
<p>the <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextBuffer.html#GtkTextBuffer-struct"><span class="type">GtkTextBuffer</span></a>. </p>
|
333
305
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>][<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
|
334
306
|
</div>
|
335
307
|
<p class="since">Since: <a class="link" href="api-index-3-22.html#api-index-3.22">3.22</a></p>
|
@@ -339,8 +311,8 @@ gtk_source_region_get_buffer (<em class="parameter"><code><a class="link" href="
|
|
339
311
|
<a name="gtk-source-region-add-subregion"></a><h3>gtk_source_region_add_subregion ()</h3>
|
340
312
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
341
313
|
gtk_source_region_add_subregion (<em class="parameter"><code><a class="link" href="GtkSourceRegion.html" title="GtkSourceRegion"><span class="type">GtkSourceRegion</span></a> *region</code></em>,
|
342
|
-
<em class="parameter"><code>const <a href="
|
343
|
-
<em class="parameter"><code>const <a href="
|
314
|
+
<em class="parameter"><code>const <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *_start</code></em>,
|
315
|
+
<em class="parameter"><code>const <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *_end</code></em>);</pre>
|
344
316
|
<p>Adds the subregion delimited by <em class="parameter"><code>_start</code></em>
|
345
317
|
and <em class="parameter"><code>_end</code></em>
|
346
318
|
to <em class="parameter"><code>region</code></em>
|
@@ -400,8 +372,8 @@ gtk_source_region_add_region (<em class="parameter"><code><a class="link" href="
|
|
400
372
|
</tr>
|
401
373
|
<tr>
|
402
374
|
<td class="parameter_name"><p>region_to_add</p></td>
|
403
|
-
<td class="parameter_description"><p>
|
404
|
-
, or <a href="/home/
|
375
|
+
<td class="parameter_description"><p>the <a class="link" href="GtkSourceRegion.html" title="GtkSourceRegion"><span class="type">GtkSourceRegion</span></a> to add to <em class="parameter"><code>region</code></em>
|
376
|
+
, or <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
405
377
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
|
406
378
|
</tr>
|
407
379
|
</tbody>
|
@@ -414,8 +386,8 @@ gtk_source_region_add_region (<em class="parameter"><code><a class="link" href="
|
|
414
386
|
<a name="gtk-source-region-subtract-subregion"></a><h3>gtk_source_region_subtract_subregion ()</h3>
|
415
387
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
416
388
|
gtk_source_region_subtract_subregion (<em class="parameter"><code><a class="link" href="GtkSourceRegion.html" title="GtkSourceRegion"><span class="type">GtkSourceRegion</span></a> *region</code></em>,
|
417
|
-
<em class="parameter"><code>const <a href="
|
418
|
-
<em class="parameter"><code>const <a href="
|
389
|
+
<em class="parameter"><code>const <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *_start</code></em>,
|
390
|
+
<em class="parameter"><code>const <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *_end</code></em>);</pre>
|
419
391
|
<p>Subtracts the subregion delimited by <em class="parameter"><code>_start</code></em>
|
420
392
|
and <em class="parameter"><code>_end</code></em>
|
421
393
|
from <em class="parameter"><code>region</code></em>
|
@@ -476,9 +448,9 @@ modified.</p>
|
|
476
448
|
</tr>
|
477
449
|
<tr>
|
478
450
|
<td class="parameter_name"><p>region_to_subtract</p></td>
|
479
|
-
<td class="parameter_description"><p>
|
451
|
+
<td class="parameter_description"><p>the <a class="link" href="GtkSourceRegion.html" title="GtkSourceRegion"><span class="type">GtkSourceRegion</span></a> to subtract from
|
480
452
|
<em class="parameter"><code>region</code></em>
|
481
|
-
, or <a href="/home/
|
453
|
+
, or <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
482
454
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
|
483
455
|
</tr>
|
484
456
|
</tbody>
|
@@ -491,8 +463,8 @@ modified.</p>
|
|
491
463
|
<a name="gtk-source-region-intersect-subregion"></a><h3>gtk_source_region_intersect_subregion ()</h3>
|
492
464
|
<pre class="programlisting"><a class="link" href="GtkSourceRegion.html" title="GtkSourceRegion"><span class="returnvalue">GtkSourceRegion</span></a> *
|
493
465
|
gtk_source_region_intersect_subregion (<em class="parameter"><code><a class="link" href="GtkSourceRegion.html" title="GtkSourceRegion"><span class="type">GtkSourceRegion</span></a> *region</code></em>,
|
494
|
-
<em class="parameter"><code>const <a href="
|
495
|
-
<em class="parameter"><code>const <a href="
|
466
|
+
<em class="parameter"><code>const <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *_start</code></em>,
|
467
|
+
<em class="parameter"><code>const <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *_end</code></em>);</pre>
|
496
468
|
<p>Returns the intersection between <em class="parameter"><code>region</code></em>
|
497
469
|
and the subregion delimited by
|
498
470
|
<em class="parameter"><code>_start</code></em>
|
@@ -528,7 +500,7 @@ gtk_source_region_intersect_subregion (<em class="parameter"><code><a class="lin
|
|
528
500
|
</div>
|
529
501
|
<div class="refsect3">
|
530
502
|
<a name="gtk-source-region-intersect-subregion.returns"></a><h4>Returns</h4>
|
531
|
-
<p>
|
503
|
+
<p>the intersection as a new
|
532
504
|
<a class="link" href="GtkSourceRegion.html" title="GtkSourceRegion"><span class="type">GtkSourceRegion</span></a>. </p>
|
533
505
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
|
534
506
|
</div>
|
@@ -557,12 +529,12 @@ gtk_source_region_intersect_region (<em class="parameter"><code><a class="link"
|
|
557
529
|
<tbody>
|
558
530
|
<tr>
|
559
531
|
<td class="parameter_name"><p>region1</p></td>
|
560
|
-
<td class="parameter_description"><p>
|
532
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceRegion.html" title="GtkSourceRegion"><span class="type">GtkSourceRegion</span></a>, or <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
561
533
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
|
562
534
|
</tr>
|
563
535
|
<tr>
|
564
536
|
<td class="parameter_name"><p>region2</p></td>
|
565
|
-
<td class="parameter_description"><p>
|
537
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceRegion.html" title="GtkSourceRegion"><span class="type">GtkSourceRegion</span></a>, or <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
566
538
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
|
567
539
|
</tr>
|
568
540
|
</tbody>
|
@@ -570,7 +542,7 @@ gtk_source_region_intersect_region (<em class="parameter"><code><a class="link"
|
|
570
542
|
</div>
|
571
543
|
<div class="refsect3">
|
572
544
|
<a name="gtk-source-region-intersect-region.returns"></a><h4>Returns</h4>
|
573
|
-
<p>
|
545
|
+
<p>the intersection as a <a class="link" href="GtkSourceRegion.html" title="GtkSourceRegion"><span class="type">GtkSourceRegion</span></a>
|
574
546
|
object. </p>
|
575
547
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
|
576
548
|
</div>
|
@@ -579,10 +551,10 @@ object. </p>
|
|
579
551
|
<hr>
|
580
552
|
<div class="refsect2">
|
581
553
|
<a name="gtk-source-region-is-empty"></a><h3>gtk_source_region_is_empty ()</h3>
|
582
|
-
<pre class="programlisting"><a href="/home/
|
554
|
+
<pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
583
555
|
gtk_source_region_is_empty (<em class="parameter"><code><a class="link" href="GtkSourceRegion.html" title="GtkSourceRegion"><span class="type">GtkSourceRegion</span></a> *region</code></em>);</pre>
|
584
556
|
<p>Returns whether the <em class="parameter"><code>region</code></em>
|
585
|
-
is empty. A <a href="/home/
|
557
|
+
is empty. A <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> <em class="parameter"><code>region</code></em>
|
586
558
|
is considered empty.</p>
|
587
559
|
<div class="refsect3">
|
588
560
|
<a name="gtk-source-region-is-empty.parameters"></a><h4>Parameters</h4>
|
@@ -594,7 +566,7 @@ gtk_source_region_is_empty (<em class="parameter"><code><a class="link" href="Gt
|
|
594
566
|
</colgroup>
|
595
567
|
<tbody><tr>
|
596
568
|
<td class="parameter_name"><p>region</p></td>
|
597
|
-
<td class="parameter_description"><p>
|
569
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceRegion.html" title="GtkSourceRegion"><span class="type">GtkSourceRegion</span></a>, or <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
598
570
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
|
599
571
|
</tr></tbody>
|
600
572
|
</table></div>
|
@@ -609,10 +581,10 @@ is empty.</p>
|
|
609
581
|
<hr>
|
610
582
|
<div class="refsect2">
|
611
583
|
<a name="gtk-source-region-get-bounds"></a><h3>gtk_source_region_get_bounds ()</h3>
|
612
|
-
<pre class="programlisting"><a href="/home/
|
584
|
+
<pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
613
585
|
gtk_source_region_get_bounds (<em class="parameter"><code><a class="link" href="GtkSourceRegion.html" title="GtkSourceRegion"><span class="type">GtkSourceRegion</span></a> *region</code></em>,
|
614
|
-
<em class="parameter"><code><a href="
|
615
|
-
<em class="parameter"><code><a href="
|
586
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *start</code></em>,
|
587
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *end</code></em>);</pre>
|
616
588
|
<p>Gets the <em class="parameter"><code>start</code></em>
|
617
589
|
and <em class="parameter"><code>end</code></em>
|
618
590
|
bounds of the <em class="parameter"><code>region</code></em>
|
@@ -633,16 +605,16 @@ gtk_source_region_get_bounds (<em class="parameter"><code><a class="link" href="
|
|
633
605
|
</tr>
|
634
606
|
<tr>
|
635
607
|
<td class="parameter_name"><p>start</p></td>
|
636
|
-
<td class="parameter_description"><p>
|
608
|
+
<td class="parameter_description"><p>iterator to initialize with the start of <em class="parameter"><code>region</code></em>
|
637
609
|
,
|
638
|
-
or <a href="/home/
|
610
|
+
or <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
639
611
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
|
640
612
|
</tr>
|
641
613
|
<tr>
|
642
614
|
<td class="parameter_name"><p>end</p></td>
|
643
|
-
<td class="parameter_description"><p>
|
615
|
+
<td class="parameter_description"><p>iterator to initialize with the end of <em class="parameter"><code>region</code></em>
|
644
616
|
,
|
645
|
-
or <a href="/home/
|
617
|
+
or <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
646
618
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
|
647
619
|
</tr>
|
648
620
|
</tbody>
|
@@ -650,10 +622,10 @@ or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/htm
|
|
650
622
|
</div>
|
651
623
|
<div class="refsect3">
|
652
624
|
<a name="gtk-source-region-get-bounds.returns"></a><h4>Returns</h4>
|
653
|
-
<p> <a href="/home/
|
625
|
+
<p> <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>start</code></em>
|
654
626
|
and <em class="parameter"><code>end</code></em>
|
655
|
-
have been set successfully (if non-<a href="/home/
|
656
|
-
or <a href="/home/
|
627
|
+
have been set successfully (if non-<a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>),
|
628
|
+
or <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if the <em class="parameter"><code>region</code></em>
|
657
629
|
is empty.</p>
|
658
630
|
</div>
|
659
631
|
<p class="since">Since: <a class="link" href="api-index-3-22.html#api-index-3.22">3.22</a></p>
|
@@ -686,7 +658,7 @@ gtk_source_region_get_start_region_iter
|
|
686
658
|
</tr>
|
687
659
|
<tr>
|
688
660
|
<td class="parameter_name"><p>iter</p></td>
|
689
|
-
<td class="parameter_description"><p>
|
661
|
+
<td class="parameter_description"><p>iterator to initialize to the first subregion. </p></td>
|
690
662
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
|
691
663
|
</tr>
|
692
664
|
</tbody>
|
@@ -697,7 +669,7 @@ gtk_source_region_get_start_region_iter
|
|
697
669
|
<hr>
|
698
670
|
<div class="refsect2">
|
699
671
|
<a name="gtk-source-region-iter-is-end"></a><h3>gtk_source_region_iter_is_end ()</h3>
|
700
|
-
<pre class="programlisting"><a href="/home/
|
672
|
+
<pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
701
673
|
gtk_source_region_iter_is_end (<em class="parameter"><code><a class="link" href="GtkSourceRegion.html#GtkSourceRegionIter" title="struct GtkSourceRegionIter"><span class="type">GtkSourceRegionIter</span></a> *iter</code></em>);</pre>
|
702
674
|
<div class="refsect3">
|
703
675
|
<a name="gtk-source-region-iter-is-end.parameters"></a><h4>Parameters</h4>
|
@@ -724,7 +696,7 @@ is the end iterator.</p>
|
|
724
696
|
<hr>
|
725
697
|
<div class="refsect2">
|
726
698
|
<a name="gtk-source-region-iter-next"></a><h3>gtk_source_region_iter_next ()</h3>
|
727
|
-
<pre class="programlisting"><a href="/home/
|
699
|
+
<pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
728
700
|
gtk_source_region_iter_next (<em class="parameter"><code><a class="link" href="GtkSourceRegion.html#GtkSourceRegionIter" title="struct GtkSourceRegionIter"><span class="type">GtkSourceRegionIter</span></a> *iter</code></em>);</pre>
|
729
701
|
<p>Moves <em class="parameter"><code>iter</code></em>
|
730
702
|
to the next subregion.</p>
|
@@ -745,8 +717,8 @@ gtk_source_region_iter_next (<em class="parameter"><code><a class="link" href="G
|
|
745
717
|
</div>
|
746
718
|
<div class="refsect3">
|
747
719
|
<a name="gtk-source-region-iter-next.returns"></a><h4>Returns</h4>
|
748
|
-
<p> <a href="/home/
|
749
|
-
moved and is dereferenceable, or <a href="/home/
|
720
|
+
<p> <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>iter</code></em>
|
721
|
+
moved and is dereferenceable, or <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if <em class="parameter"><code>iter</code></em>
|
750
722
|
has
|
751
723
|
been set to the end iterator.</p>
|
752
724
|
</div>
|
@@ -755,10 +727,10 @@ been set to the end iterator.</p>
|
|
755
727
|
<hr>
|
756
728
|
<div class="refsect2">
|
757
729
|
<a name="gtk-source-region-iter-get-subregion"></a><h3>gtk_source_region_iter_get_subregion ()</h3>
|
758
|
-
<pre class="programlisting"><a href="/home/
|
730
|
+
<pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
759
731
|
gtk_source_region_iter_get_subregion (<em class="parameter"><code><a class="link" href="GtkSourceRegion.html#GtkSourceRegionIter" title="struct GtkSourceRegionIter"><span class="type">GtkSourceRegionIter</span></a> *iter</code></em>,
|
760
|
-
<em class="parameter"><code><a href="
|
761
|
-
<em class="parameter"><code><a href="
|
732
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *start</code></em>,
|
733
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *end</code></em>);</pre>
|
762
734
|
<p>Gets the subregion at this iterator.</p>
|
763
735
|
<div class="refsect3">
|
764
736
|
<a name="gtk-source-region-iter-get-subregion.parameters"></a><h4>Parameters</h4>
|
@@ -776,12 +748,12 @@ gtk_source_region_iter_get_subregion (<em class="parameter"><code><a class="link
|
|
776
748
|
</tr>
|
777
749
|
<tr>
|
778
750
|
<td class="parameter_name"><p>start</p></td>
|
779
|
-
<td class="parameter_description"><p>
|
751
|
+
<td class="parameter_description"><p>iterator to initialize with the subregion start, or <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
780
752
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
|
781
753
|
</tr>
|
782
754
|
<tr>
|
783
755
|
<td class="parameter_name"><p>end</p></td>
|
784
|
-
<td class="parameter_description"><p>
|
756
|
+
<td class="parameter_description"><p>iterator to initialize with the subregion end, or <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
785
757
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
|
786
758
|
</tr>
|
787
759
|
</tbody>
|
@@ -789,10 +761,10 @@ gtk_source_region_iter_get_subregion (<em class="parameter"><code><a class="link
|
|
789
761
|
</div>
|
790
762
|
<div class="refsect3">
|
791
763
|
<a name="gtk-source-region-iter-get-subregion.returns"></a><h4>Returns</h4>
|
792
|
-
<p> <a href="/home/
|
764
|
+
<p> <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>start</code></em>
|
793
765
|
and <em class="parameter"><code>end</code></em>
|
794
|
-
have been set successfully (if non-<a href="/home/
|
795
|
-
or <a href="/home/
|
766
|
+
have been set successfully (if non-<a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>),
|
767
|
+
or <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if <em class="parameter"><code>iter</code></em>
|
796
768
|
is the end iterator or if the region is empty.</p>
|
797
769
|
</div>
|
798
770
|
<p class="since">Since: <a class="link" href="api-index-3-22.html#api-index-3.22">3.22</a></p>
|
@@ -800,7 +772,7 @@ is the end iterator or if the region is empty.</p>
|
|
800
772
|
<hr>
|
801
773
|
<div class="refsect2">
|
802
774
|
<a name="gtk-source-region-to-string"></a><h3>gtk_source_region_to_string ()</h3>
|
803
|
-
<pre class="programlisting"><a href="/home/
|
775
|
+
<pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
804
776
|
gtk_source_region_to_string (<em class="parameter"><code><a class="link" href="GtkSourceRegion.html" title="GtkSourceRegion"><span class="type">GtkSourceRegion</span></a> *region</code></em>);</pre>
|
805
777
|
<p>Gets a string represention of <em class="parameter"><code>region</code></em>
|
806
778
|
, for debugging purposes.</p>
|
@@ -823,9 +795,9 @@ doesn't include a newline character at the end of the string.</p>
|
|
823
795
|
</div>
|
824
796
|
<div class="refsect3">
|
825
797
|
<a name="gtk-source-region-to-string.returns"></a><h4>Returns</h4>
|
826
|
-
<p>
|
798
|
+
<p>a string represention of <em class="parameter"><code>region</code></em>
|
827
799
|
. Free
|
828
|
-
with <a href="/home/
|
800
|
+
with <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a> when no longer needed. </p>
|
829
801
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
|
830
802
|
</div>
|
831
803
|
<p class="since">Since: <a class="link" href="api-index-3-22.html#api-index-3.22">3.22</a></p>
|
@@ -852,8 +824,8 @@ Initialize the iter with <a class="link" href="GtkSourceRegion.html#gtk-source-r
|
|
852
824
|
<a name="GtkSourceRegion.property-details"></a><h2>Property Details</h2>
|
853
825
|
<div class="refsect2">
|
854
826
|
<a name="GtkSourceRegion--buffer"></a><h3>The <code class="literal">“buffer”</code> property</h3>
|
855
|
-
<pre class="programlisting"> “buffer” <a href="
|
856
|
-
<p>The <a href="
|
827
|
+
<pre class="programlisting"> “buffer” <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextBuffer.html#GtkTextBuffer-struct"><span class="type">GtkTextBuffer</span></a> *</pre>
|
828
|
+
<p>The <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextBuffer.html#GtkTextBuffer-struct"><span class="type">GtkTextBuffer</span></a>. The <a class="link" href="GtkSourceRegion.html" title="GtkSourceRegion"><span class="type">GtkSourceRegion</span></a> has a weak reference to the
|
857
829
|
buffer.</p>
|
858
830
|
<p>Flags: Read / Write / Construct Only</p>
|
859
831
|
<p class="since">Since: <a class="link" href="api-index-3-22.html#api-index-3.22">3.22</a></p>
|
@@ -861,7 +833,7 @@ buffer.</p>
|
|
861
833
|
</div>
|
862
834
|
<div class="refsect1">
|
863
835
|
<a name="GtkSourceRegion.see-also"></a><h2>See Also</h2>
|
864
|
-
<p><a href="
|
836
|
+
<p><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextBuffer.html#GtkTextBuffer-struct"><span class="type">GtkTextBuffer</span></a></p>
|
865
837
|
</div>
|
866
838
|
</div>
|
867
839
|
<div class="footer">
|