gtksourceview3 3.0.8-x64-mingw32 → 3.0.9-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- 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/gtksourcemap.h +10 -9
- 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 +3 -3
- data/vendor/local/share/gir-1.0/GtkSource-3.0.gir +1 -1
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceBuffer.html +179 -179
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletion.html +76 -76
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionContext.html +22 -22
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionInfo.html +34 -34
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionItem.html +32 -32
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProposal.html +48 -48
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProvider.html +53 -53
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionWords.html +22 -22
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceEncoding.html +17 -17
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFile.html +40 -40
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFileLoader.html +43 -43
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFileSaver.html +34 -34
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutter.html +27 -27
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRenderer.html +148 -148
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererPixbuf.html +24 -24
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererText.html +20 -20
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguage.html +44 -44
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguageManager.html +29 -29
- 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 +61 -61
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourcePrintCompositor.html +134 -134
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSearchContext.html +98 -98
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSearchSettings.html +35 -35
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyle.html +40 -40
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleScheme.html +26 -26
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeChooser.html +2 -2
- 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 +18 -18
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceTag.html +13 -13
- 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 +155 -155
- 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/object-tree.html +13 -13
- data/vendor/local/share/gtksourceview-3.0/language-specs/javascript.lang +4 -4
- data/vendor/local/share/gtksourceview-3.0/language-specs/meson.lang +3 -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/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 +7 -7
@@ -66,14 +66,14 @@
|
|
66
66
|
</td>
|
67
67
|
</tr>
|
68
68
|
<tr>
|
69
|
-
<td class="function_type">const <a href="/
|
69
|
+
<td class="function_type">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * const *
|
70
70
|
</td>
|
71
71
|
<td class="function_name">
|
72
72
|
<a class="link" href="GtkSourceLanguageManager.html#gtk-source-language-manager-get-search-path" title="gtk_source_language_manager_get_search_path ()">gtk_source_language_manager_get_search_path</a> <span class="c_punctuation">()</span>
|
73
73
|
</td>
|
74
74
|
</tr>
|
75
75
|
<tr>
|
76
|
-
<td class="function_type">const <a href="/
|
76
|
+
<td class="function_type">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * const *
|
77
77
|
</td>
|
78
78
|
<td class="function_name">
|
79
79
|
<a class="link" href="GtkSourceLanguageManager.html#gtk-source-language-manager-get-language-ids" title="gtk_source_language_manager_get_language_ids ()">gtk_source_language_manager_get_language_ids</a> <span class="c_punctuation">()</span>
|
@@ -108,12 +108,12 @@
|
|
108
108
|
</colgroup>
|
109
109
|
<tbody>
|
110
110
|
<tr>
|
111
|
-
<td class="property_type"><a href="/
|
111
|
+
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-String-Utility-Functions.html#GStrv"><span class="type">GStrv</span></a></td>
|
112
112
|
<td class="property_name"><a class="link" href="GtkSourceLanguageManager.html#GtkSourceLanguageManager--language-ids" title="The “language-ids” property">language-ids</a></td>
|
113
113
|
<td class="property_flags">Read</td>
|
114
114
|
</tr>
|
115
115
|
<tr>
|
116
|
-
<td class="property_type"><a href="/
|
116
|
+
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-String-Utility-Functions.html#GStrv"><span class="type">GStrv</span></a></td>
|
117
117
|
<td class="property_name"><a class="link" href="GtkSourceLanguageManager.html#GtkSourceLanguageManager--search-path" title="The “search-path” property">search-path</a></td>
|
118
118
|
<td class="property_flags">Read / Write</td>
|
119
119
|
</tr>
|
@@ -135,7 +135,7 @@
|
|
135
135
|
</div>
|
136
136
|
<div class="refsect1">
|
137
137
|
<a name="GtkSourceLanguageManager.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
138
|
-
<pre class="screen"> <a href="/
|
138
|
+
<pre class="screen"> <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
|
139
139
|
<span class="lineart">╰──</span> GtkSourceLanguageManager
|
140
140
|
</pre>
|
141
141
|
</div>
|
@@ -188,12 +188,12 @@ Return value is owned by GtkSourceView library and must not be unref'ed. </p>
|
|
188
188
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
189
189
|
gtk_source_language_manager_set_search_path
|
190
190
|
(<em class="parameter"><code><a class="link" href="GtkSourceLanguageManager.html" title="GtkSourceLanguageManager"><span class="type">GtkSourceLanguageManager</span></a> *lm</code></em>,
|
191
|
-
<em class="parameter"><code><a href="/
|
191
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **dirs</code></em>);</pre>
|
192
192
|
<p>Sets the list of directories where the <em class="parameter"><code>lm</code></em>
|
193
193
|
looks for
|
194
194
|
language files.
|
195
195
|
If <em class="parameter"><code>dirs</code></em>
|
196
|
-
is <a href="/
|
196
|
+
is <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, the search path is reset to default.</p>
|
197
197
|
<div class="note"><p>
|
198
198
|
At the moment this function can be called only before the
|
199
199
|
language files are loaded for the first time. In practice
|
@@ -216,7 +216,7 @@ If <em class="parameter"><code>dirs</code></em>
|
|
216
216
|
</tr>
|
217
217
|
<tr>
|
218
218
|
<td class="parameter_name"><p>dirs</p></td>
|
219
|
-
<td class="parameter_description"><p>a <a href="/
|
219
|
+
<td class="parameter_description"><p>a <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated array of strings or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
220
220
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>][<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> zero-terminated=1]</span></td>
|
221
221
|
</tr>
|
222
222
|
</tbody>
|
@@ -226,7 +226,7 @@ If <em class="parameter"><code>dirs</code></em>
|
|
226
226
|
<hr>
|
227
227
|
<div class="refsect2">
|
228
228
|
<a name="gtk-source-language-manager-get-search-path"></a><h3>gtk_source_language_manager_get_search_path ()</h3>
|
229
|
-
<pre class="programlisting">const <a href="/
|
229
|
+
<pre class="programlisting">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * const *
|
230
230
|
gtk_source_language_manager_get_search_path
|
231
231
|
(<em class="parameter"><code><a class="link" href="GtkSourceLanguageManager.html" title="GtkSourceLanguageManager"><span class="type">GtkSourceLanguageManager</span></a> *lm</code></em>);</pre>
|
232
232
|
<p>Gets the list directories where <em class="parameter"><code>lm</code></em>
|
@@ -248,7 +248,7 @@ gtk_source_language_manager_get_search_path
|
|
248
248
|
</div>
|
249
249
|
<div class="refsect3">
|
250
250
|
<a name="gtk-source-language-manager-get-search-path.returns"></a><h4>Returns</h4>
|
251
|
-
<p> <a href="/
|
251
|
+
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated array
|
252
252
|
containg a list of language files directories.
|
253
253
|
The array is owned by <em class="parameter"><code>lm</code></em>
|
254
254
|
and must not be modified. </p>
|
@@ -258,7 +258,7 @@ and must not be modified. </p>
|
|
258
258
|
<hr>
|
259
259
|
<div class="refsect2">
|
260
260
|
<a name="gtk-source-language-manager-get-language-ids"></a><h3>gtk_source_language_manager_get_language_ids ()</h3>
|
261
|
-
<pre class="programlisting">const <a href="/
|
261
|
+
<pre class="programlisting">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * const *
|
262
262
|
gtk_source_language_manager_get_language_ids
|
263
263
|
(<em class="parameter"><code><a class="link" href="GtkSourceLanguageManager.html" title="GtkSourceLanguageManager"><span class="type">GtkSourceLanguageManager</span></a> *lm</code></em>);</pre>
|
264
264
|
<p>Returns the ids of the available languages.</p>
|
@@ -279,8 +279,8 @@ gtk_source_language_manager_get_language_ids
|
|
279
279
|
</div>
|
280
280
|
<div class="refsect3">
|
281
281
|
<a name="gtk-source-language-manager-get-language-ids.returns"></a><h4>Returns</h4>
|
282
|
-
<p>a <a href="/
|
283
|
-
languages or <a href="/
|
282
|
+
<p>a <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated array of strings containing the ids of the available
|
283
|
+
languages or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no language is available.
|
284
284
|
The array is sorted alphabetically according to the language name.
|
285
285
|
The array is owned by <em class="parameter"><code>lm</code></em>
|
286
286
|
and must not be modified. </p>
|
@@ -293,7 +293,7 @@ and must not be modified. </p>
|
|
293
293
|
<pre class="programlisting"><a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="returnvalue">GtkSourceLanguage</span></a> *
|
294
294
|
gtk_source_language_manager_get_language
|
295
295
|
(<em class="parameter"><code><a class="link" href="GtkSourceLanguageManager.html" title="GtkSourceLanguageManager"><span class="type">GtkSourceLanguageManager</span></a> *lm</code></em>,
|
296
|
-
<em class="parameter"><code>const <a href="/
|
296
|
+
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *id</code></em>);</pre>
|
297
297
|
<p>Gets the <a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a> identified by the given <em class="parameter"><code>id</code></em>
|
298
298
|
in the language
|
299
299
|
manager.</p>
|
@@ -321,7 +321,7 @@ manager.</p>
|
|
321
321
|
</div>
|
322
322
|
<div class="refsect3">
|
323
323
|
<a name="gtk-source-language-manager-get-language.returns"></a><h4>Returns</h4>
|
324
|
-
<p> a <a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a>, or <a href="/
|
324
|
+
<p> a <a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a>, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
325
325
|
if there is no language identified by the given <em class="parameter"><code>id</code></em>
|
326
326
|
. Return value is
|
327
327
|
owned by <em class="parameter"><code>lm</code></em>
|
@@ -335,13 +335,13 @@ and should not be freed. </p>
|
|
335
335
|
<pre class="programlisting"><a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="returnvalue">GtkSourceLanguage</span></a> *
|
336
336
|
gtk_source_language_manager_guess_language
|
337
337
|
(<em class="parameter"><code><a class="link" href="GtkSourceLanguageManager.html" title="GtkSourceLanguageManager"><span class="type">GtkSourceLanguageManager</span></a> *lm</code></em>,
|
338
|
-
<em class="parameter"><code>const <a href="/
|
339
|
-
<em class="parameter"><code>const <a href="/
|
338
|
+
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filename</code></em>,
|
339
|
+
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *content_type</code></em>);</pre>
|
340
340
|
<p>Picks a <a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a> for given file name and content type,
|
341
341
|
according to the information in lang files. Either <em class="parameter"><code>filename</code></em>
|
342
342
|
or
|
343
343
|
<em class="parameter"><code>content_type</code></em>
|
344
|
-
may be <a href="/
|
344
|
+
may be <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. This function can be used as follows:</p>
|
345
345
|
<div class="informalexample">
|
346
346
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
347
347
|
<tbody>
|
@@ -350,7 +350,7 @@ according to the information in lang files. Either <em class="parameter"><code>f
|
|
350
350
|
2
|
351
351
|
3</pre></td>
|
352
352
|
<td class="listing_code"><pre class="programlisting"><span class="usertype">GtkSourceLanguage</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">lang</span><span class="symbol">;</span>
|
353
|
-
<span class="normal">lang </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkSourceLanguageManager.html#gtk-source-language-manager-guess-language">gtk_source_language_manager_guess_language</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">filename</span><span class="symbol">,</span><span class="normal"> <a href="/
|
353
|
+
<span class="normal">lang </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkSourceLanguageManager.html#gtk-source-language-manager-guess-language">gtk_source_language_manager_guess_language</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">filename</span><span class="symbol">,</span><span class="normal"> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
354
354
|
<span class="function"><a href="GtkSourceBuffer.html#gtk-source-buffer-set-language">gtk_source_buffer_set_language</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">buffer</span><span class="symbol">,</span><span class="normal"> lang</span><span class="symbol">);</span></pre></td>
|
355
355
|
</tr>
|
356
356
|
</tbody>
|
@@ -377,21 +377,21 @@ according to the information in lang files. Either <em class="parameter"><code>f
|
|
377
377
|
13
|
378
378
|
14
|
379
379
|
15</pre></td>
|
380
|
-
<td class="listing_code"><pre class="programlisting"><span class="usertype">GtkSourceLanguage</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">lang </span><span class="symbol">=</span><span class="normal"> <a href="/
|
380
|
+
<td class="listing_code"><pre class="programlisting"><span class="usertype">GtkSourceLanguage</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">lang </span><span class="symbol">=</span><span class="normal"> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">;</span>
|
381
381
|
<span class="usertype">gboolean</span><span class="normal"> result_uncertain</span><span class="symbol">;</span>
|
382
382
|
<span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">content_type</span><span class="symbol">;</span>
|
383
383
|
|
384
|
-
<span class="normal">content_type </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="/
|
384
|
+
<span class="normal">content_type </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="https://developer.gnome.org/gio/unstable/gio-GContentType.html#g-content-type-guess">g_content_type_guess</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">filename</span><span class="symbol">,</span><span class="normal"> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">result_uncertain</span><span class="symbol">);</span>
|
385
385
|
<span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">result_uncertain</span><span class="symbol">)</span>
|
386
386
|
<span class="normal"> </span><span class="cbracket">{</span>
|
387
|
-
<span class="normal"> </span><span class="function"><a href="/
|
388
|
-
<span class="normal"> content_type </span><span class="symbol">=</span><span class="normal"> <a href="/
|
387
|
+
<span class="normal"> </span><span class="function"><a href="https://developer.gnome.org/glib/unstable/glib-Memory-Allocation.html#g-free">g_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">content_type</span><span class="symbol">);</span>
|
388
|
+
<span class="normal"> content_type </span><span class="symbol">=</span><span class="normal"> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">;</span>
|
389
389
|
<span class="normal"> </span><span class="cbracket">}</span>
|
390
390
|
|
391
391
|
<span class="normal">lang </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkSourceLanguageManager.html#gtk-source-language-manager-guess-language">gtk_source_language_manager_guess_language</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">manager</span><span class="symbol">,</span><span class="normal"> filename</span><span class="symbol">,</span><span class="normal"> content_type</span><span class="symbol">);</span>
|
392
392
|
<span class="function"><a href="GtkSourceBuffer.html#gtk-source-buffer-set-language">gtk_source_buffer_set_language</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">buffer</span><span class="symbol">,</span><span class="normal"> lang</span><span class="symbol">);</span>
|
393
393
|
|
394
|
-
<span class="function"><a href="/
|
394
|
+
<span class="function"><a href="https://developer.gnome.org/glib/unstable/glib-Memory-Allocation.html#g-free">g_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">content_type</span><span class="symbol">);</span></pre></td>
|
395
395
|
</tr>
|
396
396
|
</tbody>
|
397
397
|
</table>
|
@@ -415,12 +415,12 @@ if you need full control over file -> language mapping.</p>
|
|
415
415
|
</tr>
|
416
416
|
<tr>
|
417
417
|
<td class="parameter_name"><p>filename</p></td>
|
418
|
-
<td class="parameter_description"><p> a filename in Glib filename encoding, or <a href="/
|
418
|
+
<td class="parameter_description"><p> a filename in Glib filename encoding, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
419
419
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
420
420
|
</tr>
|
421
421
|
<tr>
|
422
422
|
<td class="parameter_name"><p>content_type</p></td>
|
423
|
-
<td class="parameter_description"><p> a content type (as in GIO API), or <a href="/
|
423
|
+
<td class="parameter_description"><p> a content type (as in GIO API), or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
424
424
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
425
425
|
</tr>
|
426
426
|
</tbody>
|
@@ -428,7 +428,7 @@ if you need full control over file -> language mapping.</p>
|
|
428
428
|
</div>
|
429
429
|
<div class="refsect3">
|
430
430
|
<a name="gtk-source-language-manager-guess-language.returns"></a><h4>Returns</h4>
|
431
|
-
<p> a <a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a>, or <a href="/
|
431
|
+
<p> a <a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a>, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if there
|
432
432
|
is no suitable language for given <em class="parameter"><code>filename</code></em>
|
433
433
|
and/or <em class="parameter"><code>content_type</code></em>
|
434
434
|
. Return
|
@@ -450,14 +450,14 @@ and should not be freed. </p>
|
|
450
450
|
<a name="GtkSourceLanguageManager.property-details"></a><h2>Property Details</h2>
|
451
451
|
<div class="refsect2">
|
452
452
|
<a name="GtkSourceLanguageManager--language-ids"></a><h3>The <code class="literal">“language-ids”</code> property</h3>
|
453
|
-
<pre class="programlisting"> “language-ids” <a href="/
|
453
|
+
<pre class="programlisting"> “language-ids” <a href="https://developer.gnome.org/glib/unstable/glib-String-Utility-Functions.html#GStrv"><span class="type">GStrv</span></a></pre>
|
454
454
|
<p>List of the ids of the available languages.</p>
|
455
455
|
<p>Flags: Read</p>
|
456
456
|
</div>
|
457
457
|
<hr>
|
458
458
|
<div class="refsect2">
|
459
459
|
<a name="GtkSourceLanguageManager--search-path"></a><h3>The <code class="literal">“search-path”</code> property</h3>
|
460
|
-
<pre class="programlisting"> “search-path” <a href="/
|
460
|
+
<pre class="programlisting"> “search-path” <a href="https://developer.gnome.org/glib/unstable/glib-String-Utility-Functions.html#GStrv"><span class="type">GStrv</span></a></pre>
|
461
461
|
<p>List of directories where the language specification files (.lang) are located.</p>
|
462
462
|
<p>Flags: Read / Write</p>
|
463
463
|
</div>
|
@@ -44,7 +44,7 @@
|
|
44
44
|
<tbody>
|
45
45
|
<tr>
|
46
46
|
<td class="function_type">
|
47
|
-
<a href="/
|
47
|
+
<a href="http://developer.gnome.org/gtk3/GtkWidget.html#GtkWidget-struct"><span class="returnvalue">GtkWidget</span></a> *
|
48
48
|
</td>
|
49
49
|
<td class="function_name">
|
50
50
|
<a class="link" href="GtkSourceMap.html#gtk-source-map-new" title="gtk_source_map_new ()">gtk_source_map_new</a> <span class="c_punctuation">()</span>
|
@@ -80,7 +80,7 @@
|
|
80
80
|
<tbody>
|
81
81
|
<tr>
|
82
82
|
<td class="property_type">
|
83
|
-
<a href="/
|
83
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/pango/pango-Fonts.html#PangoFontDescription-struct"><span class="type">PangoFontDescription</span></a> *</td>
|
84
84
|
<td class="property_name"><a class="link" href="GtkSourceMap.html#GtkSourceMap--font-desc" title="The “font-desc” property">font-desc</a></td>
|
85
85
|
<td class="property_flags">Read / Write</td>
|
86
86
|
</tr>
|
@@ -108,11 +108,11 @@
|
|
108
108
|
</div>
|
109
109
|
<div class="refsect1">
|
110
110
|
<a name="GtkSourceMap.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
111
|
-
<pre class="screen"> <a href="/
|
112
|
-
<span class="lineart">╰──</span> <a href="/
|
113
|
-
<span class="lineart">╰──</span> <a href="/
|
114
|
-
<span class="lineart">╰──</span> <a href="/
|
115
|
-
<span class="lineart">╰──</span> <a href="/
|
111
|
+
<pre class="screen"> <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
|
112
|
+
<span class="lineart">╰──</span> <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
|
113
|
+
<span class="lineart">╰──</span> <a href="http://developer.gnome.org/gtk3/GtkWidget.html#GtkWidget-struct">GtkWidget</a>
|
114
|
+
<span class="lineart">╰──</span> <a href="http://developer.gnome.org/gtk3/GtkContainer.html#GtkContainer-struct">GtkContainer</a>
|
115
|
+
<span class="lineart">╰──</span> <a href="http://developer.gnome.org/gtk3/GtkTextView.html#GtkTextView-struct">GtkTextView</a>
|
116
116
|
<span class="lineart">╰──</span> <a class="link" href="GtkSourceView.html" title="GtkSourceView">GtkSourceView</a>
|
117
117
|
<span class="lineart">╰──</span> GtkSourceMap
|
118
118
|
</pre>
|
@@ -121,7 +121,7 @@
|
|
121
121
|
<a name="GtkSourceMap.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
|
122
122
|
<p>
|
123
123
|
GtkSourceMap implements
|
124
|
-
AtkImplementorIface, <a href="/
|
124
|
+
AtkImplementorIface, <a href="http://developer.gnome.org/gtk3/GtkBuildable.html#GtkBuildable-struct">GtkBuildable</a> and <a href="http://developer.gnome.org/gtk3/GtkScrollable.html#GtkScrollable-struct">GtkScrollable</a>.</p>
|
125
125
|
</div>
|
126
126
|
<div class="refsect1">
|
127
127
|
<a name="GtkSourceMap.includes"></a><h2>Includes</h2>
|
@@ -143,14 +143,14 @@ the <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class=
|
|
143
143
|
should be used to set the target font. You will need to adjust this to the
|
144
144
|
desired font size for the map. A 1pt font generally seems to be an
|
145
145
|
appropriate font size. "Monospace 1" is the default. See
|
146
|
-
<a href="/
|
147
|
-
<a href="/
|
146
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/pango/pango-Fonts.html#pango-font-description-set-size"><code class="function">pango_font_description_set_size()</code></a> for how to alter the size of an existing
|
147
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/pango/pango-Fonts.html#PangoFontDescription-struct"><span class="type">PangoFontDescription</span></a>.</p>
|
148
148
|
</div>
|
149
149
|
<div class="refsect1">
|
150
150
|
<a name="GtkSourceMap.functions_details"></a><h2>Functions</h2>
|
151
151
|
<div class="refsect2">
|
152
152
|
<a name="gtk-source-map-new"></a><h3>gtk_source_map_new ()</h3>
|
153
|
-
<pre class="programlisting"><a href="/
|
153
|
+
<pre class="programlisting"><a href="http://developer.gnome.org/gtk3/GtkWidget.html#GtkWidget-struct"><span class="returnvalue">GtkWidget</span></a> *
|
154
154
|
gtk_source_map_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
155
155
|
<p>Creates a new <a class="link" href="GtkSourceMap.html" title="GtkSourceMap"><span class="type">GtkSourceMap</span></a>.</p>
|
156
156
|
<div class="refsect3">
|
@@ -214,7 +214,7 @@ gtk_source_map_get_view (<em class="parameter"><code><a class="link" href="GtkSo
|
|
214
214
|
</div>
|
215
215
|
<div class="refsect3">
|
216
216
|
<a name="gtk-source-map-get-view.returns"></a><h4>Returns</h4>
|
217
|
-
<p> a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> or <a href="/
|
217
|
+
<p> a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
|
218
218
|
<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>
|
219
219
|
</div>
|
220
220
|
<p class="since">Since: <a class="link" href="api-index-3-18.html#api-index-3.18">3.18</a></p>
|
@@ -231,7 +231,7 @@ gtk_source_map_get_view (<em class="parameter"><code><a class="link" href="GtkSo
|
|
231
231
|
<a name="GtkSourceMap.property-details"></a><h2>Property Details</h2>
|
232
232
|
<div class="refsect2">
|
233
233
|
<a name="GtkSourceMap--font-desc"></a><h3>The <code class="literal">“font-desc”</code> property</h3>
|
234
|
-
<pre class="programlisting"> “font-desc” <a href="/
|
234
|
+
<pre class="programlisting"> “font-desc” <a href="/home/seb/jhbuild/share/gtk-doc/html/pango/pango-Fonts.html#PangoFontDescription-struct"><span class="type">PangoFontDescription</span></a> *</pre>
|
235
235
|
<p>The Pango font description to use.</p>
|
236
236
|
<p>Flags: Read / Write</p>
|
237
237
|
</div>
|
@@ -50,7 +50,7 @@
|
|
50
50
|
</td>
|
51
51
|
</tr>
|
52
52
|
<tr>
|
53
|
-
<td class="function_type">const <a href="/
|
53
|
+
<td class="function_type">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
54
54
|
</td>
|
55
55
|
<td class="function_name">
|
56
56
|
<a class="link" href="GtkSourceMark.html#gtk-source-mark-get-category" title="gtk_source_mark_get_category ()">gtk_source_mark_get_category</a> <span class="c_punctuation">()</span>
|
@@ -85,7 +85,7 @@
|
|
85
85
|
</colgroup>
|
86
86
|
<tbody><tr>
|
87
87
|
<td class="property_type">
|
88
|
-
<a href="/
|
88
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
|
89
89
|
<td class="property_name"><a class="link" href="GtkSourceMark.html#GtkSourceMark--category" title="The “category” property">category</a></td>
|
90
90
|
<td class="property_flags">Read / Write / Construct Only</td>
|
91
91
|
</tr></tbody>
|
@@ -106,8 +106,8 @@
|
|
106
106
|
</div>
|
107
107
|
<div class="refsect1">
|
108
108
|
<a name="GtkSourceMark.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
109
|
-
<pre class="screen"> <a href="/
|
110
|
-
<span class="lineart">╰──</span> <a href="/
|
109
|
+
<pre class="screen"> <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
|
110
|
+
<span class="lineart">╰──</span> <a href="http://developer.gnome.org/gtk3/GtkTextMark.html#GtkTextMark-struct">GtkTextMark</a>
|
111
111
|
<span class="lineart">╰──</span> GtkSourceMark
|
112
112
|
</pre>
|
113
113
|
</div>
|
@@ -119,13 +119,13 @@
|
|
119
119
|
<div class="refsect1">
|
120
120
|
<a name="GtkSourceMark.description"></a><h2>Description</h2>
|
121
121
|
<p>A <a class="link" href="GtkSourceMark.html" title="GtkSourceMark"><span class="type">GtkSourceMark</span></a> marks a position in the text where you want to display
|
122
|
-
additional info. It is based on <a href="/
|
122
|
+
additional info. It is based on <a href="http://developer.gnome.org/gtk3/GtkTextMark.html#GtkTextMark-struct"><span class="type">GtkTextMark</span></a> and thus is still valid after
|
123
123
|
the text has changed though its position may change.</p>
|
124
124
|
<p><a class="link" href="GtkSourceMark.html" title="GtkSourceMark"><span class="type">GtkSourceMark</span></a>s are organised in categories which you have to set
|
125
125
|
when you create the mark. Each category can have a priority, a pixbuf and
|
126
126
|
other associated attributes. See <a class="link" href="GtkSourceView.html#gtk-source-view-set-mark-attributes" title="gtk_source_view_set_mark_attributes ()"><code class="function">gtk_source_view_set_mark_attributes()</code></a>.
|
127
127
|
The pixbuf will be displayed in the margin at the line where the mark
|
128
|
-
residents if the <a class="link" href="GtkSourceView.html#GtkSourceView--show-line-marks" title="The “show-line-marks” property"><span class="type">“show-line-marks”</span></a> property is set to <a href="/
|
128
|
+
residents if the <a class="link" href="GtkSourceView.html#GtkSourceView--show-line-marks" title="The “show-line-marks” property"><span class="type">“show-line-marks”</span></a> property is set to <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>. If
|
129
129
|
there are multiple marks in the same line, the pixbufs will be drawn on top
|
130
130
|
of each other. The mark with the highest priority will be drawn on top.</p>
|
131
131
|
</div>
|
@@ -134,11 +134,11 @@ of each other. The mark with the highest priority will be drawn on top.</p>
|
|
134
134
|
<div class="refsect2">
|
135
135
|
<a name="gtk-source-mark-new"></a><h3>gtk_source_mark_new ()</h3>
|
136
136
|
<pre class="programlisting"><a class="link" href="GtkSourceMark.html" title="GtkSourceMark"><span class="returnvalue">GtkSourceMark</span></a> *
|
137
|
-
gtk_source_mark_new (<em class="parameter"><code>const <a href="/
|
138
|
-
<em class="parameter"><code>const <a href="/
|
139
|
-
<p>Creates a text mark. Add it to a buffer using <a href="/
|
137
|
+
gtk_source_mark_new (<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
|
138
|
+
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *category</code></em>);</pre>
|
139
|
+
<p>Creates a text mark. Add it to a buffer using <a href="http://developer.gnome.org/gtk3/GtkTextBuffer.html#gtk-text-buffer-add-mark"><code class="function">gtk_text_buffer_add_mark()</code></a>.
|
140
140
|
If name is NULL, the mark is anonymous; otherwise, the mark can be retrieved
|
141
|
-
by name using <a href="/
|
141
|
+
by name using <a href="http://developer.gnome.org/gtk3/GtkTextBuffer.html#gtk-text-buffer-get-mark"><code class="function">gtk_text_buffer_get_mark()</code></a>.
|
142
142
|
Normally marks are created using the utility function
|
143
143
|
<a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-create-source-mark" title="gtk_source_buffer_create_source_mark ()"><code class="function">gtk_source_buffer_create_source_mark()</code></a>.</p>
|
144
144
|
<div class="refsect3">
|
@@ -168,14 +168,14 @@ category, or all the marks representing a compilation error could belong to
|
|
168
168
|
</div>
|
169
169
|
<div class="refsect3">
|
170
170
|
<a name="gtk-source-mark-new.returns"></a><h4>Returns</h4>
|
171
|
-
<p> a new <a class="link" href="GtkSourceMark.html" title="GtkSourceMark"><span class="type">GtkSourceMark</span></a> that can be added using <a href="/
|
171
|
+
<p> a new <a class="link" href="GtkSourceMark.html" title="GtkSourceMark"><span class="type">GtkSourceMark</span></a> that can be added using <a href="http://developer.gnome.org/gtk3/GtkTextBuffer.html#gtk-text-buffer-add-mark"><code class="function">gtk_text_buffer_add_mark()</code></a>.</p>
|
172
172
|
</div>
|
173
173
|
<p class="since">Since: <a class="link" href="api-index-2-2.html#api-index-2.2">2.2</a></p>
|
174
174
|
</div>
|
175
175
|
<hr>
|
176
176
|
<div class="refsect2">
|
177
177
|
<a name="gtk-source-mark-get-category"></a><h3>gtk_source_mark_get_category ()</h3>
|
178
|
-
<pre class="programlisting">const <a href="/
|
178
|
+
<pre class="programlisting">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
179
179
|
gtk_source_mark_get_category (<em class="parameter"><code><a class="link" href="GtkSourceMark.html" title="GtkSourceMark"><span class="type">GtkSourceMark</span></a> *mark</code></em>);</pre>
|
180
180
|
<p>Returns the mark category.</p>
|
181
181
|
<div class="refsect3">
|
@@ -204,11 +204,11 @@ gtk_source_mark_get_category (<em class="parameter"><code><a class="link" href="
|
|
204
204
|
<a name="gtk-source-mark-next"></a><h3>gtk_source_mark_next ()</h3>
|
205
205
|
<pre class="programlisting"><a class="link" href="GtkSourceMark.html" title="GtkSourceMark"><span class="returnvalue">GtkSourceMark</span></a> *
|
206
206
|
gtk_source_mark_next (<em class="parameter"><code><a class="link" href="GtkSourceMark.html" title="GtkSourceMark"><span class="type">GtkSourceMark</span></a> *mark</code></em>,
|
207
|
-
<em class="parameter"><code>const <a href="/
|
208
|
-
<p>Returns the next <a class="link" href="GtkSourceMark.html" title="GtkSourceMark"><span class="type">GtkSourceMark</span></a> in the buffer or <a href="/
|
209
|
-
was not added to a buffer. If there is no next mark, <a href="/
|
207
|
+
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *category</code></em>);</pre>
|
208
|
+
<p>Returns the next <a class="link" href="GtkSourceMark.html" title="GtkSourceMark"><span class="type">GtkSourceMark</span></a> in the buffer or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the mark
|
209
|
+
was not added to a buffer. If there is no next mark, <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> will be returned.</p>
|
210
210
|
<p>If <em class="parameter"><code>category</code></em>
|
211
|
-
is <a href="/
|
211
|
+
is <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, looks for marks of any category.</p>
|
212
212
|
<div class="refsect3">
|
213
213
|
<a name="gtk-source-mark-next.parameters"></a><h4>Parameters</h4>
|
214
214
|
<div class="informaltable"><table width="100%" border="0">
|
@@ -225,7 +225,7 @@ was not added to a buffer. If there is no next mark, <a href="/usr/share/gtk-doc
|
|
225
225
|
</tr>
|
226
226
|
<tr>
|
227
227
|
<td class="parameter_name"><p>category</p></td>
|
228
|
-
<td class="parameter_description"><p> a string specifying the mark category, or <a href="/
|
228
|
+
<td class="parameter_description"><p> a string specifying the mark category, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
229
229
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
230
230
|
</tr>
|
231
231
|
</tbody>
|
@@ -233,7 +233,7 @@ was not added to a buffer. If there is no next mark, <a href="/usr/share/gtk-doc
|
|
233
233
|
</div>
|
234
234
|
<div class="refsect3">
|
235
235
|
<a name="gtk-source-mark-next.returns"></a><h4>Returns</h4>
|
236
|
-
<p> the next <a class="link" href="GtkSourceMark.html" title="GtkSourceMark"><span class="type">GtkSourceMark</span></a>, or <a href="/
|
236
|
+
<p> the next <a class="link" href="GtkSourceMark.html" title="GtkSourceMark"><span class="type">GtkSourceMark</span></a>, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
|
237
237
|
<p><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>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
238
238
|
</div>
|
239
239
|
<p class="since">Since: <a class="link" href="api-index-2-2.html#api-index-2.2">2.2</a></p>
|
@@ -243,11 +243,11 @@ was not added to a buffer. If there is no next mark, <a href="/usr/share/gtk-doc
|
|
243
243
|
<a name="gtk-source-mark-prev"></a><h3>gtk_source_mark_prev ()</h3>
|
244
244
|
<pre class="programlisting"><a class="link" href="GtkSourceMark.html" title="GtkSourceMark"><span class="returnvalue">GtkSourceMark</span></a> *
|
245
245
|
gtk_source_mark_prev (<em class="parameter"><code><a class="link" href="GtkSourceMark.html" title="GtkSourceMark"><span class="type">GtkSourceMark</span></a> *mark</code></em>,
|
246
|
-
<em class="parameter"><code>const <a href="/
|
247
|
-
<p>Returns the previous <a class="link" href="GtkSourceMark.html" title="GtkSourceMark"><span class="type">GtkSourceMark</span></a> in the buffer or <a href="/
|
248
|
-
was not added to a buffer. If there is no previous mark, <a href="/
|
246
|
+
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *category</code></em>);</pre>
|
247
|
+
<p>Returns the previous <a class="link" href="GtkSourceMark.html" title="GtkSourceMark"><span class="type">GtkSourceMark</span></a> in the buffer or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the mark
|
248
|
+
was not added to a buffer. If there is no previous mark, <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is returned.</p>
|
249
249
|
<p>If <em class="parameter"><code>category</code></em>
|
250
|
-
is <a href="/
|
250
|
+
is <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, looks for marks of any category</p>
|
251
251
|
<div class="refsect3">
|
252
252
|
<a name="gtk-source-mark-prev.parameters"></a><h4>Parameters</h4>
|
253
253
|
<div class="informaltable"><table width="100%" border="0">
|
@@ -264,7 +264,7 @@ was not added to a buffer. If there is no previous mark, <a href="/usr/share/gtk
|
|
264
264
|
</tr>
|
265
265
|
<tr>
|
266
266
|
<td class="parameter_name"><p>category</p></td>
|
267
|
-
<td class="parameter_description"><p>a string specifying the mark category, or <a href="/
|
267
|
+
<td class="parameter_description"><p>a string specifying the mark category, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p></td>
|
268
268
|
<td class="parameter_annotations"> </td>
|
269
269
|
</tr>
|
270
270
|
</tbody>
|
@@ -272,7 +272,7 @@ was not added to a buffer. If there is no previous mark, <a href="/usr/share/gtk
|
|
272
272
|
</div>
|
273
273
|
<div class="refsect3">
|
274
274
|
<a name="gtk-source-mark-prev.returns"></a><h4>Returns</h4>
|
275
|
-
<p> the previous <a class="link" href="GtkSourceMark.html" title="GtkSourceMark"><span class="type">GtkSourceMark</span></a>, or <a href="/
|
275
|
+
<p> the previous <a class="link" href="GtkSourceMark.html" title="GtkSourceMark"><span class="type">GtkSourceMark</span></a>, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
|
276
276
|
<p><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>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
277
277
|
</div>
|
278
278
|
<p class="since">Since: <a class="link" href="api-index-2-2.html#api-index-2.2">2.2</a></p>
|
@@ -289,7 +289,7 @@ was not added to a buffer. If there is no previous mark, <a href="/usr/share/gtk
|
|
289
289
|
<a name="GtkSourceMark.property-details"></a><h2>Property Details</h2>
|
290
290
|
<div class="refsect2">
|
291
291
|
<a name="GtkSourceMark--category"></a><h3>The <code class="literal">“category”</code> property</h3>
|
292
|
-
<pre class="programlisting"> “category” <a href="/
|
292
|
+
<pre class="programlisting"> “category” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
|
293
293
|
<p>The category of the <a class="link" href="GtkSourceMark.html" title="GtkSourceMark"><span class="type">GtkSourceMark</span></a>, classifies the mark and controls
|
294
294
|
which pixbuf is used and with which priority it is drawn.</p>
|
295
295
|
<p>Flags: Read / Write / Construct Only</p>
|