gtksourceview3 3.0.8-x86-mingw32 → 3.0.9-x86-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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1ff42c689df07b8daef15ad5ad5634c5a7bd0760
|
4
|
+
data.tar.gz: bc400ba29ca7f2d3389611a95226247dc7c9b28f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b0d57a0b06041f717d5e6c6ea33e1338d58cade78d9120a6ea3fafd50c3db207825d88548b9950997afb31b58cf30b0bfe6c4b15e671a4cfdf80c37d894ebd31
|
7
|
+
data.tar.gz: 5d87ffffe20f60915ca4898e4b3b3cb17cd3fa473068a4c782abce63aac8be40b69db08082f1aa1e22f3e81aae080fabdb8098c3211e6bbd1a47957ed1eb5deb
|
data/Rakefile
CHANGED
@@ -44,7 +44,7 @@ package_task = GNOME2::Rake::PackageTask.new do |package|
|
|
44
44
|
:name => "gtksourceview",
|
45
45
|
:download_site => :gnome,
|
46
46
|
:label => "GtkSourceView",
|
47
|
-
:version => "3.20.
|
47
|
+
:version => "3.20.4",
|
48
48
|
:compression_method => "xz",
|
49
49
|
:windows => {
|
50
50
|
:configure_args => [
|
Binary file
|
@@ -4,18 +4,19 @@
|
|
4
4
|
* Copyright (C) 2015 Christian Hergert <christian@hergert.me>
|
5
5
|
* Copyright (C) 2015 Ignacio Casal Quinteiro <icq@gnome.org>
|
6
6
|
*
|
7
|
-
*
|
8
|
-
* it under the terms of the GNU General Public
|
9
|
-
* the Free Software Foundation
|
10
|
-
* (at your option) any later version.
|
7
|
+
* GtkSourceView is free software; you can redistribute it and/or
|
8
|
+
* modify it under the terms of the GNU Lesser General Public
|
9
|
+
* License as published by the Free Software Foundation; either
|
10
|
+
* version 2.1 of the License, or (at your option) any later version.
|
11
11
|
*
|
12
|
-
*
|
12
|
+
* GtkSourceView is distributed in the hope that it will be useful,
|
13
13
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
14
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
15
|
-
*
|
14
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
15
|
+
* Lesser General Public License for more details.
|
16
16
|
*
|
17
|
-
* You should have received a copy of the GNU General Public
|
18
|
-
* along with this
|
17
|
+
* You should have received a copy of the GNU Lesser General Public
|
18
|
+
* License along with this library; if not, write to the Free Software
|
19
|
+
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
19
20
|
*/
|
20
21
|
|
21
22
|
#ifndef __GTK_SOURCE_MAP_H__
|
Binary file
|
@@ -5,8 +5,8 @@ includedir=${prefix}/include
|
|
5
5
|
|
6
6
|
Name: gtksourceview
|
7
7
|
Description: Source code editing widget
|
8
|
-
Version: 3.20.
|
9
|
-
Requires: glib-2.0 >= 2.
|
10
|
-
Requires.private: libxml-2.0 >= 2.6
|
8
|
+
Version: 3.20.4
|
9
|
+
Requires: glib-2.0 >= 2.48 gio-2.0 >= 2.48 gtk+-3.0 >= 3.20
|
10
|
+
Requires.private: libxml-2.0 >= 2.6
|
11
11
|
Libs: -L${libdir} -lgtksourceview-3.0
|
12
12
|
Cflags: -I${includedir}/gtksourceview-3.0
|
@@ -1070,7 +1070,7 @@ updated (e.g. the no-spell-check context class).</doc>
|
|
1070
1070
|
</return-value>
|
1071
1071
|
</glib:signal>
|
1072
1072
|
<glib:signal name="source-mark-updated" when="last">
|
1073
|
-
<doc xml:space="preserve">The ::
|
1073
|
+
<doc xml:space="preserve">The ::source-mark-updated signal is emitted each time
|
1074
1074
|
a mark is added to, moved or removed from the @buffer.</doc>
|
1075
1075
|
<return-value transfer-ownership="none">
|
1076
1076
|
<type name="none" c:type="void"/>
|
@@ -60,7 +60,7 @@
|
|
60
60
|
</tr>
|
61
61
|
<tr>
|
62
62
|
<td class="function_type">
|
63
|
-
<a href="/
|
63
|
+
<a href="http://developer.gnome.org/gtk3/GtkTextTag.html#GtkTextTag-struct"><span class="returnvalue">GtkTextTag</span></a> *
|
64
64
|
</td>
|
65
65
|
<td class="function_name">
|
66
66
|
<a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-create-source-tag" title="gtk_source_buffer_create_source_tag ()">gtk_source_buffer_create_source_tag</a> <span class="c_punctuation">()</span>
|
@@ -76,7 +76,7 @@
|
|
76
76
|
</tr>
|
77
77
|
<tr>
|
78
78
|
<td class="function_type">
|
79
|
-
<a href="/
|
79
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
80
80
|
</td>
|
81
81
|
<td class="function_name">
|
82
82
|
<a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-get-highlight-syntax" title="gtk_source_buffer_get_highlight_syntax ()">gtk_source_buffer_get_highlight_syntax</a> <span class="c_punctuation">()</span>
|
@@ -108,7 +108,7 @@
|
|
108
108
|
</tr>
|
109
109
|
<tr>
|
110
110
|
<td class="function_type">
|
111
|
-
<a href="/
|
111
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
112
112
|
</td>
|
113
113
|
<td class="function_name">
|
114
114
|
<a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-get-highlight-matching-brackets" title="gtk_source_buffer_get_highlight_matching_brackets ()">gtk_source_buffer_get_highlight_matching_brackets</a> <span class="c_punctuation">()</span>
|
@@ -156,7 +156,7 @@
|
|
156
156
|
</tr>
|
157
157
|
<tr>
|
158
158
|
<td class="function_type">
|
159
|
-
<a href="/
|
159
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
160
160
|
</td>
|
161
161
|
<td class="function_name">
|
162
162
|
<a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-can-undo" title="gtk_source_buffer_can_undo ()">gtk_source_buffer_can_undo</a> <span class="c_punctuation">()</span>
|
@@ -164,7 +164,7 @@
|
|
164
164
|
</tr>
|
165
165
|
<tr>
|
166
166
|
<td class="function_type">
|
167
|
-
<a href="/
|
167
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
168
168
|
</td>
|
169
169
|
<td class="function_name">
|
170
170
|
<a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-can-redo" title="gtk_source_buffer_can_redo ()">gtk_source_buffer_can_redo</a> <span class="c_punctuation">()</span>
|
@@ -188,7 +188,7 @@
|
|
188
188
|
</tr>
|
189
189
|
<tr>
|
190
190
|
<td class="function_type">
|
191
|
-
<a href="/
|
191
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
192
192
|
</td>
|
193
193
|
<td class="function_name">
|
194
194
|
<a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-get-max-undo-levels" title="gtk_source_buffer_get_max_undo_levels ()">gtk_source_buffer_get_max_undo_levels</a> <span class="c_punctuation">()</span>
|
@@ -220,7 +220,7 @@
|
|
220
220
|
</tr>
|
221
221
|
<tr>
|
222
222
|
<td class="function_type">
|
223
|
-
<a href="/
|
223
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
224
224
|
</td>
|
225
225
|
<td class="function_name">
|
226
226
|
<a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-iter-has-context-class" title="gtk_source_buffer_iter_has_context_class ()">gtk_source_buffer_iter_has_context_class</a> <span class="c_punctuation">()</span>
|
@@ -228,7 +228,7 @@
|
|
228
228
|
</tr>
|
229
229
|
<tr>
|
230
230
|
<td class="function_type">
|
231
|
-
<a href="/
|
231
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> **
|
232
232
|
</td>
|
233
233
|
<td class="function_name">
|
234
234
|
<a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-get-context-classes-at-iter" title="gtk_source_buffer_get_context_classes_at_iter ()">gtk_source_buffer_get_context_classes_at_iter</a> <span class="c_punctuation">()</span>
|
@@ -236,7 +236,7 @@
|
|
236
236
|
</tr>
|
237
237
|
<tr>
|
238
238
|
<td class="function_type">
|
239
|
-
<a href="/
|
239
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
240
240
|
</td>
|
241
241
|
<td class="function_name">
|
242
242
|
<a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-iter-forward-to-context-class-toggle" title="gtk_source_buffer_iter_forward_to_context_class_toggle ()">gtk_source_buffer_iter_forward_to_context_class_toggle</a> <span class="c_punctuation">()</span>
|
@@ -244,7 +244,7 @@
|
|
244
244
|
</tr>
|
245
245
|
<tr>
|
246
246
|
<td class="function_type">
|
247
|
-
<a href="/
|
247
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
248
248
|
</td>
|
249
249
|
<td class="function_name">
|
250
250
|
<a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-iter-backward-to-context-class-toggle" title="gtk_source_buffer_iter_backward_to_context_class_toggle ()">gtk_source_buffer_iter_backward_to_context_class_toggle</a> <span class="c_punctuation">()</span>
|
@@ -260,7 +260,7 @@
|
|
260
260
|
</tr>
|
261
261
|
<tr>
|
262
262
|
<td class="function_type">
|
263
|
-
<a href="/
|
263
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
264
264
|
</td>
|
265
265
|
<td class="function_name">
|
266
266
|
<a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-forward-iter-to-source-mark" title="gtk_source_buffer_forward_iter_to_source_mark ()">gtk_source_buffer_forward_iter_to_source_mark</a> <span class="c_punctuation">()</span>
|
@@ -268,7 +268,7 @@
|
|
268
268
|
</tr>
|
269
269
|
<tr>
|
270
270
|
<td class="function_type">
|
271
|
-
<a href="/
|
271
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
272
272
|
</td>
|
273
273
|
<td class="function_name">
|
274
274
|
<a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-backward-iter-to-source-mark" title="gtk_source_buffer_backward_iter_to_source_mark ()">gtk_source_buffer_backward_iter_to_source_mark</a> <span class="c_punctuation">()</span>
|
@@ -276,7 +276,7 @@
|
|
276
276
|
</tr>
|
277
277
|
<tr>
|
278
278
|
<td class="function_type">
|
279
|
-
<a href="/
|
279
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> *
|
280
280
|
</td>
|
281
281
|
<td class="function_name">
|
282
282
|
<a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-get-source-marks-at-line" title="gtk_source_buffer_get_source_marks_at_line ()">gtk_source_buffer_get_source_marks_at_line</a> <span class="c_punctuation">()</span>
|
@@ -284,7 +284,7 @@
|
|
284
284
|
</tr>
|
285
285
|
<tr>
|
286
286
|
<td class="function_type">
|
287
|
-
<a href="/
|
287
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> *
|
288
288
|
</td>
|
289
289
|
<td class="function_name">
|
290
290
|
<a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-get-source-marks-at-iter" title="gtk_source_buffer_get_source_marks_at_iter ()">gtk_source_buffer_get_source_marks_at_iter</a> <span class="c_punctuation">()</span>
|
@@ -332,7 +332,7 @@
|
|
332
332
|
</tr>
|
333
333
|
<tr>
|
334
334
|
<td class="function_type">
|
335
|
-
<a href="/
|
335
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
336
336
|
</td>
|
337
337
|
<td class="function_name">
|
338
338
|
<a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-get-implicit-trailing-newline" title="gtk_source_buffer_get_implicit_trailing_newline ()">gtk_source_buffer_get_implicit_trailing_newline</a> <span class="c_punctuation">()</span>
|
@@ -351,27 +351,27 @@
|
|
351
351
|
</colgroup>
|
352
352
|
<tbody>
|
353
353
|
<tr>
|
354
|
-
<td class="property_type"><a href="/
|
354
|
+
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
355
355
|
<td class="property_name"><a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer--can-redo" title="The “can-redo” property">can-redo</a></td>
|
356
356
|
<td class="property_flags">Read</td>
|
357
357
|
</tr>
|
358
358
|
<tr>
|
359
|
-
<td class="property_type"><a href="/
|
359
|
+
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
360
360
|
<td class="property_name"><a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer--can-undo" title="The “can-undo” property">can-undo</a></td>
|
361
361
|
<td class="property_flags">Read</td>
|
362
362
|
</tr>
|
363
363
|
<tr>
|
364
|
-
<td class="property_type"><a href="/
|
364
|
+
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
365
365
|
<td class="property_name"><a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer--highlight-matching-brackets" title="The “highlight-matching-brackets” property">highlight-matching-brackets</a></td>
|
366
366
|
<td class="property_flags">Read / Write</td>
|
367
367
|
</tr>
|
368
368
|
<tr>
|
369
|
-
<td class="property_type"><a href="/
|
369
|
+
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
370
370
|
<td class="property_name"><a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer--highlight-syntax" title="The “highlight-syntax” property">highlight-syntax</a></td>
|
371
371
|
<td class="property_flags">Read / Write</td>
|
372
372
|
</tr>
|
373
373
|
<tr>
|
374
|
-
<td class="property_type"><a href="/
|
374
|
+
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
375
375
|
<td class="property_name"><a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer--implicit-trailing-newline" title="The “implicit-trailing-newline” property">implicit-trailing-newline</a></td>
|
376
376
|
<td class="property_flags">Read / Write / Construct</td>
|
377
377
|
</tr>
|
@@ -382,7 +382,7 @@
|
|
382
382
|
<td class="property_flags">Read / Write</td>
|
383
383
|
</tr>
|
384
384
|
<tr>
|
385
|
-
<td class="property_type"><a href="/
|
385
|
+
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
|
386
386
|
<td class="property_name"><a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer--max-undo-levels" title="The “max-undo-levels” property">max-undo-levels</a></td>
|
387
387
|
<td class="property_flags">Read / Write</td>
|
388
388
|
</tr>
|
@@ -413,27 +413,27 @@
|
|
413
413
|
<tr>
|
414
414
|
<td class="signal_type"><span class="returnvalue">void</span></td>
|
415
415
|
<td class="signal_name"><a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer-bracket-matched" title="The “bracket-matched” signal">bracket-matched</a></td>
|
416
|
-
<td class="signal_flags"><a href="/
|
416
|
+
<td class="signal_flags"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
417
417
|
</tr>
|
418
418
|
<tr>
|
419
419
|
<td class="signal_type"><span class="returnvalue">void</span></td>
|
420
420
|
<td class="signal_name"><a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer-highlight-updated" title="The “highlight-updated” signal">highlight-updated</a></td>
|
421
|
-
<td class="signal_flags"><a href="/
|
421
|
+
<td class="signal_flags"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
422
422
|
</tr>
|
423
423
|
<tr>
|
424
424
|
<td class="signal_type"><span class="returnvalue">void</span></td>
|
425
425
|
<td class="signal_name"><a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer-redo" title="The “redo” signal">redo</a></td>
|
426
|
-
<td class="signal_flags"><a href="/
|
426
|
+
<td class="signal_flags"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
427
427
|
</tr>
|
428
428
|
<tr>
|
429
429
|
<td class="signal_type"><span class="returnvalue">void</span></td>
|
430
430
|
<td class="signal_name"><a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer-source-mark-updated" title="The “source-mark-updated” signal">source-mark-updated</a></td>
|
431
|
-
<td class="signal_flags"><a href="/
|
431
|
+
<td class="signal_flags"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
432
432
|
</tr>
|
433
433
|
<tr>
|
434
434
|
<td class="signal_type"><span class="returnvalue">void</span></td>
|
435
435
|
<td class="signal_name"><a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer-undo" title="The “undo” signal">undo</a></td>
|
436
|
-
<td class="signal_flags"><a href="/
|
436
|
+
<td class="signal_flags"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
437
437
|
</tr>
|
438
438
|
</tbody>
|
439
439
|
</table></div>
|
@@ -467,8 +467,8 @@
|
|
467
467
|
</div>
|
468
468
|
<div class="refsect1">
|
469
469
|
<a name="GtkSourceBuffer.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
470
|
-
<pre class="screen"> <a href="/
|
471
|
-
<span class="lineart">╰──</span> <a href="/
|
470
|
+
<pre class="screen"> <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
|
471
|
+
<span class="lineart">╰──</span> <a href="http://developer.gnome.org/gtk3/GtkTextBuffer.html#GtkTextBuffer-struct">GtkTextBuffer</a>
|
472
472
|
<span class="lineart">╰──</span> GtkSourceBuffer
|
473
473
|
</pre>
|
474
474
|
</div>
|
@@ -480,14 +480,14 @@
|
|
480
480
|
<div class="refsect1">
|
481
481
|
<a name="GtkSourceBuffer.description"></a><h2>Description</h2>
|
482
482
|
<p>A <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> object is the model for <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> widgets.
|
483
|
-
It extends the <a href="/
|
483
|
+
It extends the <a href="http://developer.gnome.org/gtk3/GtkTextBuffer.html#GtkTextBuffer-struct"><span class="type">GtkTextBuffer</span></a> class by adding features useful to display
|
484
484
|
and edit source code such as syntax highlighting and bracket matching. It
|
485
485
|
also implements support for the undo/redo.</p>
|
486
486
|
<p>To create a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> use <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-new" title="gtk_source_buffer_new ()"><code class="function">gtk_source_buffer_new()</code></a> or
|
487
487
|
<a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-new-with-language" title="gtk_source_buffer_new_with_language ()"><code class="function">gtk_source_buffer_new_with_language()</code></a>. The second form is just a convenience
|
488
488
|
function which allows you to initially set a <a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a>. You can also
|
489
489
|
directly create a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> and get its <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> with
|
490
|
-
<a href="/
|
490
|
+
<a href="http://developer.gnome.org/gtk3/GtkTextView.html#gtk-text-view-get-buffer"><code class="function">gtk_text_view_get_buffer()</code></a>.</p>
|
491
491
|
<p>The highlighting is enabled by default, but you can disable it with
|
492
492
|
<a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-set-highlight-syntax" title="gtk_source_buffer_set_highlight_syntax ()"><code class="function">gtk_source_buffer_set_highlight_syntax()</code></a>.</p>
|
493
493
|
<div class="refsect2">
|
@@ -497,16 +497,16 @@ directly create a <a class="link" href="GtkSourceView.html" title="GtkSourceView
|
|
497
497
|
should be suitable for most uses, so you can use the API provided by
|
498
498
|
<a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> instead of using <a class="link" href="GtkSourceUndoManager.html" title="GtkSourceUndoManager"><span class="type">GtkSourceUndoManager</span></a>. By default, actions
|
499
499
|
that can be undone or redone are defined as groups of operations between a
|
500
|
-
call to <a href="/
|
501
|
-
<a href="/
|
500
|
+
call to <a href="http://developer.gnome.org/gtk3/GtkTextBuffer.html#gtk-text-buffer-begin-user-action"><code class="function">gtk_text_buffer_begin_user_action()</code></a> and
|
501
|
+
<a href="http://developer.gnome.org/gtk3/GtkTextBuffer.html#gtk-text-buffer-end-user-action"><code class="function">gtk_text_buffer_end_user_action()</code></a>. In general, this happens whenever the user
|
502
502
|
presses any key which modifies the buffer. But the default undo manager will
|
503
503
|
try to merge similar consecutive actions into one undo/redo level. The
|
504
504
|
merging is done word by word, so after writing a new sentence (character by
|
505
505
|
character), each undo will remove the previous word.</p>
|
506
506
|
<p>The default undo manager remembers the "modified" state of the buffer, and
|
507
507
|
restores it when an action is undone or redone. It can be useful in a text
|
508
|
-
editor to know whether the file is saved. See <a href="/
|
509
|
-
and <a href="/
|
508
|
+
editor to know whether the file is saved. See <a href="http://developer.gnome.org/gtk3/GtkTextBuffer.html#gtk-text-buffer-get-modified"><code class="function">gtk_text_buffer_get_modified()</code></a>
|
509
|
+
and <a href="http://developer.gnome.org/gtk3/GtkTextBuffer.html#gtk-text-buffer-set-modified"><code class="function">gtk_text_buffer_set_modified()</code></a>.</p>
|
510
510
|
<p>The default undo manager also restores the selected text (or cursor
|
511
511
|
position), if the selection was related to the action. For example if the
|
512
512
|
user selects some text and deletes it, an undo will restore the selection. On
|
@@ -538,9 +538,9 @@ a string parameter as the context class.</p>
|
|
538
538
|
<a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-iter-backward-to-context-class-toggle" title="gtk_source_buffer_iter_backward_to_context_class_toggle ()"><code class="function">gtk_source_buffer_iter_backward_to_context_class_toggle()</code></a>.</p>
|
539
539
|
<p>And the <a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer-highlight-updated" title="The “highlight-updated” signal"><span class="type">“highlight-updated”</span></a> signal permits to be notified
|
540
540
|
when a context class region changes.</p>
|
541
|
-
<p>Each context class has also an associated <a href="/
|
541
|
+
<p>Each context class has also an associated <a href="http://developer.gnome.org/gtk3/GtkTextTag.html#GtkTextTag-struct"><span class="type">GtkTextTag</span></a> with the name
|
542
542
|
<span class="emphasis"><em>gtksourceview:context-classes:<name></em></span>. For example to
|
543
|
-
retrieve the <a href="/
|
543
|
+
retrieve the <a href="http://developer.gnome.org/gtk3/GtkTextTag.html#GtkTextTag-struct"><span class="type">GtkTextTag</span></a> for the string context class, one can write:</p>
|
544
544
|
<div class="informalexample">
|
545
545
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
546
546
|
<tbody>
|
@@ -553,8 +553,8 @@ retrieve the <a href="/usr/share/gtk-doc/html/gtk3GtkTextTag.html#GtkTextTag-str
|
|
553
553
|
<td class="listing_code"><pre class="programlisting"><span class="usertype">GtkTextTagTable</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">tag_table</span><span class="symbol">;</span>
|
554
554
|
<span class="usertype">GtkTextTag</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">tag</span><span class="symbol">;</span>
|
555
555
|
|
556
|
-
<span class="normal">tag_table </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="/
|
557
|
-
<span class="normal">tag </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="/
|
556
|
+
<span class="normal">tag_table </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="http://developer.gnome.org/gtk3/GtkTextBuffer.html#gtk-text-buffer-get-tag-table">gtk_text_buffer_get_tag_table</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">buffer</span><span class="symbol">);</span>
|
557
|
+
<span class="normal">tag </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="http://developer.gnome.org/gtk3/GtkTextTagTable.html#gtk-text-tag-table-lookup">gtk_text_tag_table_lookup</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">tag_table</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"gtksourceview:context-classes:string"</span><span class="symbol">);</span></pre></td>
|
558
558
|
</tr>
|
559
559
|
</tbody>
|
560
560
|
</table>
|
@@ -562,16 +562,16 @@ retrieve the <a href="/usr/share/gtk-doc/html/gtk3GtkTextTag.html#GtkTextTag-str
|
|
562
562
|
|
563
563
|
<p></p>
|
564
564
|
<p>The tag must be used for read-only purposes.</p>
|
565
|
-
<p>Accessing a context class via the associated <a href="/
|
565
|
+
<p>Accessing a context class via the associated <a href="http://developer.gnome.org/gtk3/GtkTextTag.html#GtkTextTag-struct"><span class="type">GtkTextTag</span></a> is less
|
566
566
|
convenient than the <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> API, because:</p>
|
567
567
|
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
|
568
568
|
<li class="listitem"><p>The tag doesn't always exist, you need to listen to the
|
569
|
-
<a href="/
|
569
|
+
<a href="http://developer.gnome.org/gtk3/GtkTextTagTable.html#GtkTextTagTable-tag-added"><span class="type">“tag-added”</span></a> and <a href="http://developer.gnome.org/gtk3/GtkTextTagTable.html#GtkTextTagTable-tag-removed"><span class="type">“tag-removed”</span></a> signals.</p></li>
|
570
570
|
<li class="listitem"><p>Instead of the <a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer-highlight-updated" title="The “highlight-updated” signal"><span class="type">“highlight-updated”</span></a> signal, you can listen
|
571
|
-
to the <a href="/
|
571
|
+
to the <a href="http://developer.gnome.org/gtk3/GtkTextBuffer.html#GtkTextBuffer-apply-tag"><span class="type">“apply-tag”</span></a> and <a href="http://developer.gnome.org/gtk3/GtkTextBuffer.html#GtkTextBuffer-remove-tag"><span class="type">“remove-tag”</span></a> signals.</p></li>
|
572
572
|
</ul></div>
|
573
573
|
<p>A possible use-case for accessing a context class via the associated
|
574
|
-
<a href="/
|
574
|
+
<a href="http://developer.gnome.org/gtk3/GtkTextTag.html#GtkTextTag-struct"><span class="type">GtkTextTag</span></a> is to read the region but without adding a hard dependency on the
|
575
575
|
GtkSourceView library (for example for a spell-checking library that wants to
|
576
576
|
read the no-spell-check region).</p>
|
577
577
|
</div>
|
@@ -581,7 +581,7 @@ read the no-spell-check region).</p>
|
|
581
581
|
<div class="refsect2">
|
582
582
|
<a name="gtk-source-buffer-new"></a><h3>gtk_source_buffer_new ()</h3>
|
583
583
|
<pre class="programlisting"><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="returnvalue">GtkSourceBuffer</span></a> *
|
584
|
-
gtk_source_buffer_new (<em class="parameter"><code><a href="/
|
584
|
+
gtk_source_buffer_new (<em class="parameter"><code><a href="http://developer.gnome.org/gtk3/GtkTextTagTable.html#GtkTextTagTable-struct"><span class="type">GtkTextTagTable</span></a> *table</code></em>);</pre>
|
585
585
|
<p>Creates a new source buffer.</p>
|
586
586
|
<div class="refsect3">
|
587
587
|
<a name="gtk-source-buffer-new.parameters"></a><h4>Parameters</h4>
|
@@ -593,7 +593,7 @@ gtk_source_buffer_new (<em class="parameter"><code><a href="/usr/share/gtk-doc/h
|
|
593
593
|
</colgroup>
|
594
594
|
<tbody><tr>
|
595
595
|
<td class="parameter_name"><p>table</p></td>
|
596
|
-
<td class="parameter_description"><p> a <a href="/
|
596
|
+
<td class="parameter_description"><p> a <a href="http://developer.gnome.org/gtk3/GtkTextTagTable.html#GtkTextTagTable-struct"><span class="type">GtkTextTagTable</span></a>, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to create a new one. </p></td>
|
597
597
|
<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>
|
598
598
|
</tr></tbody>
|
599
599
|
</table></div>
|
@@ -637,27 +637,27 @@ according to the highlighting patterns in <em class="parameter"><code>language</
|
|
637
637
|
<hr>
|
638
638
|
<div class="refsect2">
|
639
639
|
<a name="gtk-source-buffer-create-source-tag"></a><h3>gtk_source_buffer_create_source_tag ()</h3>
|
640
|
-
<pre class="programlisting"><a href="/
|
640
|
+
<pre class="programlisting"><a href="http://developer.gnome.org/gtk3/GtkTextTag.html#GtkTextTag-struct"><span class="returnvalue">GtkTextTag</span></a> *
|
641
641
|
gtk_source_buffer_create_source_tag (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
642
|
-
<em class="parameter"><code>const <a href="/
|
643
|
-
<em class="parameter"><code>const <a href="/
|
642
|
+
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *tag_name</code></em>,
|
643
|
+
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *first_property_name</code></em>,
|
644
644
|
<em class="parameter"><code>...</code></em>);</pre>
|
645
|
-
<p>In short, this is the same function as <a href="/
|
646
|
-
instead of creating a <a href="/
|
645
|
+
<p>In short, this is the same function as <a href="http://developer.gnome.org/gtk3/GtkTextBuffer.html#gtk-text-buffer-create-tag"><code class="function">gtk_text_buffer_create_tag()</code></a>, but
|
646
|
+
instead of creating a <a href="http://developer.gnome.org/gtk3/GtkTextTag.html#GtkTextTag-struct"><span class="type">GtkTextTag</span></a>, this function creates a <a class="link" href="GtkSourceTag.html" title="GtkSourceTag"><span class="type">GtkSourceTag</span></a>.</p>
|
647
647
|
<p>This function creates a <a class="link" href="GtkSourceTag.html" title="GtkSourceTag"><span class="type">GtkSourceTag</span></a> and adds it to the tag table for
|
648
648
|
<em class="parameter"><code>buffer</code></em>
|
649
|
-
. Equivalent to calling <a href="/
|
649
|
+
. Equivalent to calling <a href="http://developer.gnome.org/gtk3/GtkTextTag.html#gtk-text-tag-new"><code class="function">gtk_text_tag_new()</code></a> and then adding the tag to
|
650
650
|
the buffer’s tag table. The returned tag is owned by the buffer’s tag table,
|
651
651
|
so the ref count will be equal to one.</p>
|
652
652
|
<p>If <em class="parameter"><code>tag_name</code></em>
|
653
|
-
is <a href="/
|
653
|
+
is <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, the tag is anonymous.</p>
|
654
654
|
<p>If <em class="parameter"><code>tag_name</code></em>
|
655
|
-
is non-<a href="/
|
655
|
+
is non-<a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, a tag called <em class="parameter"><code>tag_name</code></em>
|
656
656
|
must not already
|
657
657
|
exist in the tag table for this buffer.</p>
|
658
658
|
<p>The <em class="parameter"><code>first_property_name</code></em>
|
659
659
|
argument and subsequent arguments are a list
|
660
|
-
of properties to set on the tag, as with <a href="/
|
660
|
+
of properties to set on the tag, as with <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-set"><code class="function">g_object_set()</code></a>.</p>
|
661
661
|
<div class="refsect3">
|
662
662
|
<a name="gtk-source-buffer-create-source-tag.parameters"></a><h4>Parameters</h4>
|
663
663
|
<div class="informaltable"><table width="100%" border="0">
|
@@ -674,17 +674,17 @@ of properties to set on the tag, as with <a href="/usr/share/gtk-doc/html/gobjec
|
|
674
674
|
</tr>
|
675
675
|
<tr>
|
676
676
|
<td class="parameter_name"><p>tag_name</p></td>
|
677
|
-
<td class="parameter_description"><p> name of the new tag, or <a href="/
|
677
|
+
<td class="parameter_description"><p> name of the new tag, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
678
678
|
<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>
|
679
679
|
</tr>
|
680
680
|
<tr>
|
681
681
|
<td class="parameter_name"><p>first_property_name</p></td>
|
682
|
-
<td class="parameter_description"><p> name of first property to set, or <a href="/
|
682
|
+
<td class="parameter_description"><p> name of first property to set, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
683
683
|
<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>
|
684
684
|
</tr>
|
685
685
|
<tr>
|
686
686
|
<td class="parameter_name"><p>...</p></td>
|
687
|
-
<td class="parameter_description"><p><a href="/
|
687
|
+
<td class="parameter_description"><p><a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated list of property names and values</p></td>
|
688
688
|
<td class="parameter_annotations"> </td>
|
689
689
|
</tr>
|
690
690
|
</tbody>
|
@@ -703,13 +703,13 @@ of properties to set on the tag, as with <a href="/usr/share/gtk-doc/html/gobjec
|
|
703
703
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
704
704
|
gtk_source_buffer_set_highlight_syntax
|
705
705
|
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
706
|
-
<em class="parameter"><code><a href="/
|
706
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> highlight</code></em>);</pre>
|
707
707
|
<p>Controls whether syntax is highlighted in the buffer. If <em class="parameter"><code>highlight</code></em>
|
708
708
|
|
709
|
-
is <a href="/
|
709
|
+
is <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the text will be highlighted according to the syntax
|
710
710
|
patterns specified in the language set with
|
711
711
|
<a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-set-language" title="gtk_source_buffer_set_language ()"><code class="function">gtk_source_buffer_set_language()</code></a>. If <em class="parameter"><code>highlight</code></em>
|
712
|
-
is <a href="/
|
712
|
+
is <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>, syntax highlighting
|
713
713
|
is disabled and all the GtkTextTag objects that have been added by the
|
714
714
|
syntax highlighting engine are removed from the buffer.</p>
|
715
715
|
<div class="refsect3">
|
@@ -728,7 +728,7 @@ syntax highlighting engine are removed from the buffer.</p>
|
|
728
728
|
</tr>
|
729
729
|
<tr>
|
730
730
|
<td class="parameter_name"><p>highlight</p></td>
|
731
|
-
<td class="parameter_description"><p><a href="/
|
731
|
+
<td class="parameter_description"><p><a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to enable syntax highlighting, <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> to disable it.</p></td>
|
732
732
|
<td class="parameter_annotations"> </td>
|
733
733
|
</tr>
|
734
734
|
</tbody>
|
@@ -738,7 +738,7 @@ syntax highlighting engine are removed from the buffer.</p>
|
|
738
738
|
<hr>
|
739
739
|
<div class="refsect2">
|
740
740
|
<a name="gtk-source-buffer-get-highlight-syntax"></a><h3>gtk_source_buffer_get_highlight_syntax ()</h3>
|
741
|
-
<pre class="programlisting"><a href="/
|
741
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
742
742
|
gtk_source_buffer_get_highlight_syntax
|
743
743
|
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);</pre>
|
744
744
|
<p>Determines whether syntax highlighting is activated in the source
|
@@ -760,7 +760,7 @@ buffer.</p>
|
|
760
760
|
</div>
|
761
761
|
<div class="refsect3">
|
762
762
|
<a name="gtk-source-buffer-get-highlight-syntax.returns"></a><h4>Returns</h4>
|
763
|
-
<p> <a href="/
|
763
|
+
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if syntax highlighting is enabled, <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
|
764
764
|
</div>
|
765
765
|
</div>
|
766
766
|
<hr>
|
@@ -771,11 +771,11 @@ gtk_source_buffer_set_language (<em class="parameter"><code><a class="link" href
|
|
771
771
|
<em class="parameter"><code><a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a> *language</code></em>);</pre>
|
772
772
|
<p>Associate a <a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a> with the buffer. If <em class="parameter"><code>language</code></em>
|
773
773
|
is
|
774
|
-
not-<a href="/
|
774
|
+
not-<a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> and syntax highlighting is enabled (see <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-set-highlight-syntax" title="gtk_source_buffer_set_highlight_syntax ()"><code class="function">gtk_source_buffer_set_highlight_syntax()</code></a>),
|
775
775
|
the syntax patterns defined in <em class="parameter"><code>language</code></em>
|
776
776
|
will be used to highlight the text
|
777
777
|
contained in the buffer. If <em class="parameter"><code>language</code></em>
|
778
|
-
is <a href="/
|
778
|
+
is <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, the text contained in the
|
779
779
|
buffer is not highlighted.</p>
|
780
780
|
<p>The buffer holds a reference to <em class="parameter"><code>language</code></em>
|
781
781
|
.</p>
|
@@ -795,7 +795,7 @@ buffer is not highlighted.</p>
|
|
795
795
|
</tr>
|
796
796
|
<tr>
|
797
797
|
<td class="parameter_name"><p>language</p></td>
|
798
|
-
<td class="parameter_description"><p> a <a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a> to set, or <a href="/
|
798
|
+
<td class="parameter_description"><p> a <a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a> to set, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
799
799
|
<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>
|
800
800
|
</tr>
|
801
801
|
</tbody>
|
@@ -828,7 +828,7 @@ unreferenced by the user.</p>
|
|
828
828
|
<div class="refsect3">
|
829
829
|
<a name="gtk-source-buffer-get-language.returns"></a><h4>Returns</h4>
|
830
830
|
<p> the <a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a> associated
|
831
|
-
with the buffer, or <a href="/
|
831
|
+
with the buffer, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
|
832
832
|
<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>
|
833
833
|
</div>
|
834
834
|
</div>
|
@@ -838,7 +838,7 @@ with the buffer, or <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.ht
|
|
838
838
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
839
839
|
gtk_source_buffer_set_highlight_matching_brackets
|
840
840
|
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
841
|
-
<em class="parameter"><code><a href="/
|
841
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> highlight</code></em>);</pre>
|
842
842
|
<p>Controls the bracket match highlighting function in the buffer. If
|
843
843
|
activated, when you position your cursor over a bracket character
|
844
844
|
(a parenthesis, a square bracket, etc.) the matching opening or
|
@@ -859,7 +859,7 @@ closing bracket character will be highlighted.</p>
|
|
859
859
|
</tr>
|
860
860
|
<tr>
|
861
861
|
<td class="parameter_name"><p>highlight</p></td>
|
862
|
-
<td class="parameter_description"><p><a href="/
|
862
|
+
<td class="parameter_description"><p><a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if you want matching brackets highlighted.</p></td>
|
863
863
|
<td class="parameter_annotations"> </td>
|
864
864
|
</tr>
|
865
865
|
</tbody>
|
@@ -869,7 +869,7 @@ closing bracket character will be highlighted.</p>
|
|
869
869
|
<hr>
|
870
870
|
<div class="refsect2">
|
871
871
|
<a name="gtk-source-buffer-get-highlight-matching-brackets"></a><h3>gtk_source_buffer_get_highlight_matching_brackets ()</h3>
|
872
|
-
<pre class="programlisting"><a href="/
|
872
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
873
873
|
gtk_source_buffer_get_highlight_matching_brackets
|
874
874
|
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);</pre>
|
875
875
|
<p>Determines whether bracket match highlighting is activated for the
|
@@ -891,7 +891,7 @@ source buffer.</p>
|
|
891
891
|
</div>
|
892
892
|
<div class="refsect3">
|
893
893
|
<a name="gtk-source-buffer-get-highlight-matching-brackets.returns"></a><h4>Returns</h4>
|
894
|
-
<p> <a href="/
|
894
|
+
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the source buffer will highlight matching
|
895
895
|
brackets.</p>
|
896
896
|
</div>
|
897
897
|
</div>
|
@@ -902,7 +902,7 @@ brackets.</p>
|
|
902
902
|
gtk_source_buffer_set_style_scheme (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
903
903
|
<em class="parameter"><code><a class="link" href="GtkSourceStyleScheme.html" title="GtkSourceStyleScheme"><span class="type">GtkSourceStyleScheme</span></a> *scheme</code></em>);</pre>
|
904
904
|
<p>Sets style scheme used by the buffer. If <em class="parameter"><code>scheme</code></em>
|
905
|
-
is <a href="/
|
905
|
+
is <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> no
|
906
906
|
style scheme is used.</p>
|
907
907
|
<div class="refsect3">
|
908
908
|
<a name="gtk-source-buffer-set-style-scheme.parameters"></a><h4>Parameters</h4>
|
@@ -920,7 +920,7 @@ style scheme is used.</p>
|
|
920
920
|
</tr>
|
921
921
|
<tr>
|
922
922
|
<td class="parameter_name"><p>scheme</p></td>
|
923
|
-
<td class="parameter_description"><p> a <a class="link" href="GtkSourceStyleScheme.html" title="GtkSourceStyleScheme"><span class="type">GtkSourceStyleScheme</span></a> or <a href="/
|
923
|
+
<td class="parameter_description"><p> a <a class="link" href="GtkSourceStyleScheme.html" title="GtkSourceStyleScheme"><span class="type">GtkSourceStyleScheme</span></a> or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
924
924
|
<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>
|
925
925
|
</tr>
|
926
926
|
</tbody>
|
@@ -953,7 +953,7 @@ The returned object should not be unreferenced by the user.</p>
|
|
953
953
|
<div class="refsect3">
|
954
954
|
<a name="gtk-source-buffer-get-style-scheme.returns"></a><h4>Returns</h4>
|
955
955
|
<p> the <a class="link" href="GtkSourceStyleScheme.html" title="GtkSourceStyleScheme"><span class="type">GtkSourceStyleScheme</span></a>
|
956
|
-
associated with the buffer, or <a href="/
|
956
|
+
associated with the buffer, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
|
957
957
|
<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>
|
958
958
|
</div>
|
959
959
|
</div>
|
@@ -962,8 +962,8 @@ associated with the buffer, or <a href="/usr/share/gtk-doc/html/glibglib-Standar
|
|
962
962
|
<a name="gtk-source-buffer-ensure-highlight"></a><h3>gtk_source_buffer_ensure_highlight ()</h3>
|
963
963
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
964
964
|
gtk_source_buffer_ensure_highlight (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
965
|
-
<em class="parameter"><code>const <a href="/
|
966
|
-
<em class="parameter"><code>const <a href="/
|
965
|
+
<em class="parameter"><code>const <a href="http://developer.gnome.org/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *start</code></em>,
|
966
|
+
<em class="parameter"><code>const <a href="http://developer.gnome.org/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *end</code></em>);</pre>
|
967
967
|
<p>Forces buffer to analyze and highlight the given area synchronously.</p>
|
968
968
|
<div class="note"><p>
|
969
969
|
This is a potentially slow operation and should be used only
|
@@ -1050,7 +1050,7 @@ to check whether a call to this function will have any effect.</p>
|
|
1050
1050
|
<hr>
|
1051
1051
|
<div class="refsect2">
|
1052
1052
|
<a name="gtk-source-buffer-can-undo"></a><h3>gtk_source_buffer_can_undo ()</h3>
|
1053
|
-
<pre class="programlisting"><a href="/
|
1053
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1054
1054
|
gtk_source_buffer_can_undo (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);</pre>
|
1055
1055
|
<p>Determines whether a source buffer can undo the last action.</p>
|
1056
1056
|
<div class="refsect3">
|
@@ -1070,13 +1070,13 @@ gtk_source_buffer_can_undo (<em class="parameter"><code><a class="link" href="Gt
|
|
1070
1070
|
</div>
|
1071
1071
|
<div class="refsect3">
|
1072
1072
|
<a name="gtk-source-buffer-can-undo.returns"></a><h4>Returns</h4>
|
1073
|
-
<p> <a href="/
|
1073
|
+
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if it's possible to undo the last action.</p>
|
1074
1074
|
</div>
|
1075
1075
|
</div>
|
1076
1076
|
<hr>
|
1077
1077
|
<div class="refsect2">
|
1078
1078
|
<a name="gtk-source-buffer-can-redo"></a><h3>gtk_source_buffer_can_redo ()</h3>
|
1079
|
-
<pre class="programlisting"><a href="/
|
1079
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1080
1080
|
gtk_source_buffer_can_redo (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);</pre>
|
1081
1081
|
<p>Determines whether a source buffer can redo the last action
|
1082
1082
|
(i.e. if the last operation was an undo).</p>
|
@@ -1097,7 +1097,7 @@ gtk_source_buffer_can_redo (<em class="parameter"><code><a class="link" href="Gt
|
|
1097
1097
|
</div>
|
1098
1098
|
<div class="refsect3">
|
1099
1099
|
<a name="gtk-source-buffer-can-redo.returns"></a><h4>Returns</h4>
|
1100
|
-
<p> <a href="/
|
1100
|
+
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if a redo is possible.</p>
|
1101
1101
|
</div>
|
1102
1102
|
</div>
|
1103
1103
|
<hr>
|
@@ -1157,7 +1157,7 @@ is re-enabled.</p>
|
|
1157
1157
|
<hr>
|
1158
1158
|
<div class="refsect2">
|
1159
1159
|
<a name="gtk-source-buffer-get-max-undo-levels"></a><h3>gtk_source_buffer_get_max_undo_levels ()</h3>
|
1160
|
-
<pre class="programlisting"><a href="/
|
1160
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
1161
1161
|
gtk_source_buffer_get_max_undo_levels (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);</pre>
|
1162
1162
|
<p>Determines the number of undo levels the buffer will track for buffer edits.</p>
|
1163
1163
|
<div class="refsect3">
|
@@ -1185,7 +1185,7 @@ gtk_source_buffer_get_max_undo_levels (<em class="parameter"><code><a class="lin
|
|
1185
1185
|
<a name="gtk-source-buffer-set-max-undo-levels"></a><h3>gtk_source_buffer_set_max_undo_levels ()</h3>
|
1186
1186
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1187
1187
|
gtk_source_buffer_set_max_undo_levels (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
1188
|
-
<em class="parameter"><code><a href="/
|
1188
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> max_undo_levels</code></em>);</pre>
|
1189
1189
|
<p>Sets the number of undo levels for user actions the buffer will
|
1190
1190
|
track. If the number of user actions exceeds the limit set by this
|
1191
1191
|
function, older actions will be discarded.</p>
|
@@ -1242,7 +1242,7 @@ unreferenced by the user.</p>
|
|
1242
1242
|
<div class="refsect3">
|
1243
1243
|
<a name="gtk-source-buffer-get-undo-manager.returns"></a><h4>Returns</h4>
|
1244
1244
|
<p> the <a class="link" href="GtkSourceUndoManager.html" title="GtkSourceUndoManager"><span class="type">GtkSourceUndoManager</span></a> associated
|
1245
|
-
with the buffer, or <a href="/
|
1245
|
+
with the buffer, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
|
1246
1246
|
<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>
|
1247
1247
|
</div>
|
1248
1248
|
</div>
|
@@ -1253,7 +1253,7 @@ with the buffer, or <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.ht
|
|
1253
1253
|
gtk_source_buffer_set_undo_manager (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
1254
1254
|
<em class="parameter"><code><a class="link" href="GtkSourceUndoManager.html" title="GtkSourceUndoManager"><span class="type">GtkSourceUndoManager</span></a> *manager</code></em>);</pre>
|
1255
1255
|
<p>Set the buffer undo manager. If <em class="parameter"><code>manager</code></em>
|
1256
|
-
is <a href="/
|
1256
|
+
is <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> the default undo manager
|
1257
1257
|
will be set.</p>
|
1258
1258
|
<div class="refsect3">
|
1259
1259
|
<a name="gtk-source-buffer-set-undo-manager.parameters"></a><h4>Parameters</h4>
|
@@ -1271,7 +1271,7 @@ will be set.</p>
|
|
1271
1271
|
</tr>
|
1272
1272
|
<tr>
|
1273
1273
|
<td class="parameter_name"><p>manager</p></td>
|
1274
|
-
<td class="parameter_description"><p> A <a class="link" href="GtkSourceUndoManager.html" title="GtkSourceUndoManager"><span class="type">GtkSourceUndoManager</span></a> or <a href="/
|
1274
|
+
<td class="parameter_description"><p> A <a class="link" href="GtkSourceUndoManager.html" title="GtkSourceUndoManager"><span class="type">GtkSourceUndoManager</span></a> or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1275
1275
|
<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>
|
1276
1276
|
</tr>
|
1277
1277
|
</tbody>
|
@@ -1281,11 +1281,11 @@ will be set.</p>
|
|
1281
1281
|
<hr>
|
1282
1282
|
<div class="refsect2">
|
1283
1283
|
<a name="gtk-source-buffer-iter-has-context-class"></a><h3>gtk_source_buffer_iter_has_context_class ()</h3>
|
1284
|
-
<pre class="programlisting"><a href="/
|
1284
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1285
1285
|
gtk_source_buffer_iter_has_context_class
|
1286
1286
|
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
1287
|
-
<em class="parameter"><code>const <a href="/
|
1288
|
-
<em class="parameter"><code>const <a href="/
|
1287
|
+
<em class="parameter"><code>const <a href="http://developer.gnome.org/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *iter</code></em>,
|
1288
|
+
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *context_class</code></em>);</pre>
|
1289
1289
|
<p>Check if the class <em class="parameter"><code>context_class</code></em>
|
1290
1290
|
is set on <em class="parameter"><code>iter</code></em>
|
1291
1291
|
.</p>
|
@@ -1306,7 +1306,7 @@ gtk_source_buffer_iter_has_context_class
|
|
1306
1306
|
</tr>
|
1307
1307
|
<tr>
|
1308
1308
|
<td class="parameter_name"><p>iter</p></td>
|
1309
|
-
<td class="parameter_description"><p>a <a href="/
|
1309
|
+
<td class="parameter_description"><p>a <a href="http://developer.gnome.org/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a>.</p></td>
|
1310
1310
|
<td class="parameter_annotations"> </td>
|
1311
1311
|
</tr>
|
1312
1312
|
<tr>
|
@@ -1327,10 +1327,10 @@ has the context class.</p>
|
|
1327
1327
|
<hr>
|
1328
1328
|
<div class="refsect2">
|
1329
1329
|
<a name="gtk-source-buffer-get-context-classes-at-iter"></a><h3>gtk_source_buffer_get_context_classes_at_iter ()</h3>
|
1330
|
-
<pre class="programlisting"><a href="/
|
1330
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> **
|
1331
1331
|
gtk_source_buffer_get_context_classes_at_iter
|
1332
1332
|
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
1333
|
-
<em class="parameter"><code>const <a href="/
|
1333
|
+
<em class="parameter"><code>const <a href="http://developer.gnome.org/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *iter</code></em>);</pre>
|
1334
1334
|
<p>Get all defined context classes at <em class="parameter"><code>iter</code></em>
|
1335
1335
|
.</p>
|
1336
1336
|
<p>See the <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> description for the list of default context classes.</p>
|
@@ -1350,7 +1350,7 @@ gtk_source_buffer_get_context_classes_at_iter
|
|
1350
1350
|
</tr>
|
1351
1351
|
<tr>
|
1352
1352
|
<td class="parameter_name"><p>iter</p></td>
|
1353
|
-
<td class="parameter_description"><p>a <a href="/
|
1353
|
+
<td class="parameter_description"><p>a <a href="http://developer.gnome.org/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a>.</p></td>
|
1354
1354
|
<td class="parameter_annotations"> </td>
|
1355
1355
|
</tr>
|
1356
1356
|
</tbody>
|
@@ -1358,9 +1358,9 @@ gtk_source_buffer_get_context_classes_at_iter
|
|
1358
1358
|
</div>
|
1359
1359
|
<div class="refsect3">
|
1360
1360
|
<a name="gtk-source-buffer-get-context-classes-at-iter.returns"></a><h4>Returns</h4>
|
1361
|
-
<p> a new <a href="/
|
1361
|
+
<p> a new <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
1362
1362
|
terminated array of context class names.
|
1363
|
-
Use <a href="/
|
1363
|
+
Use <a href="https://developer.gnome.org/glib/unstable/glib-String-Utility-Functions.html#g-strfreev"><code class="function">g_strfreev()</code></a> to free the array if it is no longer needed. </p>
|
1364
1364
|
<p><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> zero-terminated=1][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
1365
1365
|
</div>
|
1366
1366
|
<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p>
|
@@ -1368,13 +1368,13 @@ Use <a href="/usr/share/gtk-doc/html/glibglib-String-Utility-Functions.html#g-st
|
|
1368
1368
|
<hr>
|
1369
1369
|
<div class="refsect2">
|
1370
1370
|
<a name="gtk-source-buffer-iter-forward-to-context-class-toggle"></a><h3>gtk_source_buffer_iter_forward_to_context_class_toggle ()</h3>
|
1371
|
-
<pre class="programlisting"><a href="/
|
1371
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1372
1372
|
gtk_source_buffer_iter_forward_to_context_class_toggle
|
1373
1373
|
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
1374
|
-
<em class="parameter"><code><a href="/
|
1375
|
-
<em class="parameter"><code>const <a href="/
|
1374
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *iter</code></em>,
|
1375
|
+
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *context_class</code></em>);</pre>
|
1376
1376
|
<p>Moves forward to the next toggle (on or off) of the context class. If no
|
1377
|
-
matching context class toggles are found, returns <a href="/
|
1377
|
+
matching context class toggles are found, returns <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>, otherwise <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>.
|
1378
1378
|
Does not return toggles located at <em class="parameter"><code>iter</code></em>
|
1379
1379
|
, only toggles after <em class="parameter"><code>iter</code></em>
|
1380
1380
|
. Sets
|
@@ -1398,7 +1398,7 @@ toggle is found.</p>
|
|
1398
1398
|
</tr>
|
1399
1399
|
<tr>
|
1400
1400
|
<td class="parameter_name"><p>iter</p></td>
|
1401
|
-
<td class="parameter_description"><p>a <a href="/
|
1401
|
+
<td class="parameter_description"><p>a <a href="http://developer.gnome.org/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a>.</p></td>
|
1402
1402
|
<td class="parameter_annotations"> </td>
|
1403
1403
|
</tr>
|
1404
1404
|
<tr>
|
@@ -1419,13 +1419,13 @@ toggle is found.</p>
|
|
1419
1419
|
<hr>
|
1420
1420
|
<div class="refsect2">
|
1421
1421
|
<a name="gtk-source-buffer-iter-backward-to-context-class-toggle"></a><h3>gtk_source_buffer_iter_backward_to_context_class_toggle ()</h3>
|
1422
|
-
<pre class="programlisting"><a href="/
|
1422
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1423
1423
|
gtk_source_buffer_iter_backward_to_context_class_toggle
|
1424
1424
|
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
1425
|
-
<em class="parameter"><code><a href="/
|
1426
|
-
<em class="parameter"><code>const <a href="/
|
1425
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *iter</code></em>,
|
1426
|
+
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *context_class</code></em>);</pre>
|
1427
1427
|
<p>Moves backward to the next toggle (on or off) of the context class. If no
|
1428
|
-
matching context class toggles are found, returns <a href="/
|
1428
|
+
matching context class toggles are found, returns <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>, otherwise <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>.
|
1429
1429
|
Does not return toggles located at <em class="parameter"><code>iter</code></em>
|
1430
1430
|
, only toggles after <em class="parameter"><code>iter</code></em>
|
1431
1431
|
. Sets
|
@@ -1449,7 +1449,7 @@ toggle is found.</p>
|
|
1449
1449
|
</tr>
|
1450
1450
|
<tr>
|
1451
1451
|
<td class="parameter_name"><p>iter</p></td>
|
1452
|
-
<td class="parameter_description"><p>a <a href="/
|
1452
|
+
<td class="parameter_description"><p>a <a href="http://developer.gnome.org/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a>.</p></td>
|
1453
1453
|
<td class="parameter_annotations"> </td>
|
1454
1454
|
</tr>
|
1455
1455
|
<tr>
|
@@ -1472,17 +1472,17 @@ toggle is found.</p>
|
|
1472
1472
|
<a name="gtk-source-buffer-create-source-mark"></a><h3>gtk_source_buffer_create_source_mark ()</h3>
|
1473
1473
|
<pre class="programlisting"><a class="link" href="GtkSourceMark.html" title="GtkSourceMark"><span class="returnvalue">GtkSourceMark</span></a> *
|
1474
1474
|
gtk_source_buffer_create_source_mark (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
1475
|
-
<em class="parameter"><code>const <a href="/
|
1476
|
-
<em class="parameter"><code>const <a href="/
|
1477
|
-
<em class="parameter"><code>const <a href="/
|
1475
|
+
<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>,
|
1476
|
+
<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>,
|
1477
|
+
<em class="parameter"><code>const <a href="http://developer.gnome.org/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *where</code></em>);</pre>
|
1478
1478
|
<p>Creates a source mark in the <em class="parameter"><code>buffer</code></em>
|
1479
1479
|
of category <em class="parameter"><code>category</code></em>
|
1480
1480
|
. A source mark is
|
1481
|
-
a <a href="/
|
1481
|
+
a <a href="http://developer.gnome.org/gtk3/GtkTextMark.html#GtkTextMark-struct"><span class="type">GtkTextMark</span></a> but organised into categories. Depending on the category
|
1482
1482
|
a pixbuf can be specified that will be displayed along the line of the mark.</p>
|
1483
|
-
<p>Like a <a href="/
|
1483
|
+
<p>Like a <a href="http://developer.gnome.org/gtk3/GtkTextMark.html#GtkTextMark-struct"><span class="type">GtkTextMark</span></a>, a <a class="link" href="GtkSourceMark.html" title="GtkSourceMark"><span class="type">GtkSourceMark</span></a> can be anonymous if the
|
1484
1484
|
passed <em class="parameter"><code>name</code></em>
|
1485
|
-
is <a href="/
|
1485
|
+
is <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. Also, the buffer owns the marks so you
|
1486
1486
|
shouldn't unreference it.</p>
|
1487
1487
|
<p>Marks always have left gravity and are moved to the beginning of
|
1488
1488
|
the line when the user deletes the line they were in.</p>
|
@@ -1504,7 +1504,7 @@ executing instruction indication in a source file, etc..</p>
|
|
1504
1504
|
</tr>
|
1505
1505
|
<tr>
|
1506
1506
|
<td class="parameter_name"><p>name</p></td>
|
1507
|
-
<td class="parameter_description"><p> the name of the mark, or <a href="/
|
1507
|
+
<td class="parameter_description"><p> the name of the mark, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1508
1508
|
<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>
|
1509
1509
|
</tr>
|
1510
1510
|
<tr>
|
@@ -1530,15 +1530,15 @@ executing instruction indication in a source file, etc..</p>
|
|
1530
1530
|
<hr>
|
1531
1531
|
<div class="refsect2">
|
1532
1532
|
<a name="gtk-source-buffer-forward-iter-to-source-mark"></a><h3>gtk_source_buffer_forward_iter_to_source_mark ()</h3>
|
1533
|
-
<pre class="programlisting"><a href="/
|
1533
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1534
1534
|
gtk_source_buffer_forward_iter_to_source_mark
|
1535
1535
|
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
1536
|
-
<em class="parameter"><code><a href="/
|
1537
|
-
<em class="parameter"><code>const <a href="/
|
1536
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *iter</code></em>,
|
1537
|
+
<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>
|
1538
1538
|
<p>Moves <em class="parameter"><code>iter</code></em>
|
1539
1539
|
to the position of the next <a class="link" href="GtkSourceMark.html" title="GtkSourceMark"><span class="type">GtkSourceMark</span></a> of the given
|
1540
1540
|
<em class="parameter"><code>category</code></em>
|
1541
|
-
. Returns <a href="/
|
1541
|
+
. Returns <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>iter</code></em>
|
1542
1542
|
was moved. If <em class="parameter"><code>category</code></em>
|
1543
1543
|
is NULL, the
|
1544
1544
|
next source mark can be of any category.</p>
|
@@ -1563,7 +1563,7 @@ next source mark can be of any category.</p>
|
|
1563
1563
|
</tr>
|
1564
1564
|
<tr>
|
1565
1565
|
<td class="parameter_name"><p>category</p></td>
|
1566
|
-
<td class="parameter_description"><p> category to search for, or <a href="/
|
1566
|
+
<td class="parameter_description"><p> category to search for, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1567
1567
|
<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>
|
1568
1568
|
</tr>
|
1569
1569
|
</tbody>
|
@@ -1579,14 +1579,14 @@ was moved.</p>
|
|
1579
1579
|
<hr>
|
1580
1580
|
<div class="refsect2">
|
1581
1581
|
<a name="gtk-source-buffer-backward-iter-to-source-mark"></a><h3>gtk_source_buffer_backward_iter_to_source_mark ()</h3>
|
1582
|
-
<pre class="programlisting"><a href="/
|
1582
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1583
1583
|
gtk_source_buffer_backward_iter_to_source_mark
|
1584
1584
|
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
1585
|
-
<em class="parameter"><code><a href="/
|
1586
|
-
<em class="parameter"><code>const <a href="/
|
1585
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *iter</code></em>,
|
1586
|
+
<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>
|
1587
1587
|
<p>Moves <em class="parameter"><code>iter</code></em>
|
1588
1588
|
to the position of the previous <a class="link" href="GtkSourceMark.html" title="GtkSourceMark"><span class="type">GtkSourceMark</span></a> of the given
|
1589
|
-
category. Returns <a href="/
|
1589
|
+
category. Returns <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>iter</code></em>
|
1590
1590
|
was moved. If <em class="parameter"><code>category</code></em>
|
1591
1591
|
is NULL, the
|
1592
1592
|
previous source mark can be of any category.</p>
|
@@ -1611,7 +1611,7 @@ previous source mark can be of any category.</p>
|
|
1611
1611
|
</tr>
|
1612
1612
|
<tr>
|
1613
1613
|
<td class="parameter_name"><p>category</p></td>
|
1614
|
-
<td class="parameter_description"><p> category to search for, or <a href="/
|
1614
|
+
<td class="parameter_description"><p> category to search for, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1615
1615
|
<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>
|
1616
1616
|
</tr>
|
1617
1617
|
</tbody>
|
@@ -1627,15 +1627,15 @@ was moved.</p>
|
|
1627
1627
|
<hr>
|
1628
1628
|
<div class="refsect2">
|
1629
1629
|
<a name="gtk-source-buffer-get-source-marks-at-line"></a><h3>gtk_source_buffer_get_source_marks_at_line ()</h3>
|
1630
|
-
<pre class="programlisting"><a href="/
|
1630
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> *
|
1631
1631
|
gtk_source_buffer_get_source_marks_at_line
|
1632
1632
|
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
1633
|
-
<em class="parameter"><code><a href="/
|
1634
|
-
<em class="parameter"><code>const <a href="/
|
1633
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> line</code></em>,
|
1634
|
+
<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>
|
1635
1635
|
<p>Returns the list of marks of the given category at <em class="parameter"><code>line</code></em>
|
1636
1636
|
.
|
1637
1637
|
If <em class="parameter"><code>category</code></em>
|
1638
|
-
is <a href="/
|
1638
|
+
is <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, all marks at <em class="parameter"><code>line</code></em>
|
1639
1639
|
are returned.</p>
|
1640
1640
|
<div class="refsect3">
|
1641
1641
|
<a name="gtk-source-buffer-get-source-marks-at-line.parameters"></a><h4>Parameters</h4>
|
@@ -1658,7 +1658,7 @@ If <em class="parameter"><code>category</code></em>
|
|
1658
1658
|
</tr>
|
1659
1659
|
<tr>
|
1660
1660
|
<td class="parameter_name"><p>category</p></td>
|
1661
|
-
<td class="parameter_description"><p> category to search for, or <a href="/
|
1661
|
+
<td class="parameter_description"><p> category to search for, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1662
1662
|
<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>
|
1663
1663
|
</tr>
|
1664
1664
|
</tbody>
|
@@ -1666,7 +1666,7 @@ If <em class="parameter"><code>category</code></em>
|
|
1666
1666
|
</div>
|
1667
1667
|
<div class="refsect3">
|
1668
1668
|
<a name="gtk-source-buffer-get-source-marks-at-line.returns"></a><h4>Returns</h4>
|
1669
|
-
<p>a newly allocated <a href="/
|
1669
|
+
<p>a newly allocated <a href="https://developer.gnome.org/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a>. </p>
|
1670
1670
|
<p><span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GtkSource.Mark][<acronym title="Free data container after the code is done."><span class="acronym">transfer container</span></acronym>]</span></p>
|
1671
1671
|
</div>
|
1672
1672
|
<p class="since">Since: <a class="link" href="api-index-2-2.html#api-index-2.2">2.2</a></p>
|
@@ -1674,15 +1674,15 @@ If <em class="parameter"><code>category</code></em>
|
|
1674
1674
|
<hr>
|
1675
1675
|
<div class="refsect2">
|
1676
1676
|
<a name="gtk-source-buffer-get-source-marks-at-iter"></a><h3>gtk_source_buffer_get_source_marks_at_iter ()</h3>
|
1677
|
-
<pre class="programlisting"><a href="/
|
1677
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> *
|
1678
1678
|
gtk_source_buffer_get_source_marks_at_iter
|
1679
1679
|
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
1680
|
-
<em class="parameter"><code><a href="/
|
1681
|
-
<em class="parameter"><code>const <a href="/
|
1680
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *iter</code></em>,
|
1681
|
+
<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>
|
1682
1682
|
<p>Returns the list of marks of the given category at <em class="parameter"><code>iter</code></em>
|
1683
1683
|
. If <em class="parameter"><code>category</code></em>
|
1684
1684
|
|
1685
|
-
is <a href="/
|
1685
|
+
is <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> it returns all marks at <em class="parameter"><code>iter</code></em>
|
1686
1686
|
.</p>
|
1687
1687
|
<div class="refsect3">
|
1688
1688
|
<a name="gtk-source-buffer-get-source-marks-at-iter.parameters"></a><h4>Parameters</h4>
|
@@ -1705,7 +1705,7 @@ is <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#NULL:CAPS"><co
|
|
1705
1705
|
</tr>
|
1706
1706
|
<tr>
|
1707
1707
|
<td class="parameter_name"><p>category</p></td>
|
1708
|
-
<td class="parameter_description"><p> category to search for, or <a href="/
|
1708
|
+
<td class="parameter_description"><p> category to search for, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1709
1709
|
<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>
|
1710
1710
|
</tr>
|
1711
1711
|
</tbody>
|
@@ -1713,7 +1713,7 @@ is <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#NULL:CAPS"><co
|
|
1713
1713
|
</div>
|
1714
1714
|
<div class="refsect3">
|
1715
1715
|
<a name="gtk-source-buffer-get-source-marks-at-iter.returns"></a><h4>Returns</h4>
|
1716
|
-
<p>a newly allocated <a href="/
|
1716
|
+
<p>a newly allocated <a href="https://developer.gnome.org/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a>. </p>
|
1717
1717
|
<p><span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GtkSource.Mark][<acronym title="Free data container after the code is done."><span class="acronym">transfer container</span></acronym>]</span></p>
|
1718
1718
|
</div>
|
1719
1719
|
<p class="since">Since: <a class="link" href="api-index-2-2.html#api-index-2.2">2.2</a></p>
|
@@ -1723,9 +1723,9 @@ is <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#NULL:CAPS"><co
|
|
1723
1723
|
<a name="gtk-source-buffer-remove-source-marks"></a><h3>gtk_source_buffer_remove_source_marks ()</h3>
|
1724
1724
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1725
1725
|
gtk_source_buffer_remove_source_marks (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
1726
|
-
<em class="parameter"><code>const <a href="/
|
1727
|
-
<em class="parameter"><code>const <a href="/
|
1728
|
-
<em class="parameter"><code>const <a href="/
|
1726
|
+
<em class="parameter"><code>const <a href="http://developer.gnome.org/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *start</code></em>,
|
1727
|
+
<em class="parameter"><code>const <a href="http://developer.gnome.org/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *end</code></em>,
|
1728
|
+
<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>
|
1729
1729
|
<p>Remove all marks of <em class="parameter"><code>category</code></em>
|
1730
1730
|
between <em class="parameter"><code>start</code></em>
|
1731
1731
|
and <em class="parameter"><code>end</code></em>
|
@@ -1748,17 +1748,17 @@ If <em class="parameter"><code>category</code></em>
|
|
1748
1748
|
</tr>
|
1749
1749
|
<tr>
|
1750
1750
|
<td class="parameter_name"><p>start</p></td>
|
1751
|
-
<td class="parameter_description"><p>a <a href="/
|
1751
|
+
<td class="parameter_description"><p>a <a href="http://developer.gnome.org/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a>.</p></td>
|
1752
1752
|
<td class="parameter_annotations"> </td>
|
1753
1753
|
</tr>
|
1754
1754
|
<tr>
|
1755
1755
|
<td class="parameter_name"><p>end</p></td>
|
1756
|
-
<td class="parameter_description"><p>a <a href="/
|
1756
|
+
<td class="parameter_description"><p>a <a href="http://developer.gnome.org/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a>.</p></td>
|
1757
1757
|
<td class="parameter_annotations"> </td>
|
1758
1758
|
</tr>
|
1759
1759
|
<tr>
|
1760
1760
|
<td class="parameter_name"><p>category</p></td>
|
1761
|
-
<td class="parameter_description"><p> category to search for, or <a href="/
|
1761
|
+
<td class="parameter_description"><p> category to search for, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1762
1762
|
<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>
|
1763
1763
|
</tr>
|
1764
1764
|
</tbody>
|
@@ -1772,8 +1772,8 @@ If <em class="parameter"><code>category</code></em>
|
|
1772
1772
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1773
1773
|
gtk_source_buffer_change_case (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
1774
1774
|
<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html#GtkSourceChangeCaseType" title="enum GtkSourceChangeCaseType"><span class="type">GtkSourceChangeCaseType</span></a> case_type</code></em>,
|
1775
|
-
<em class="parameter"><code><a href="/
|
1776
|
-
<em class="parameter"><code><a href="/
|
1775
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *start</code></em>,
|
1776
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *end</code></em>);</pre>
|
1777
1777
|
<p>Changes the case of the text between the specified iterators.</p>
|
1778
1778
|
<div class="refsect3">
|
1779
1779
|
<a name="gtk-source-buffer-change-case.parameters"></a><h4>Parameters</h4>
|
@@ -1796,12 +1796,12 @@ gtk_source_buffer_change_case (<em class="parameter"><code><a class="link" href=
|
|
1796
1796
|
</tr>
|
1797
1797
|
<tr>
|
1798
1798
|
<td class="parameter_name"><p>start</p></td>
|
1799
|
-
<td class="parameter_description"><p>a <a href="/
|
1799
|
+
<td class="parameter_description"><p>a <a href="http://developer.gnome.org/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a>.</p></td>
|
1800
1800
|
<td class="parameter_annotations"> </td>
|
1801
1801
|
</tr>
|
1802
1802
|
<tr>
|
1803
1803
|
<td class="parameter_name"><p>end</p></td>
|
1804
|
-
<td class="parameter_description"><p>a <a href="/
|
1804
|
+
<td class="parameter_description"><p>a <a href="http://developer.gnome.org/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a>.</p></td>
|
1805
1805
|
<td class="parameter_annotations"> </td>
|
1806
1806
|
</tr>
|
1807
1807
|
</tbody>
|
@@ -1814,8 +1814,8 @@ gtk_source_buffer_change_case (<em class="parameter"><code><a class="link" href=
|
|
1814
1814
|
<a name="gtk-source-buffer-join-lines"></a><h3>gtk_source_buffer_join_lines ()</h3>
|
1815
1815
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1816
1816
|
gtk_source_buffer_join_lines (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
1817
|
-
<em class="parameter"><code><a href="/
|
1818
|
-
<em class="parameter"><code><a href="/
|
1817
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *start</code></em>,
|
1818
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *end</code></em>);</pre>
|
1819
1819
|
<p>Joins the lines of text between the specified iterators.</p>
|
1820
1820
|
<div class="refsect3">
|
1821
1821
|
<a name="gtk-source-buffer-join-lines.parameters"></a><h4>Parameters</h4>
|
@@ -1833,12 +1833,12 @@ gtk_source_buffer_join_lines (<em class="parameter"><code><a class="link" href="
|
|
1833
1833
|
</tr>
|
1834
1834
|
<tr>
|
1835
1835
|
<td class="parameter_name"><p>start</p></td>
|
1836
|
-
<td class="parameter_description"><p>a <a href="/
|
1836
|
+
<td class="parameter_description"><p>a <a href="http://developer.gnome.org/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a>.</p></td>
|
1837
1837
|
<td class="parameter_annotations"> </td>
|
1838
1838
|
</tr>
|
1839
1839
|
<tr>
|
1840
1840
|
<td class="parameter_name"><p>end</p></td>
|
1841
|
-
<td class="parameter_description"><p>a <a href="/
|
1841
|
+
<td class="parameter_description"><p>a <a href="http://developer.gnome.org/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a>.</p></td>
|
1842
1842
|
<td class="parameter_annotations"> </td>
|
1843
1843
|
</tr>
|
1844
1844
|
</tbody>
|
@@ -1851,10 +1851,10 @@ gtk_source_buffer_join_lines (<em class="parameter"><code><a class="link" href="
|
|
1851
1851
|
<a name="gtk-source-buffer-sort-lines"></a><h3>gtk_source_buffer_sort_lines ()</h3>
|
1852
1852
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1853
1853
|
gtk_source_buffer_sort_lines (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
1854
|
-
<em class="parameter"><code><a href="/
|
1855
|
-
<em class="parameter"><code><a href="/
|
1854
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *start</code></em>,
|
1855
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *end</code></em>,
|
1856
1856
|
<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html#GtkSourceSortFlags" title="enum GtkSourceSortFlags"><span class="type">GtkSourceSortFlags</span></a> flags</code></em>,
|
1857
|
-
<em class="parameter"><code><a href="/
|
1857
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> column</code></em>);</pre>
|
1858
1858
|
<p>Sort the lines of text between the specified iterators.</p>
|
1859
1859
|
<div class="refsect3">
|
1860
1860
|
<a name="gtk-source-buffer-sort-lines.parameters"></a><h4>Parameters</h4>
|
@@ -1872,12 +1872,12 @@ gtk_source_buffer_sort_lines (<em class="parameter"><code><a class="link" href="
|
|
1872
1872
|
</tr>
|
1873
1873
|
<tr>
|
1874
1874
|
<td class="parameter_name"><p>start</p></td>
|
1875
|
-
<td class="parameter_description"><p>a <a href="/
|
1875
|
+
<td class="parameter_description"><p>a <a href="http://developer.gnome.org/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a>.</p></td>
|
1876
1876
|
<td class="parameter_annotations"> </td>
|
1877
1877
|
</tr>
|
1878
1878
|
<tr>
|
1879
1879
|
<td class="parameter_name"><p>end</p></td>
|
1880
|
-
<td class="parameter_description"><p>a <a href="/
|
1880
|
+
<td class="parameter_description"><p>a <a href="http://developer.gnome.org/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a>.</p></td>
|
1881
1881
|
<td class="parameter_annotations"> </td>
|
1882
1882
|
</tr>
|
1883
1883
|
<tr>
|
@@ -1901,13 +1901,13 @@ gtk_source_buffer_sort_lines (<em class="parameter"><code><a class="link" href="
|
|
1901
1901
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1902
1902
|
gtk_source_buffer_set_implicit_trailing_newline
|
1903
1903
|
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
1904
|
-
<em class="parameter"><code><a href="/
|
1904
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> implicit_trailing_newline</code></em>);</pre>
|
1905
1905
|
<p>Sets whether the <em class="parameter"><code>buffer</code></em>
|
1906
1906
|
has an implicit trailing newline.</p>
|
1907
|
-
<p>If an explicit trailing newline is present in a <a href="/
|
1907
|
+
<p>If an explicit trailing newline is present in a <a href="http://developer.gnome.org/gtk3/GtkTextBuffer.html#GtkTextBuffer-struct"><span class="type">GtkTextBuffer</span></a>, <a href="http://developer.gnome.org/gtk3/GtkTextView.html#GtkTextView-struct"><span class="type">GtkTextView</span></a>
|
1908
1908
|
shows it as an empty line. This is generally not what the user expects.</p>
|
1909
1909
|
<p>If <em class="parameter"><code>implicit_trailing_newline</code></em>
|
1910
|
-
is <a href="/
|
1910
|
+
is <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> (the default value):</p>
|
1911
1911
|
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
|
1912
1912
|
<li class="listitem"><p>when a <a class="link" href="GtkSourceFileLoader.html" title="GtkSourceFileLoader"><span class="type">GtkSourceFileLoader</span></a> loads the content of a file into the <em class="parameter"><code>buffer</code></em>
|
1913
1913
|
,
|
@@ -1919,7 +1919,7 @@ the trailing newline (if present in the file) is not inserted into the
|
|
1919
1919
|
trailing newline is added to the file.</p></li>
|
1920
1920
|
</ul></div>
|
1921
1921
|
<p>On the other hand, if <em class="parameter"><code>implicit_trailing_newline</code></em>
|
1922
|
-
is <a href="/
|
1922
|
+
is <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>, the file's
|
1923
1923
|
content is not modified when loaded into the <em class="parameter"><code>buffer</code></em>
|
1924
1924
|
, and the <em class="parameter"><code>buffer</code></em>
|
1925
1925
|
's
|
@@ -1951,7 +1951,7 @@ content is not modified when saved into a file.</p>
|
|
1951
1951
|
<hr>
|
1952
1952
|
<div class="refsect2">
|
1953
1953
|
<a name="gtk-source-buffer-get-implicit-trailing-newline"></a><h3>gtk_source_buffer_get_implicit_trailing_newline ()</h3>
|
1954
|
-
<pre class="programlisting"><a href="/
|
1954
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1955
1955
|
gtk_source_buffer_get_implicit_trailing_newline
|
1956
1956
|
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);</pre>
|
1957
1957
|
<div class="refsect3">
|
@@ -2123,7 +2123,7 @@ has an implicit trailing newline.</p>
|
|
2123
2123
|
<a name="GtkSourceBuffer.property-details"></a><h2>Property Details</h2>
|
2124
2124
|
<div class="refsect2">
|
2125
2125
|
<a name="GtkSourceBuffer--can-redo"></a><h3>The <code class="literal">“can-redo”</code> property</h3>
|
2126
|
-
<pre class="programlisting"> “can-redo” <a href="/
|
2126
|
+
<pre class="programlisting"> “can-redo” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
2127
2127
|
<p>Whether Redo operation is possible.</p>
|
2128
2128
|
<p>Flags: Read</p>
|
2129
2129
|
<p>Default value: FALSE</p>
|
@@ -2131,7 +2131,7 @@ has an implicit trailing newline.</p>
|
|
2131
2131
|
<hr>
|
2132
2132
|
<div class="refsect2">
|
2133
2133
|
<a name="GtkSourceBuffer--can-undo"></a><h3>The <code class="literal">“can-undo”</code> property</h3>
|
2134
|
-
<pre class="programlisting"> “can-undo” <a href="/
|
2134
|
+
<pre class="programlisting"> “can-undo” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
2135
2135
|
<p>Whether Undo operation is possible.</p>
|
2136
2136
|
<p>Flags: Read</p>
|
2137
2137
|
<p>Default value: FALSE</p>
|
@@ -2139,7 +2139,7 @@ has an implicit trailing newline.</p>
|
|
2139
2139
|
<hr>
|
2140
2140
|
<div class="refsect2">
|
2141
2141
|
<a name="GtkSourceBuffer--highlight-matching-brackets"></a><h3>The <code class="literal">“highlight-matching-brackets”</code> property</h3>
|
2142
|
-
<pre class="programlisting"> “highlight-matching-brackets” <a href="/
|
2142
|
+
<pre class="programlisting"> “highlight-matching-brackets” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
2143
2143
|
<p>Whether to highlight matching brackets in the buffer.</p>
|
2144
2144
|
<p>Flags: Read / Write</p>
|
2145
2145
|
<p>Default value: TRUE</p>
|
@@ -2147,7 +2147,7 @@ has an implicit trailing newline.</p>
|
|
2147
2147
|
<hr>
|
2148
2148
|
<div class="refsect2">
|
2149
2149
|
<a name="GtkSourceBuffer--highlight-syntax"></a><h3>The <code class="literal">“highlight-syntax”</code> property</h3>
|
2150
|
-
<pre class="programlisting"> “highlight-syntax” <a href="/
|
2150
|
+
<pre class="programlisting"> “highlight-syntax” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
2151
2151
|
<p>Whether to highlight syntax in the buffer.</p>
|
2152
2152
|
<p>Flags: Read / Write</p>
|
2153
2153
|
<p>Default value: TRUE</p>
|
@@ -2155,7 +2155,7 @@ has an implicit trailing newline.</p>
|
|
2155
2155
|
<hr>
|
2156
2156
|
<div class="refsect2">
|
2157
2157
|
<a name="GtkSourceBuffer--implicit-trailing-newline"></a><h3>The <code class="literal">“implicit-trailing-newline”</code> property</h3>
|
2158
|
-
<pre class="programlisting"> “implicit-trailing-newline” <a href="/
|
2158
|
+
<pre class="programlisting"> “implicit-trailing-newline” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
2159
2159
|
<p>Whether the buffer has an implicit trailing newline. See
|
2160
2160
|
<a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-set-implicit-trailing-newline" title="gtk_source_buffer_set_implicit_trailing_newline ()"><code class="function">gtk_source_buffer_set_implicit_trailing_newline()</code></a>.</p>
|
2161
2161
|
<p>Flags: Read / Write / Construct</p>
|
@@ -2172,7 +2172,7 @@ has an implicit trailing newline.</p>
|
|
2172
2172
|
<hr>
|
2173
2173
|
<div class="refsect2">
|
2174
2174
|
<a name="GtkSourceBuffer--max-undo-levels"></a><h3>The <code class="literal">“max-undo-levels”</code> property</h3>
|
2175
|
-
<pre class="programlisting"> “max-undo-levels” <a href="/
|
2175
|
+
<pre class="programlisting"> “max-undo-levels” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
|
2176
2176
|
<p>Number of undo levels for the buffer. -1 means no limit. This property
|
2177
2177
|
will only affect the default undo manager.</p>
|
2178
2178
|
<p>Flags: Read / Write</p>
|
@@ -2202,9 +2202,9 @@ brackets style.</p>
|
|
2202
2202
|
<a name="GtkSourceBuffer-bracket-matched"></a><h3>The <code class="literal">“bracket-matched”</code> signal</h3>
|
2203
2203
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
2204
2204
|
user_function (<a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer,
|
2205
|
-
<a href="/
|
2205
|
+
<a href="http://developer.gnome.org/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *iter,
|
2206
2206
|
<a class="link" href="GtkSourceBuffer.html#GtkSourceBracketMatchType" title="enum GtkSourceBracketMatchType"><span class="type">GtkSourceBracketMatchType</span></a> state,
|
2207
|
-
<a href="/
|
2207
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
2208
2208
|
<p><em class="parameter"><code>iter</code></em>
|
2209
2209
|
is set to a valid iterator pointing to the matching bracket
|
2210
2210
|
if <em class="parameter"><code>state</code></em>
|
@@ -2214,7 +2214,7 @@ meaningless.</p>
|
|
2214
2214
|
<p>The signal is emitted only when the <em class="parameter"><code>state</code></em>
|
2215
2215
|
changes, typically when
|
2216
2216
|
the cursor moves.</p>
|
2217
|
-
<p>A use-case for this signal is to show messages in a <a href="/
|
2217
|
+
<p>A use-case for this signal is to show messages in a <a href="http://developer.gnome.org/gtk3/GtkStatusbar.html#GtkStatusbar-struct"><span class="type">GtkStatusbar</span></a>.</p>
|
2218
2218
|
<div class="refsect3">
|
2219
2219
|
<a name="GtkSourceBuffer-bracket-matched.parameters"></a><h4>Parameters</h4>
|
2220
2220
|
<div class="informaltable"><table width="100%" border="0">
|
@@ -2247,7 +2247,7 @@ the cursor moves.</p>
|
|
2247
2247
|
</tbody>
|
2248
2248
|
</table></div>
|
2249
2249
|
</div>
|
2250
|
-
<p>Flags: <a href="/
|
2250
|
+
<p>Flags: <a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
2251
2251
|
<p class="since">Since: <a class="link" href="api-index-2-12.html#api-index-2.12">2.12</a></p>
|
2252
2252
|
</div>
|
2253
2253
|
<hr>
|
@@ -2255,9 +2255,9 @@ the cursor moves.</p>
|
|
2255
2255
|
<a name="GtkSourceBuffer-highlight-updated"></a><h3>The <code class="literal">“highlight-updated”</code> signal</h3>
|
2256
2256
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
2257
2257
|
user_function (<a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer,
|
2258
|
-
<a href="/
|
2259
|
-
<a href="/
|
2260
|
-
<a href="/
|
2258
|
+
<a href="http://developer.gnome.org/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *start,
|
2259
|
+
<a href="http://developer.gnome.org/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *end,
|
2260
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
2261
2261
|
<p>The ::highlight-updated signal is emitted when the syntax
|
2262
2262
|
highlighting is updated in a certain region of the <em class="parameter"><code>buffer</code></em>
|
2263
2263
|
. This
|
@@ -2295,14 +2295,14 @@ updated (e.g. the no-spell-check context class).</p>
|
|
2295
2295
|
</tbody>
|
2296
2296
|
</table></div>
|
2297
2297
|
</div>
|
2298
|
-
<p>Flags: <a href="/
|
2298
|
+
<p>Flags: <a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
2299
2299
|
</div>
|
2300
2300
|
<hr>
|
2301
2301
|
<div class="refsect2">
|
2302
2302
|
<a name="GtkSourceBuffer-redo"></a><h3>The <code class="literal">“redo”</code> signal</h3>
|
2303
2303
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
2304
2304
|
user_function (<a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer,
|
2305
|
-
<a href="/
|
2305
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
2306
2306
|
<p>The ::redo signal is emitted to redo the last undo operation.</p>
|
2307
2307
|
<div class="refsect3">
|
2308
2308
|
<a name="GtkSourceBuffer-redo.parameters"></a><h4>Parameters</h4>
|
@@ -2326,16 +2326,16 @@ user_function (<a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffe
|
|
2326
2326
|
</tbody>
|
2327
2327
|
</table></div>
|
2328
2328
|
</div>
|
2329
|
-
<p>Flags: <a href="/
|
2329
|
+
<p>Flags: <a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
2330
2330
|
</div>
|
2331
2331
|
<hr>
|
2332
2332
|
<div class="refsect2">
|
2333
2333
|
<a name="GtkSourceBuffer-source-mark-updated"></a><h3>The <code class="literal">“source-mark-updated”</code> signal</h3>
|
2334
2334
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
2335
2335
|
user_function (<a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer,
|
2336
|
-
<a href="/
|
2337
|
-
<a href="/
|
2338
|
-
<p>The ::
|
2336
|
+
<a href="http://developer.gnome.org/gtk3/GtkTextMark.html#GtkTextMark-struct"><span class="type">GtkTextMark</span></a> *mark,
|
2337
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
2338
|
+
<p>The ::source-mark-updated signal is emitted each time
|
2339
2339
|
a mark is added to, moved or removed from the <em class="parameter"><code>buffer</code></em>
|
2340
2340
|
.</p>
|
2341
2341
|
<div class="refsect3">
|
@@ -2365,14 +2365,14 @@ a mark is added to, moved or removed from the <em class="parameter"><code>buffer
|
|
2365
2365
|
</tbody>
|
2366
2366
|
</table></div>
|
2367
2367
|
</div>
|
2368
|
-
<p>Flags: <a href="/
|
2368
|
+
<p>Flags: <a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
2369
2369
|
</div>
|
2370
2370
|
<hr>
|
2371
2371
|
<div class="refsect2">
|
2372
2372
|
<a name="GtkSourceBuffer-undo"></a><h3>The <code class="literal">“undo”</code> signal</h3>
|
2373
2373
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
2374
2374
|
user_function (<a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer,
|
2375
|
-
<a href="/
|
2375
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
2376
2376
|
<p>The ::undo signal is emitted to undo the last user action which
|
2377
2377
|
modified the buffer.</p>
|
2378
2378
|
<div class="refsect3">
|
@@ -2397,12 +2397,12 @@ modified the buffer.</p>
|
|
2397
2397
|
</tbody>
|
2398
2398
|
</table></div>
|
2399
2399
|
</div>
|
2400
|
-
<p>Flags: <a href="/
|
2400
|
+
<p>Flags: <a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
2401
2401
|
</div>
|
2402
2402
|
</div>
|
2403
2403
|
<div class="refsect1">
|
2404
2404
|
<a name="GtkSourceBuffer.see-also"></a><h2>See Also</h2>
|
2405
|
-
<p><a href="/
|
2405
|
+
<p><a href="http://developer.gnome.org/gtk3/GtkTextBuffer.html#GtkTextBuffer-struct"><span class="type">GtkTextBuffer</span></a>, <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a></p>
|
2406
2406
|
</div>
|
2407
2407
|
</div>
|
2408
2408
|
<div class="footer">
|