gtksourceview3 3.1.6-x86-mingw32 → 3.1.7-x86-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Rakefile +1 -1
- data/vendor/local/bin/libgtksourceview-3.0-1.dll +0 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcetypes.h +0 -2
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceversion.h +1 -1
- data/vendor/local/lib/libgtksourceview-3.0.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/gtksourceview-3.0.pc +1 -1
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceBuffer.html +188 -200
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletion.html +91 -106
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionContext.html +25 -25
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionInfo.html +39 -53
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionItem.html +53 -53
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProposal.html +50 -50
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProvider.html +56 -56
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionWords.html +24 -24
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceEncoding.html +19 -19
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFile.html +44 -44
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFileLoader.html +50 -50
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFileSaver.html +41 -41
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutter.html +31 -31
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRenderer.html +151 -151
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererPixbuf.html +29 -29
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererText.html +25 -25
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguage.html +47 -47
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguageManager.html +43 -75
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMap.html +13 -13
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMark.html +25 -25
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMarkAttributes.html +71 -71
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourcePrintCompositor.html +185 -262
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceRegion.html +85 -113
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSearchContext.html +163 -163
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSearchSettings.html +36 -36
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSpaceDrawer.html +39 -56
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyle.html +49 -49
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleScheme.html +30 -30
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeChooser.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeChooserButton.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeChooserWidget.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeManager.html +20 -20
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceTag.html +15 -15
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceUndoManager.html +15 -15
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceView.html +175 -191
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-GtkSourceUtils.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-Version-Information.html +14 -14
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/index.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-reference.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/object-tree.html +15 -15
- data/vendor/local/share/gtksourceview-3.0/language-specs/bibtex.lang +44 -25
- data/vendor/local/share/gtksourceview-3.0/language-specs/css.lang +25 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/jade.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/latex.lang +46 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/sparql.lang +4 -0
- data/vendor/local/share/locale/ar/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ast/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/az/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/bn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/bn_IN/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/bs/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/cy/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/dz/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/en@shaw/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/en_CA/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/fa/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/fur/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ga/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/gu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/hr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/kk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/mai/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/mg/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/mk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/mn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/mr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ms/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ne/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/nn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/oc/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/rw/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/si/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/sq/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ta/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/tg/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/th/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/xh/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b1a1c13007f2092163d4fe72f653ed3e87c74261
|
4
|
+
data.tar.gz: 434c03ef8d2cab27461227717b5fe371092dc24d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e487a3b799ea11dab3a0c6833f1fe039e0dd76fc86595356534b0f43363361306a91ca33d3c0c10ebd9adedbca8d76bc77bdca77f335f56b8c6a53d2c8d300df
|
7
|
+
data.tar.gz: c2e894c383ab22dc82fd0d51a33af6bedbb0c0be0906c8fade101e67306aace53a4d9feb437e0e5777c41eb521fdffed823fd4d4b10054c250f58f0aea6bbd75
|
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.24.
|
47
|
+
:version => "3.24.3",
|
48
48
|
:compression_method => "xz",
|
49
49
|
:windows => {
|
50
50
|
:configure_args => [
|
Binary file
|
@@ -62,7 +62,6 @@ typedef struct _GtkSourceMap GtkSourceMap;
|
|
62
62
|
typedef struct _GtkSourceMarkAttributes GtkSourceMarkAttributes;
|
63
63
|
typedef struct _GtkSourceMark GtkSourceMark;
|
64
64
|
typedef struct _GtkSourcePrintCompositor GtkSourcePrintCompositor;
|
65
|
-
typedef struct _GtkSourceRegion GtkSourceRegion;
|
66
65
|
typedef struct _GtkSourceSearchContext GtkSourceSearchContext;
|
67
66
|
typedef struct _GtkSourceSearchSettings GtkSourceSearchSettings;
|
68
67
|
typedef struct _GtkSourceSpaceDrawer GtkSourceSpaceDrawer;
|
@@ -72,7 +71,6 @@ typedef struct _GtkSourceStyleSchemeChooser GtkSourceStyleSchemeChooser;
|
|
72
71
|
typedef struct _GtkSourceStyleSchemeChooserButton GtkSourceStyleSchemeChooserButton;
|
73
72
|
typedef struct _GtkSourceStyleSchemeChooserWidget GtkSourceStyleSchemeChooserWidget;
|
74
73
|
typedef struct _GtkSourceStyleSchemeManager GtkSourceStyleSchemeManager;
|
75
|
-
typedef struct _GtkSourceTag GtkSourceTag;
|
76
74
|
typedef struct _GtkSourceUndoManager GtkSourceUndoManager;
|
77
75
|
typedef struct _GtkSourceView GtkSourceView;
|
78
76
|
|
Binary file
|
@@ -5,7 +5,7 @@ includedir=${prefix}/include
|
|
5
5
|
|
6
6
|
Name: gtksourceview
|
7
7
|
Description: Source code editing widget
|
8
|
-
Version: 3.24.
|
8
|
+
Version: 3.24.3
|
9
9
|
Requires: glib-2.0 >= 2.48 gio-2.0 >= 2.48 gtk+-3.0 >= 3.20
|
10
10
|
Requires.private: libxml-2.0 >= 2.6
|
11
11
|
Libs: -L${libdir} -lgtksourceview-3.0
|
@@ -60,7 +60,7 @@
|
|
60
60
|
</tr>
|
61
61
|
<tr>
|
62
62
|
<td class="function_type">
|
63
|
-
<a href="
|
63
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/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>
|
@@ -108,7 +108,7 @@
|
|
108
108
|
</tr>
|
109
109
|
<tr>
|
110
110
|
<td class="function_type">
|
111
|
-
<a href="/home/
|
111
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/glib/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-syntax" title="gtk_source_buffer_get_highlight_syntax ()">gtk_source_buffer_get_highlight_syntax</a> <span class="c_punctuation">()</span>
|
@@ -124,7 +124,7 @@
|
|
124
124
|
</tr>
|
125
125
|
<tr>
|
126
126
|
<td class="function_type">
|
127
|
-
<a href="/home/
|
127
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
128
128
|
</td>
|
129
129
|
<td class="function_name">
|
130
130
|
<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="/home/
|
159
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/glib/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="/home/
|
167
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/glib/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="/home/
|
191
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/glib/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="/home/
|
223
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/glib/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="/home/
|
231
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/glib/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="/home/
|
239
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/glib/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="/home/
|
247
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/glib/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="/home/
|
263
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/glib/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="/home/
|
271
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/glib/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="/home/
|
279
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/glib/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="/home/
|
287
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/glib/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="/home/
|
335
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/glib/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="/home/
|
354
|
+
<td class="property_type"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/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="/home/
|
359
|
+
<td class="property_type"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/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="/home/
|
364
|
+
<td class="property_type"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/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="/home/
|
369
|
+
<td class="property_type"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/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="/home/
|
374
|
+
<td class="property_type"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/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="/home/
|
385
|
+
<td class="property_type"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/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="/home/
|
416
|
+
<td class="signal_flags"><a href="/home/seb/jhbuild/share/gtk-doc/html/gobject/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="/home/
|
421
|
+
<td class="signal_flags"><a href="/home/seb/jhbuild/share/gtk-doc/html/gobject/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="/home/
|
426
|
+
<td class="signal_flags"><a href="/home/seb/jhbuild/share/gtk-doc/html/gobject/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="/home/
|
431
|
+
<td class="signal_flags"><a href="/home/seb/jhbuild/share/gtk-doc/html/gobject/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="/home/
|
436
|
+
<td class="signal_flags"><a href="/home/seb/jhbuild/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
437
437
|
</tr>
|
438
438
|
</tbody>
|
439
439
|
</table></div>
|
@@ -467,13 +467,13 @@
|
|
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="/home/
|
470
|
+
<pre class="screen"> <a href="/home/seb/jhbuild/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html">GEnum</a>
|
471
471
|
<span class="lineart">├──</span> GtkSourceBracketMatchType
|
472
472
|
<span class="lineart">╰──</span> GtkSourceChangeCaseType
|
473
|
-
<a href="/home/
|
473
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html">GFlags</a>
|
474
474
|
<span class="lineart">╰──</span> GtkSourceSortFlags
|
475
|
-
<a href="/home/
|
476
|
-
<span class="lineart">╰──</span> <a href="
|
475
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
|
476
|
+
<span class="lineart">╰──</span> <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextBuffer.html#GtkTextBuffer-struct">GtkTextBuffer</a>
|
477
477
|
<span class="lineart">╰──</span> GtkSourceBuffer
|
478
478
|
</pre>
|
479
479
|
</div>
|
@@ -485,14 +485,14 @@
|
|
485
485
|
<div class="refsect1">
|
486
486
|
<a name="GtkSourceBuffer.description"></a><h2>Description</h2>
|
487
487
|
<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.
|
488
|
-
It extends the <a href="
|
488
|
+
It extends the <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextBuffer.html#GtkTextBuffer-struct"><span class="type">GtkTextBuffer</span></a> class by adding features useful to display
|
489
489
|
and edit source code such as syntax highlighting and bracket matching. It
|
490
490
|
also implements support for the undo/redo.</p>
|
491
491
|
<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
|
492
492
|
<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
|
493
493
|
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
|
494
494
|
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
|
495
|
-
<a href="
|
495
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextView.html#gtk-text-view-get-buffer"><code class="function">gtk_text_view_get_buffer()</code></a>.</p>
|
496
496
|
<p>The highlighting is enabled by default, but you can disable it with
|
497
497
|
<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>
|
498
498
|
<div class="refsect2">
|
@@ -502,16 +502,16 @@ directly create a <a class="link" href="GtkSourceView.html" title="GtkSourceView
|
|
502
502
|
should be suitable for most uses, so you can use the API provided by
|
503
503
|
<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
|
504
504
|
that can be undone or redone are defined as groups of operations between a
|
505
|
-
call to <a href="
|
506
|
-
<a href="
|
505
|
+
call to <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextBuffer.html#gtk-text-buffer-begin-user-action"><code class="function">gtk_text_buffer_begin_user_action()</code></a> and
|
506
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/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
|
507
507
|
presses any key which modifies the buffer. But the default undo manager will
|
508
508
|
try to merge similar consecutive actions into one undo/redo level. The
|
509
509
|
merging is done word by word, so after writing a new sentence (character by
|
510
510
|
character), each undo will remove the previous word.</p>
|
511
511
|
<p>The default undo manager remembers the "modified" state of the buffer, and
|
512
512
|
restores it when an action is undone or redone. It can be useful in a text
|
513
|
-
editor to know whether the file is saved. See <a href="
|
514
|
-
and <a href="
|
513
|
+
editor to know whether the file is saved. See <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextBuffer.html#gtk-text-buffer-get-modified"><code class="function">gtk_text_buffer_get_modified()</code></a>
|
514
|
+
and <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextBuffer.html#gtk-text-buffer-set-modified"><code class="function">gtk_text_buffer_set_modified()</code></a>.</p>
|
515
515
|
<p>The default undo manager also restores the selected text (or cursor
|
516
516
|
position), if the selection was related to the action. For example if the
|
517
517
|
user selects some text and deletes it, an undo will restore the selection. On
|
@@ -543,40 +543,28 @@ a string parameter as the context class.</p>
|
|
543
543
|
<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>
|
544
544
|
<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
|
545
545
|
when a context class region changes.</p>
|
546
|
-
<p>Each context class has also an associated <a href="
|
546
|
+
<p>Each context class has also an associated <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextTag.html#GtkTextTag-struct"><span class="type">GtkTextTag</span></a> with the name
|
547
547
|
<span class="emphasis"><em>gtksourceview:context-classes:<name></em></span>. For example to
|
548
|
-
retrieve the <a href="
|
549
|
-
<div class="informalexample">
|
550
|
-
|
551
|
-
|
552
|
-
<tr>
|
553
|
-
<td class="listing_lines" align="right"><pre>1
|
554
|
-
2
|
555
|
-
3
|
556
|
-
4
|
557
|
-
5</pre></td>
|
558
|
-
<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>
|
559
|
-
<span class="usertype">GtkTextTag</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">tag</span><span class="symbol">;</span>
|
560
|
-
|
561
|
-
<span class="normal">tag_table </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="http://developer.gnome.org/gtk4/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>
|
562
|
-
<span class="normal">tag </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="http://developer.gnome.org/gtk4/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>
|
563
|
-
</tr>
|
564
|
-
</tbody>
|
565
|
-
</table>
|
566
|
-
</div>
|
548
|
+
retrieve the <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextTag.html#GtkTextTag-struct"><span class="type">GtkTextTag</span></a> for the string context class, one can write:</p>
|
549
|
+
<div class="informalexample"><pre class="programlisting">
|
550
|
+
GtkTextTagTable *tag_table;
|
551
|
+
GtkTextTag *tag;
|
567
552
|
|
553
|
+
tag_table = gtk_text_buffer_get_tag_table (buffer);
|
554
|
+
tag = gtk_text_tag_table_lookup (tag_table, "gtksourceview:context-classes:string");
|
555
|
+
</pre></div>
|
568
556
|
<p></p>
|
569
557
|
<p>The tag must be used for read-only purposes.</p>
|
570
|
-
<p>Accessing a context class via the associated <a href="
|
558
|
+
<p>Accessing a context class via the associated <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextTag.html#GtkTextTag-struct"><span class="type">GtkTextTag</span></a> is less
|
571
559
|
convenient than the <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> API, because:</p>
|
572
560
|
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
|
573
561
|
<li class="listitem"><p>The tag doesn't always exist, you need to listen to the
|
574
|
-
<a href="
|
562
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextTagTable.html#GtkTextTagTable-tag-added"><span class="type">“tag-added”</span></a> and <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextTagTable.html#GtkTextTagTable-tag-removed"><span class="type">“tag-removed”</span></a> signals.</p></li>
|
575
563
|
<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
|
576
|
-
to the <a href="
|
564
|
+
to the <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextBuffer.html#GtkTextBuffer-apply-tag"><span class="type">“apply-tag”</span></a> and <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextBuffer.html#GtkTextBuffer-remove-tag"><span class="type">“remove-tag”</span></a> signals.</p></li>
|
577
565
|
</ul></div>
|
578
566
|
<p>A possible use-case for accessing a context class via the associated
|
579
|
-
<a href="
|
567
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextTag.html#GtkTextTag-struct"><span class="type">GtkTextTag</span></a> is to read the region but without adding a hard dependency on the
|
580
568
|
GtkSourceView library (for example for a spell-checking library that wants to
|
581
569
|
read the no-spell-check region).</p>
|
582
570
|
</div>
|
@@ -586,7 +574,7 @@ read the no-spell-check region).</p>
|
|
586
574
|
<div class="refsect2">
|
587
575
|
<a name="gtk-source-buffer-new"></a><h3>gtk_source_buffer_new ()</h3>
|
588
576
|
<pre class="programlisting"><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="returnvalue">GtkSourceBuffer</span></a> *
|
589
|
-
gtk_source_buffer_new (<em class="parameter"><code><a href="
|
577
|
+
gtk_source_buffer_new (<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextTagTable.html#GtkTextTagTable-struct"><span class="type">GtkTextTagTable</span></a> *table</code></em>);</pre>
|
590
578
|
<p>Creates a new source buffer.</p>
|
591
579
|
<div class="refsect3">
|
592
580
|
<a name="gtk-source-buffer-new.parameters"></a><h4>Parameters</h4>
|
@@ -598,7 +586,7 @@ gtk_source_buffer_new (<em class="parameter"><code><a href="http://developer.gno
|
|
598
586
|
</colgroup>
|
599
587
|
<tbody><tr>
|
600
588
|
<td class="parameter_name"><p>table</p></td>
|
601
|
-
<td class="parameter_description"><p>
|
589
|
+
<td class="parameter_description"><p>a <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextTagTable.html#GtkTextTagTable-struct"><span class="type">GtkTextTagTable</span></a>, or <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to create a new one. </p></td>
|
602
590
|
<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>
|
603
591
|
</tr></tbody>
|
604
592
|
</table></div>
|
@@ -642,27 +630,27 @@ according to the highlighting patterns in <em class="parameter"><code>language</
|
|
642
630
|
<hr>
|
643
631
|
<div class="refsect2">
|
644
632
|
<a name="gtk-source-buffer-create-source-tag"></a><h3>gtk_source_buffer_create_source_tag ()</h3>
|
645
|
-
<pre class="programlisting"><a href="
|
633
|
+
<pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextTag.html#GtkTextTag-struct"><span class="returnvalue">GtkTextTag</span></a> *
|
646
634
|
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>,
|
647
|
-
<em class="parameter"><code>const <a href="/home/
|
648
|
-
<em class="parameter"><code>const <a href="/home/
|
635
|
+
<em class="parameter"><code>const <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *tag_name</code></em>,
|
636
|
+
<em class="parameter"><code>const <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *first_property_name</code></em>,
|
649
637
|
<em class="parameter"><code>...</code></em>);</pre>
|
650
|
-
<p>In short, this is the same function as <a href="
|
651
|
-
instead of creating a <a href="
|
638
|
+
<p>In short, this is the same function as <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextBuffer.html#gtk-text-buffer-create-tag"><code class="function">gtk_text_buffer_create_tag()</code></a>, but
|
639
|
+
instead of creating a <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/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>
|
652
640
|
<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
|
653
641
|
<em class="parameter"><code>buffer</code></em>
|
654
|
-
. Equivalent to calling <a href="
|
642
|
+
. Equivalent to calling <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextTag.html#gtk-text-tag-new"><code class="function">gtk_text_tag_new()</code></a> and then adding the tag to
|
655
643
|
the buffer’s tag table. The returned tag is owned by the buffer’s tag table,
|
656
644
|
so the ref count will be equal to one.</p>
|
657
645
|
<p>If <em class="parameter"><code>tag_name</code></em>
|
658
|
-
is <a href="/home/
|
646
|
+
is <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, the tag is anonymous.</p>
|
659
647
|
<p>If <em class="parameter"><code>tag_name</code></em>
|
660
|
-
is non-<a href="/home/
|
648
|
+
is non-<a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, a tag called <em class="parameter"><code>tag_name</code></em>
|
661
649
|
must not already
|
662
650
|
exist in the tag table for this buffer.</p>
|
663
651
|
<p>The <em class="parameter"><code>first_property_name</code></em>
|
664
652
|
argument and subsequent arguments are a list
|
665
|
-
of properties to set on the tag, as with <a href="/home/
|
653
|
+
of properties to set on the tag, as with <a href="/home/seb/jhbuild/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-set"><code class="function">g_object_set()</code></a>.</p>
|
666
654
|
<div class="refsect3">
|
667
655
|
<a name="gtk-source-buffer-create-source-tag.parameters"></a><h4>Parameters</h4>
|
668
656
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
@@ -679,17 +667,17 @@ of properties to set on the tag, as with <a href="/home/vagrant/ruby-gnome2.win3
|
|
679
667
|
</tr>
|
680
668
|
<tr>
|
681
669
|
<td class="parameter_name"><p>tag_name</p></td>
|
682
|
-
<td class="parameter_description"><p>
|
670
|
+
<td class="parameter_description"><p>name of the new tag, or <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
683
671
|
<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
672
|
</tr>
|
685
673
|
<tr>
|
686
674
|
<td class="parameter_name"><p>first_property_name</p></td>
|
687
|
-
<td class="parameter_description"><p>
|
675
|
+
<td class="parameter_description"><p>name of first property to set, or <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
688
676
|
<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>
|
689
677
|
</tr>
|
690
678
|
<tr>
|
691
679
|
<td class="parameter_name"><p>...</p></td>
|
692
|
-
<td class="parameter_description"><p><a href="/home/
|
680
|
+
<td class="parameter_description"><p><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated list of property names and values</p></td>
|
693
681
|
<td class="parameter_annotations"> </td>
|
694
682
|
</tr>
|
695
683
|
</tbody>
|
@@ -697,7 +685,7 @@ of properties to set on the tag, as with <a href="/home/vagrant/ruby-gnome2.win3
|
|
697
685
|
</div>
|
698
686
|
<div class="refsect3">
|
699
687
|
<a name="gtk-source-buffer-create-source-tag.returns"></a><h4>Returns</h4>
|
700
|
-
<p>
|
688
|
+
<p>a new <a class="link" href="GtkSourceTag.html" title="GtkSourceTag"><span class="type">GtkSourceTag</span></a>. </p>
|
701
689
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
702
690
|
</div>
|
703
691
|
<p class="since">Since: <a class="link" href="api-index-3-20.html#api-index-3.20">3.20</a></p>
|
@@ -730,7 +718,7 @@ syntax highlighting, see <a class="link" href="GtkSourceBuffer.html#gtk-source-b
|
|
730
718
|
</tr>
|
731
719
|
<tr>
|
732
720
|
<td class="parameter_name"><p>language</p></td>
|
733
|
-
<td class="parameter_description"><p>
|
721
|
+
<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="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
734
722
|
<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>
|
735
723
|
</tr>
|
736
724
|
</tbody>
|
@@ -762,8 +750,8 @@ unreferenced by the user.</p>
|
|
762
750
|
</div>
|
763
751
|
<div class="refsect3">
|
764
752
|
<a name="gtk-source-buffer-get-language.returns"></a><h4>Returns</h4>
|
765
|
-
<p>
|
766
|
-
with the buffer, or <a href="/home/
|
753
|
+
<p>the <a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a> associated
|
754
|
+
with the buffer, or <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
|
767
755
|
<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>
|
768
756
|
</div>
|
769
757
|
</div>
|
@@ -777,7 +765,7 @@ gtk_source_buffer_set_style_scheme (<em class="parameter"><code><a class="link"
|
|
777
765
|
<p>Note that a <a class="link" href="GtkSourceStyleScheme.html" title="GtkSourceStyleScheme"><span class="type">GtkSourceStyleScheme</span></a> affects not only the syntax highlighting,
|
778
766
|
but also other <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> features such as highlighting the current line,
|
779
767
|
matching brackets, the line numbers, etc.</p>
|
780
|
-
<p>Instead of setting a <a href="/home/
|
768
|
+
<p>Instead of setting a <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> <em class="parameter"><code>scheme</code></em>
|
781
769
|
, it is better to disable syntax
|
782
770
|
highlighting with <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>, and setting the
|
783
771
|
<a class="link" href="GtkSourceStyleScheme.html" title="GtkSourceStyleScheme"><span class="type">GtkSourceStyleScheme</span></a> with the "classic" or "tango" ID, because those two
|
@@ -801,7 +789,7 @@ background color).</p>
|
|
801
789
|
</tr>
|
802
790
|
<tr>
|
803
791
|
<td class="parameter_name"><p>scheme</p></td>
|
804
|
-
<td class="parameter_description"><p>
|
792
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceStyleScheme.html" title="GtkSourceStyleScheme"><span class="type">GtkSourceStyleScheme</span></a> or <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
805
793
|
<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>
|
806
794
|
</tr>
|
807
795
|
</tbody>
|
@@ -833,8 +821,8 @@ The returned object should not be unreferenced by the user.</p>
|
|
833
821
|
</div>
|
834
822
|
<div class="refsect3">
|
835
823
|
<a name="gtk-source-buffer-get-style-scheme.returns"></a><h4>Returns</h4>
|
836
|
-
<p>
|
837
|
-
associated with the buffer, or <a href="/home/
|
824
|
+
<p>the <a class="link" href="GtkSourceStyleScheme.html" title="GtkSourceStyleScheme"><span class="type">GtkSourceStyleScheme</span></a>
|
825
|
+
associated with the buffer, or <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
|
838
826
|
<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>
|
839
827
|
</div>
|
840
828
|
</div>
|
@@ -844,15 +832,15 @@ associated with the buffer, or <a href="/home/vagrant/ruby-gnome2.win32/glib2/ve
|
|
844
832
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
845
833
|
gtk_source_buffer_set_highlight_syntax
|
846
834
|
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
847
|
-
<em class="parameter"><code><a href="/home/
|
835
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> highlight</code></em>);</pre>
|
848
836
|
<p>Controls whether syntax is highlighted in the buffer.</p>
|
849
837
|
<p>If <em class="parameter"><code>highlight</code></em>
|
850
|
-
is <a href="/home/
|
838
|
+
is <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the text will be highlighted according to the syntax
|
851
839
|
patterns specified in the <a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a> set with
|
852
840
|
<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>.</p>
|
853
841
|
<p>If <em class="parameter"><code>highlight</code></em>
|
854
|
-
is <a href="/home/
|
855
|
-
<a href="
|
842
|
+
is <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>, syntax highlighting is disabled and all the
|
843
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextTag.html#GtkTextTag-struct"><span class="type">GtkTextTag</span></a> objects that have been added by the syntax highlighting engine
|
856
844
|
are removed from the buffer.</p>
|
857
845
|
<div class="refsect3">
|
858
846
|
<a name="gtk-source-buffer-set-highlight-syntax.parameters"></a><h4>Parameters</h4>
|
@@ -870,7 +858,7 @@ are removed from the buffer.</p>
|
|
870
858
|
</tr>
|
871
859
|
<tr>
|
872
860
|
<td class="parameter_name"><p>highlight</p></td>
|
873
|
-
<td class="parameter_description"><p><a href="/home/
|
861
|
+
<td class="parameter_description"><p><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to enable syntax highlighting, <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> to disable it.</p></td>
|
874
862
|
<td class="parameter_annotations"> </td>
|
875
863
|
</tr>
|
876
864
|
</tbody>
|
@@ -880,7 +868,7 @@ are removed from the buffer.</p>
|
|
880
868
|
<hr>
|
881
869
|
<div class="refsect2">
|
882
870
|
<a name="gtk-source-buffer-get-highlight-syntax"></a><h3>gtk_source_buffer_get_highlight_syntax ()</h3>
|
883
|
-
<pre class="programlisting"><a href="/home/
|
871
|
+
<pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
884
872
|
gtk_source_buffer_get_highlight_syntax
|
885
873
|
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);</pre>
|
886
874
|
<p>Determines whether syntax highlighting is activated in the source
|
@@ -902,7 +890,7 @@ buffer.</p>
|
|
902
890
|
</div>
|
903
891
|
<div class="refsect3">
|
904
892
|
<a name="gtk-source-buffer-get-highlight-syntax.returns"></a><h4>Returns</h4>
|
905
|
-
<p> <a href="/home/
|
893
|
+
<p> <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if syntax highlighting is enabled, <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
|
906
894
|
</div>
|
907
895
|
</div>
|
908
896
|
<hr>
|
@@ -911,7 +899,7 @@ buffer.</p>
|
|
911
899
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
912
900
|
gtk_source_buffer_set_highlight_matching_brackets
|
913
901
|
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
914
|
-
<em class="parameter"><code><a href="/home/
|
902
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> highlight</code></em>);</pre>
|
915
903
|
<p>Controls the bracket match highlighting function in the buffer. If
|
916
904
|
activated, when you position your cursor over a bracket character
|
917
905
|
(a parenthesis, a square bracket, etc.) the matching opening or
|
@@ -932,7 +920,7 @@ closing bracket character will be highlighted.</p>
|
|
932
920
|
</tr>
|
933
921
|
<tr>
|
934
922
|
<td class="parameter_name"><p>highlight</p></td>
|
935
|
-
<td class="parameter_description"><p><a href="/home/
|
923
|
+
<td class="parameter_description"><p><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if you want matching brackets highlighted.</p></td>
|
936
924
|
<td class="parameter_annotations"> </td>
|
937
925
|
</tr>
|
938
926
|
</tbody>
|
@@ -942,7 +930,7 @@ closing bracket character will be highlighted.</p>
|
|
942
930
|
<hr>
|
943
931
|
<div class="refsect2">
|
944
932
|
<a name="gtk-source-buffer-get-highlight-matching-brackets"></a><h3>gtk_source_buffer_get_highlight_matching_brackets ()</h3>
|
945
|
-
<pre class="programlisting"><a href="/home/
|
933
|
+
<pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
946
934
|
gtk_source_buffer_get_highlight_matching_brackets
|
947
935
|
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);</pre>
|
948
936
|
<p>Determines whether bracket match highlighting is activated for the
|
@@ -964,7 +952,7 @@ source buffer.</p>
|
|
964
952
|
</div>
|
965
953
|
<div class="refsect3">
|
966
954
|
<a name="gtk-source-buffer-get-highlight-matching-brackets.returns"></a><h4>Returns</h4>
|
967
|
-
<p> <a href="/home/
|
955
|
+
<p> <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the source buffer will highlight matching
|
968
956
|
brackets.</p>
|
969
957
|
</div>
|
970
958
|
</div>
|
@@ -973,8 +961,8 @@ brackets.</p>
|
|
973
961
|
<a name="gtk-source-buffer-ensure-highlight"></a><h3>gtk_source_buffer_ensure_highlight ()</h3>
|
974
962
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
975
963
|
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>,
|
976
|
-
<em class="parameter"><code>const <a href="
|
977
|
-
<em class="parameter"><code>const <a href="
|
964
|
+
<em class="parameter"><code>const <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *start</code></em>,
|
965
|
+
<em class="parameter"><code>const <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *end</code></em>);</pre>
|
978
966
|
<p>Forces buffer to analyze and highlight the given area synchronously.</p>
|
979
967
|
<div class="note"><p>
|
980
968
|
This is a potentially slow operation and should be used only
|
@@ -1061,7 +1049,7 @@ to check whether a call to this function will have any effect.</p>
|
|
1061
1049
|
<hr>
|
1062
1050
|
<div class="refsect2">
|
1063
1051
|
<a name="gtk-source-buffer-can-undo"></a><h3>gtk_source_buffer_can_undo ()</h3>
|
1064
|
-
<pre class="programlisting"><a href="/home/
|
1052
|
+
<pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1065
1053
|
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>
|
1066
1054
|
<p>Determines whether a source buffer can undo the last action.</p>
|
1067
1055
|
<div class="refsect3">
|
@@ -1081,13 +1069,13 @@ gtk_source_buffer_can_undo (<em class="parameter"><code><a class="link" href="Gt
|
|
1081
1069
|
</div>
|
1082
1070
|
<div class="refsect3">
|
1083
1071
|
<a name="gtk-source-buffer-can-undo.returns"></a><h4>Returns</h4>
|
1084
|
-
<p> <a href="/home/
|
1072
|
+
<p> <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if it's possible to undo the last action.</p>
|
1085
1073
|
</div>
|
1086
1074
|
</div>
|
1087
1075
|
<hr>
|
1088
1076
|
<div class="refsect2">
|
1089
1077
|
<a name="gtk-source-buffer-can-redo"></a><h3>gtk_source_buffer_can_redo ()</h3>
|
1090
|
-
<pre class="programlisting"><a href="/home/
|
1078
|
+
<pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1091
1079
|
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>
|
1092
1080
|
<p>Determines whether a source buffer can redo the last action
|
1093
1081
|
(i.e. if the last operation was an undo).</p>
|
@@ -1108,7 +1096,7 @@ gtk_source_buffer_can_redo (<em class="parameter"><code><a class="link" href="Gt
|
|
1108
1096
|
</div>
|
1109
1097
|
<div class="refsect3">
|
1110
1098
|
<a name="gtk-source-buffer-can-redo.returns"></a><h4>Returns</h4>
|
1111
|
-
<p> <a href="/home/
|
1099
|
+
<p> <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if a redo is possible.</p>
|
1112
1100
|
</div>
|
1113
1101
|
</div>
|
1114
1102
|
<hr>
|
@@ -1168,7 +1156,7 @@ is re-enabled.</p>
|
|
1168
1156
|
<hr>
|
1169
1157
|
<div class="refsect2">
|
1170
1158
|
<a name="gtk-source-buffer-get-max-undo-levels"></a><h3>gtk_source_buffer_get_max_undo_levels ()</h3>
|
1171
|
-
<pre class="programlisting"><a href="/home/
|
1159
|
+
<pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
1172
1160
|
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>
|
1173
1161
|
<p>Determines the number of undo levels the buffer will track for buffer edits.</p>
|
1174
1162
|
<div class="refsect3">
|
@@ -1196,7 +1184,7 @@ gtk_source_buffer_get_max_undo_levels (<em class="parameter"><code><a class="lin
|
|
1196
1184
|
<a name="gtk-source-buffer-set-max-undo-levels"></a><h3>gtk_source_buffer_set_max_undo_levels ()</h3>
|
1197
1185
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1198
1186
|
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>,
|
1199
|
-
<em class="parameter"><code><a href="/home/
|
1187
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> max_undo_levels</code></em>);</pre>
|
1200
1188
|
<p>Sets the number of undo levels for user actions the buffer will
|
1201
1189
|
track. If the number of user actions exceeds the limit set by this
|
1202
1190
|
function, older actions will be discarded.</p>
|
@@ -1252,8 +1240,8 @@ unreferenced by the user.</p>
|
|
1252
1240
|
</div>
|
1253
1241
|
<div class="refsect3">
|
1254
1242
|
<a name="gtk-source-buffer-get-undo-manager.returns"></a><h4>Returns</h4>
|
1255
|
-
<p>
|
1256
|
-
with the buffer, or <a href="/home/
|
1243
|
+
<p>the <a class="link" href="GtkSourceUndoManager.html" title="GtkSourceUndoManager"><span class="type">GtkSourceUndoManager</span></a> associated
|
1244
|
+
with the buffer, or <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
|
1257
1245
|
<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>
|
1258
1246
|
</div>
|
1259
1247
|
</div>
|
@@ -1264,7 +1252,7 @@ with the buffer, or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/
|
|
1264
1252
|
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>,
|
1265
1253
|
<em class="parameter"><code><a class="link" href="GtkSourceUndoManager.html" title="GtkSourceUndoManager"><span class="type">GtkSourceUndoManager</span></a> *manager</code></em>);</pre>
|
1266
1254
|
<p>Set the buffer undo manager. If <em class="parameter"><code>manager</code></em>
|
1267
|
-
is <a href="/home/
|
1255
|
+
is <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> the default undo manager
|
1268
1256
|
will be set.</p>
|
1269
1257
|
<div class="refsect3">
|
1270
1258
|
<a name="gtk-source-buffer-set-undo-manager.parameters"></a><h4>Parameters</h4>
|
@@ -1282,7 +1270,7 @@ will be set.</p>
|
|
1282
1270
|
</tr>
|
1283
1271
|
<tr>
|
1284
1272
|
<td class="parameter_name"><p>manager</p></td>
|
1285
|
-
<td class="parameter_description"><p>
|
1273
|
+
<td class="parameter_description"><p>A <a class="link" href="GtkSourceUndoManager.html" title="GtkSourceUndoManager"><span class="type">GtkSourceUndoManager</span></a> or <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1286
1274
|
<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>
|
1287
1275
|
</tr>
|
1288
1276
|
</tbody>
|
@@ -1292,11 +1280,11 @@ will be set.</p>
|
|
1292
1280
|
<hr>
|
1293
1281
|
<div class="refsect2">
|
1294
1282
|
<a name="gtk-source-buffer-iter-has-context-class"></a><h3>gtk_source_buffer_iter_has_context_class ()</h3>
|
1295
|
-
<pre class="programlisting"><a href="/home/
|
1283
|
+
<pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1296
1284
|
gtk_source_buffer_iter_has_context_class
|
1297
1285
|
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
1298
|
-
<em class="parameter"><code>const <a href="
|
1299
|
-
<em class="parameter"><code>const <a href="/home/
|
1286
|
+
<em class="parameter"><code>const <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *iter</code></em>,
|
1287
|
+
<em class="parameter"><code>const <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *context_class</code></em>);</pre>
|
1300
1288
|
<p>Check if the class <em class="parameter"><code>context_class</code></em>
|
1301
1289
|
is set on <em class="parameter"><code>iter</code></em>
|
1302
1290
|
.</p>
|
@@ -1317,7 +1305,7 @@ gtk_source_buffer_iter_has_context_class
|
|
1317
1305
|
</tr>
|
1318
1306
|
<tr>
|
1319
1307
|
<td class="parameter_name"><p>iter</p></td>
|
1320
|
-
<td class="parameter_description"><p>a <a href="
|
1308
|
+
<td class="parameter_description"><p>a <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a>.</p></td>
|
1321
1309
|
<td class="parameter_annotations"> </td>
|
1322
1310
|
</tr>
|
1323
1311
|
<tr>
|
@@ -1338,10 +1326,10 @@ has the context class.</p>
|
|
1338
1326
|
<hr>
|
1339
1327
|
<div class="refsect2">
|
1340
1328
|
<a name="gtk-source-buffer-get-context-classes-at-iter"></a><h3>gtk_source_buffer_get_context_classes_at_iter ()</h3>
|
1341
|
-
<pre class="programlisting"><a href="/home/
|
1329
|
+
<pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> **
|
1342
1330
|
gtk_source_buffer_get_context_classes_at_iter
|
1343
1331
|
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
1344
|
-
<em class="parameter"><code>const <a href="
|
1332
|
+
<em class="parameter"><code>const <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *iter</code></em>);</pre>
|
1345
1333
|
<p>Get all defined context classes at <em class="parameter"><code>iter</code></em>
|
1346
1334
|
.</p>
|
1347
1335
|
<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>
|
@@ -1361,7 +1349,7 @@ gtk_source_buffer_get_context_classes_at_iter
|
|
1361
1349
|
</tr>
|
1362
1350
|
<tr>
|
1363
1351
|
<td class="parameter_name"><p>iter</p></td>
|
1364
|
-
<td class="parameter_description"><p>a <a href="
|
1352
|
+
<td class="parameter_description"><p>a <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a>.</p></td>
|
1365
1353
|
<td class="parameter_annotations"> </td>
|
1366
1354
|
</tr>
|
1367
1355
|
</tbody>
|
@@ -1369,9 +1357,9 @@ gtk_source_buffer_get_context_classes_at_iter
|
|
1369
1357
|
</div>
|
1370
1358
|
<div class="refsect3">
|
1371
1359
|
<a name="gtk-source-buffer-get-context-classes-at-iter.returns"></a><h4>Returns</h4>
|
1372
|
-
<p>
|
1360
|
+
<p>a new <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
1373
1361
|
terminated array of context class names.
|
1374
|
-
Use <a href="/home/
|
1362
|
+
Use <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/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>
|
1375
1363
|
<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>
|
1376
1364
|
</div>
|
1377
1365
|
<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p>
|
@@ -1379,13 +1367,13 @@ Use <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/ht
|
|
1379
1367
|
<hr>
|
1380
1368
|
<div class="refsect2">
|
1381
1369
|
<a name="gtk-source-buffer-iter-forward-to-context-class-toggle"></a><h3>gtk_source_buffer_iter_forward_to_context_class_toggle ()</h3>
|
1382
|
-
<pre class="programlisting"><a href="/home/
|
1370
|
+
<pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1383
1371
|
gtk_source_buffer_iter_forward_to_context_class_toggle
|
1384
1372
|
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
1385
|
-
<em class="parameter"><code><a href="
|
1386
|
-
<em class="parameter"><code>const <a href="/home/
|
1373
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *iter</code></em>,
|
1374
|
+
<em class="parameter"><code>const <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *context_class</code></em>);</pre>
|
1387
1375
|
<p>Moves forward to the next toggle (on or off) of the context class. If no
|
1388
|
-
matching context class toggles are found, returns <a href="/home/
|
1376
|
+
matching context class toggles are found, returns <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>, otherwise <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>.
|
1389
1377
|
Does not return toggles located at <em class="parameter"><code>iter</code></em>
|
1390
1378
|
, only toggles after <em class="parameter"><code>iter</code></em>
|
1391
1379
|
. Sets
|
@@ -1409,7 +1397,7 @@ toggle is found.</p>
|
|
1409
1397
|
</tr>
|
1410
1398
|
<tr>
|
1411
1399
|
<td class="parameter_name"><p>iter</p></td>
|
1412
|
-
<td class="parameter_description"><p>a <a href="
|
1400
|
+
<td class="parameter_description"><p>a <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a>.</p></td>
|
1413
1401
|
<td class="parameter_annotations"> </td>
|
1414
1402
|
</tr>
|
1415
1403
|
<tr>
|
@@ -1430,13 +1418,13 @@ toggle is found.</p>
|
|
1430
1418
|
<hr>
|
1431
1419
|
<div class="refsect2">
|
1432
1420
|
<a name="gtk-source-buffer-iter-backward-to-context-class-toggle"></a><h3>gtk_source_buffer_iter_backward_to_context_class_toggle ()</h3>
|
1433
|
-
<pre class="programlisting"><a href="/home/
|
1421
|
+
<pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1434
1422
|
gtk_source_buffer_iter_backward_to_context_class_toggle
|
1435
1423
|
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
1436
|
-
<em class="parameter"><code><a href="
|
1437
|
-
<em class="parameter"><code>const <a href="/home/
|
1424
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *iter</code></em>,
|
1425
|
+
<em class="parameter"><code>const <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *context_class</code></em>);</pre>
|
1438
1426
|
<p>Moves backward to the next toggle (on or off) of the context class. If no
|
1439
|
-
matching context class toggles are found, returns <a href="/home/
|
1427
|
+
matching context class toggles are found, returns <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>, otherwise <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>.
|
1440
1428
|
Does not return toggles located at <em class="parameter"><code>iter</code></em>
|
1441
1429
|
, only toggles after <em class="parameter"><code>iter</code></em>
|
1442
1430
|
. Sets
|
@@ -1460,7 +1448,7 @@ toggle is found.</p>
|
|
1460
1448
|
</tr>
|
1461
1449
|
<tr>
|
1462
1450
|
<td class="parameter_name"><p>iter</p></td>
|
1463
|
-
<td class="parameter_description"><p>a <a href="
|
1451
|
+
<td class="parameter_description"><p>a <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a>.</p></td>
|
1464
1452
|
<td class="parameter_annotations"> </td>
|
1465
1453
|
</tr>
|
1466
1454
|
<tr>
|
@@ -1483,17 +1471,17 @@ toggle is found.</p>
|
|
1483
1471
|
<a name="gtk-source-buffer-create-source-mark"></a><h3>gtk_source_buffer_create_source_mark ()</h3>
|
1484
1472
|
<pre class="programlisting"><a class="link" href="GtkSourceMark.html" title="GtkSourceMark"><span class="returnvalue">GtkSourceMark</span></a> *
|
1485
1473
|
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>,
|
1486
|
-
<em class="parameter"><code>const <a href="/home/
|
1487
|
-
<em class="parameter"><code>const <a href="/home/
|
1488
|
-
<em class="parameter"><code>const <a href="
|
1474
|
+
<em class="parameter"><code>const <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
|
1475
|
+
<em class="parameter"><code>const <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *category</code></em>,
|
1476
|
+
<em class="parameter"><code>const <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *where</code></em>);</pre>
|
1489
1477
|
<p>Creates a source mark in the <em class="parameter"><code>buffer</code></em>
|
1490
1478
|
of category <em class="parameter"><code>category</code></em>
|
1491
1479
|
. A source mark is
|
1492
|
-
a <a href="
|
1480
|
+
a <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextMark.html#GtkTextMark-struct"><span class="type">GtkTextMark</span></a> but organised into categories. Depending on the category
|
1493
1481
|
a pixbuf can be specified that will be displayed along the line of the mark.</p>
|
1494
|
-
<p>Like a <a href="
|
1482
|
+
<p>Like a <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/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
|
1495
1483
|
passed <em class="parameter"><code>name</code></em>
|
1496
|
-
is <a href="/home/
|
1484
|
+
is <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. Also, the buffer owns the marks so you
|
1497
1485
|
shouldn't unreference it.</p>
|
1498
1486
|
<p>Marks always have left gravity and are moved to the beginning of
|
1499
1487
|
the line when the user deletes the line they were in.</p>
|
@@ -1515,7 +1503,7 @@ executing instruction indication in a source file, etc..</p>
|
|
1515
1503
|
</tr>
|
1516
1504
|
<tr>
|
1517
1505
|
<td class="parameter_name"><p>name</p></td>
|
1518
|
-
<td class="parameter_description"><p>
|
1506
|
+
<td class="parameter_description"><p>the name of the mark, or <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1519
1507
|
<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>
|
1520
1508
|
</tr>
|
1521
1509
|
<tr>
|
@@ -1533,7 +1521,7 @@ executing instruction indication in a source file, etc..</p>
|
|
1533
1521
|
</div>
|
1534
1522
|
<div class="refsect3">
|
1535
1523
|
<a name="gtk-source-buffer-create-source-mark.returns"></a><h4>Returns</h4>
|
1536
|
-
<p>
|
1524
|
+
<p>a new <a class="link" href="GtkSourceMark.html" title="GtkSourceMark"><span class="type">GtkSourceMark</span></a>, owned by the buffer. </p>
|
1537
1525
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
1538
1526
|
</div>
|
1539
1527
|
<p class="since">Since: <a class="link" href="api-index-2-2.html#api-index-2.2">2.2</a></p>
|
@@ -1541,15 +1529,15 @@ executing instruction indication in a source file, etc..</p>
|
|
1541
1529
|
<hr>
|
1542
1530
|
<div class="refsect2">
|
1543
1531
|
<a name="gtk-source-buffer-forward-iter-to-source-mark"></a><h3>gtk_source_buffer_forward_iter_to_source_mark ()</h3>
|
1544
|
-
<pre class="programlisting"><a href="/home/
|
1532
|
+
<pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1545
1533
|
gtk_source_buffer_forward_iter_to_source_mark
|
1546
1534
|
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
1547
|
-
<em class="parameter"><code><a href="
|
1548
|
-
<em class="parameter"><code>const <a href="/home/
|
1535
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *iter</code></em>,
|
1536
|
+
<em class="parameter"><code>const <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *category</code></em>);</pre>
|
1549
1537
|
<p>Moves <em class="parameter"><code>iter</code></em>
|
1550
1538
|
to the position of the next <a class="link" href="GtkSourceMark.html" title="GtkSourceMark"><span class="type">GtkSourceMark</span></a> of the given
|
1551
1539
|
<em class="parameter"><code>category</code></em>
|
1552
|
-
. Returns <a href="/home/
|
1540
|
+
. Returns <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>iter</code></em>
|
1553
1541
|
was moved. If <em class="parameter"><code>category</code></em>
|
1554
1542
|
is NULL, the
|
1555
1543
|
next source mark can be of any category.</p>
|
@@ -1574,7 +1562,7 @@ next source mark can be of any category.</p>
|
|
1574
1562
|
</tr>
|
1575
1563
|
<tr>
|
1576
1564
|
<td class="parameter_name"><p>category</p></td>
|
1577
|
-
<td class="parameter_description"><p>
|
1565
|
+
<td class="parameter_description"><p>category to search for, or <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1578
1566
|
<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>
|
1579
1567
|
</tr>
|
1580
1568
|
</tbody>
|
@@ -1590,14 +1578,14 @@ was moved.</p>
|
|
1590
1578
|
<hr>
|
1591
1579
|
<div class="refsect2">
|
1592
1580
|
<a name="gtk-source-buffer-backward-iter-to-source-mark"></a><h3>gtk_source_buffer_backward_iter_to_source_mark ()</h3>
|
1593
|
-
<pre class="programlisting"><a href="/home/
|
1581
|
+
<pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1594
1582
|
gtk_source_buffer_backward_iter_to_source_mark
|
1595
1583
|
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
1596
|
-
<em class="parameter"><code><a href="
|
1597
|
-
<em class="parameter"><code>const <a href="/home/
|
1584
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *iter</code></em>,
|
1585
|
+
<em class="parameter"><code>const <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *category</code></em>);</pre>
|
1598
1586
|
<p>Moves <em class="parameter"><code>iter</code></em>
|
1599
1587
|
to the position of the previous <a class="link" href="GtkSourceMark.html" title="GtkSourceMark"><span class="type">GtkSourceMark</span></a> of the given
|
1600
|
-
category. Returns <a href="/home/
|
1588
|
+
category. Returns <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>iter</code></em>
|
1601
1589
|
was moved. If <em class="parameter"><code>category</code></em>
|
1602
1590
|
is NULL, the
|
1603
1591
|
previous source mark can be of any category.</p>
|
@@ -1622,7 +1610,7 @@ previous source mark can be of any category.</p>
|
|
1622
1610
|
</tr>
|
1623
1611
|
<tr>
|
1624
1612
|
<td class="parameter_name"><p>category</p></td>
|
1625
|
-
<td class="parameter_description"><p>
|
1613
|
+
<td class="parameter_description"><p>category to search for, or <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1626
1614
|
<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>
|
1627
1615
|
</tr>
|
1628
1616
|
</tbody>
|
@@ -1638,15 +1626,15 @@ was moved.</p>
|
|
1638
1626
|
<hr>
|
1639
1627
|
<div class="refsect2">
|
1640
1628
|
<a name="gtk-source-buffer-get-source-marks-at-line"></a><h3>gtk_source_buffer_get_source_marks_at_line ()</h3>
|
1641
|
-
<pre class="programlisting"><a href="/home/
|
1629
|
+
<pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> *
|
1642
1630
|
gtk_source_buffer_get_source_marks_at_line
|
1643
1631
|
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
1644
|
-
<em class="parameter"><code><a href="/home/
|
1645
|
-
<em class="parameter"><code>const <a href="/home/
|
1632
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> line</code></em>,
|
1633
|
+
<em class="parameter"><code>const <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *category</code></em>);</pre>
|
1646
1634
|
<p>Returns the list of marks of the given category at <em class="parameter"><code>line</code></em>
|
1647
1635
|
.
|
1648
1636
|
If <em class="parameter"><code>category</code></em>
|
1649
|
-
is <a href="/home/
|
1637
|
+
is <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, all marks at <em class="parameter"><code>line</code></em>
|
1650
1638
|
are returned.</p>
|
1651
1639
|
<div class="refsect3">
|
1652
1640
|
<a name="gtk-source-buffer-get-source-marks-at-line.parameters"></a><h4>Parameters</h4>
|
@@ -1669,7 +1657,7 @@ If <em class="parameter"><code>category</code></em>
|
|
1669
1657
|
</tr>
|
1670
1658
|
<tr>
|
1671
1659
|
<td class="parameter_name"><p>category</p></td>
|
1672
|
-
<td class="parameter_description"><p>
|
1660
|
+
<td class="parameter_description"><p>category to search for, or <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1673
1661
|
<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>
|
1674
1662
|
</tr>
|
1675
1663
|
</tbody>
|
@@ -1677,7 +1665,7 @@ If <em class="parameter"><code>category</code></em>
|
|
1677
1665
|
</div>
|
1678
1666
|
<div class="refsect3">
|
1679
1667
|
<a name="gtk-source-buffer-get-source-marks-at-line.returns"></a><h4>Returns</h4>
|
1680
|
-
<p>a newly allocated <a href="/home/
|
1668
|
+
<p>a newly allocated <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a>. </p>
|
1681
1669
|
<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>
|
1682
1670
|
</div>
|
1683
1671
|
<p class="since">Since: <a class="link" href="api-index-2-2.html#api-index-2.2">2.2</a></p>
|
@@ -1685,15 +1673,15 @@ If <em class="parameter"><code>category</code></em>
|
|
1685
1673
|
<hr>
|
1686
1674
|
<div class="refsect2">
|
1687
1675
|
<a name="gtk-source-buffer-get-source-marks-at-iter"></a><h3>gtk_source_buffer_get_source_marks_at_iter ()</h3>
|
1688
|
-
<pre class="programlisting"><a href="/home/
|
1676
|
+
<pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> *
|
1689
1677
|
gtk_source_buffer_get_source_marks_at_iter
|
1690
1678
|
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
1691
|
-
<em class="parameter"><code><a href="
|
1692
|
-
<em class="parameter"><code>const <a href="/home/
|
1679
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *iter</code></em>,
|
1680
|
+
<em class="parameter"><code>const <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *category</code></em>);</pre>
|
1693
1681
|
<p>Returns the list of marks of the given category at <em class="parameter"><code>iter</code></em>
|
1694
1682
|
. If <em class="parameter"><code>category</code></em>
|
1695
1683
|
|
1696
|
-
is <a href="/home/
|
1684
|
+
is <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> it returns all marks at <em class="parameter"><code>iter</code></em>
|
1697
1685
|
.</p>
|
1698
1686
|
<div class="refsect3">
|
1699
1687
|
<a name="gtk-source-buffer-get-source-marks-at-iter.parameters"></a><h4>Parameters</h4>
|
@@ -1716,7 +1704,7 @@ is <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/htm
|
|
1716
1704
|
</tr>
|
1717
1705
|
<tr>
|
1718
1706
|
<td class="parameter_name"><p>category</p></td>
|
1719
|
-
<td class="parameter_description"><p>
|
1707
|
+
<td class="parameter_description"><p>category to search for, or <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1720
1708
|
<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>
|
1721
1709
|
</tr>
|
1722
1710
|
</tbody>
|
@@ -1724,7 +1712,7 @@ is <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/htm
|
|
1724
1712
|
</div>
|
1725
1713
|
<div class="refsect3">
|
1726
1714
|
<a name="gtk-source-buffer-get-source-marks-at-iter.returns"></a><h4>Returns</h4>
|
1727
|
-
<p>a newly allocated <a href="/home/
|
1715
|
+
<p>a newly allocated <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a>. </p>
|
1728
1716
|
<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>
|
1729
1717
|
</div>
|
1730
1718
|
<p class="since">Since: <a class="link" href="api-index-2-2.html#api-index-2.2">2.2</a></p>
|
@@ -1734,9 +1722,9 @@ is <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/htm
|
|
1734
1722
|
<a name="gtk-source-buffer-remove-source-marks"></a><h3>gtk_source_buffer_remove_source_marks ()</h3>
|
1735
1723
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1736
1724
|
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>,
|
1737
|
-
<em class="parameter"><code>const <a href="
|
1738
|
-
<em class="parameter"><code>const <a href="
|
1739
|
-
<em class="parameter"><code>const <a href="/home/
|
1725
|
+
<em class="parameter"><code>const <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *start</code></em>,
|
1726
|
+
<em class="parameter"><code>const <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *end</code></em>,
|
1727
|
+
<em class="parameter"><code>const <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *category</code></em>);</pre>
|
1740
1728
|
<p>Remove all marks of <em class="parameter"><code>category</code></em>
|
1741
1729
|
between <em class="parameter"><code>start</code></em>
|
1742
1730
|
and <em class="parameter"><code>end</code></em>
|
@@ -1759,17 +1747,17 @@ If <em class="parameter"><code>category</code></em>
|
|
1759
1747
|
</tr>
|
1760
1748
|
<tr>
|
1761
1749
|
<td class="parameter_name"><p>start</p></td>
|
1762
|
-
<td class="parameter_description"><p>a <a href="
|
1750
|
+
<td class="parameter_description"><p>a <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a>.</p></td>
|
1763
1751
|
<td class="parameter_annotations"> </td>
|
1764
1752
|
</tr>
|
1765
1753
|
<tr>
|
1766
1754
|
<td class="parameter_name"><p>end</p></td>
|
1767
|
-
<td class="parameter_description"><p>a <a href="
|
1755
|
+
<td class="parameter_description"><p>a <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a>.</p></td>
|
1768
1756
|
<td class="parameter_annotations"> </td>
|
1769
1757
|
</tr>
|
1770
1758
|
<tr>
|
1771
1759
|
<td class="parameter_name"><p>category</p></td>
|
1772
|
-
<td class="parameter_description"><p>
|
1760
|
+
<td class="parameter_description"><p>category to search for, or <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1773
1761
|
<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>
|
1774
1762
|
</tr>
|
1775
1763
|
</tbody>
|
@@ -1783,8 +1771,8 @@ If <em class="parameter"><code>category</code></em>
|
|
1783
1771
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1784
1772
|
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>,
|
1785
1773
|
<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html#GtkSourceChangeCaseType" title="enum GtkSourceChangeCaseType"><span class="type">GtkSourceChangeCaseType</span></a> case_type</code></em>,
|
1786
|
-
<em class="parameter"><code><a href="
|
1787
|
-
<em class="parameter"><code><a href="
|
1774
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *start</code></em>,
|
1775
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *end</code></em>);</pre>
|
1788
1776
|
<p>Changes the case of the text between the specified iterators.</p>
|
1789
1777
|
<div class="refsect3">
|
1790
1778
|
<a name="gtk-source-buffer-change-case.parameters"></a><h4>Parameters</h4>
|
@@ -1807,12 +1795,12 @@ gtk_source_buffer_change_case (<em class="parameter"><code><a class="link" href=
|
|
1807
1795
|
</tr>
|
1808
1796
|
<tr>
|
1809
1797
|
<td class="parameter_name"><p>start</p></td>
|
1810
|
-
<td class="parameter_description"><p>a <a href="
|
1798
|
+
<td class="parameter_description"><p>a <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a>.</p></td>
|
1811
1799
|
<td class="parameter_annotations"> </td>
|
1812
1800
|
</tr>
|
1813
1801
|
<tr>
|
1814
1802
|
<td class="parameter_name"><p>end</p></td>
|
1815
|
-
<td class="parameter_description"><p>a <a href="
|
1803
|
+
<td class="parameter_description"><p>a <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a>.</p></td>
|
1816
1804
|
<td class="parameter_annotations"> </td>
|
1817
1805
|
</tr>
|
1818
1806
|
</tbody>
|
@@ -1825,8 +1813,8 @@ gtk_source_buffer_change_case (<em class="parameter"><code><a class="link" href=
|
|
1825
1813
|
<a name="gtk-source-buffer-join-lines"></a><h3>gtk_source_buffer_join_lines ()</h3>
|
1826
1814
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1827
1815
|
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>,
|
1828
|
-
<em class="parameter"><code><a href="
|
1829
|
-
<em class="parameter"><code><a href="
|
1816
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *start</code></em>,
|
1817
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *end</code></em>);</pre>
|
1830
1818
|
<p>Joins the lines of text between the specified iterators.</p>
|
1831
1819
|
<div class="refsect3">
|
1832
1820
|
<a name="gtk-source-buffer-join-lines.parameters"></a><h4>Parameters</h4>
|
@@ -1844,12 +1832,12 @@ gtk_source_buffer_join_lines (<em class="parameter"><code><a class="link" href="
|
|
1844
1832
|
</tr>
|
1845
1833
|
<tr>
|
1846
1834
|
<td class="parameter_name"><p>start</p></td>
|
1847
|
-
<td class="parameter_description"><p>a <a href="
|
1835
|
+
<td class="parameter_description"><p>a <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a>.</p></td>
|
1848
1836
|
<td class="parameter_annotations"> </td>
|
1849
1837
|
</tr>
|
1850
1838
|
<tr>
|
1851
1839
|
<td class="parameter_name"><p>end</p></td>
|
1852
|
-
<td class="parameter_description"><p>a <a href="
|
1840
|
+
<td class="parameter_description"><p>a <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a>.</p></td>
|
1853
1841
|
<td class="parameter_annotations"> </td>
|
1854
1842
|
</tr>
|
1855
1843
|
</tbody>
|
@@ -1862,10 +1850,10 @@ gtk_source_buffer_join_lines (<em class="parameter"><code><a class="link" href="
|
|
1862
1850
|
<a name="gtk-source-buffer-sort-lines"></a><h3>gtk_source_buffer_sort_lines ()</h3>
|
1863
1851
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1864
1852
|
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>,
|
1865
|
-
<em class="parameter"><code><a href="
|
1866
|
-
<em class="parameter"><code><a href="
|
1853
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *start</code></em>,
|
1854
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *end</code></em>,
|
1867
1855
|
<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html#GtkSourceSortFlags" title="enum GtkSourceSortFlags"><span class="type">GtkSourceSortFlags</span></a> flags</code></em>,
|
1868
|
-
<em class="parameter"><code><a href="/home/
|
1856
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> column</code></em>);</pre>
|
1869
1857
|
<p>Sort the lines of text between the specified iterators.</p>
|
1870
1858
|
<div class="refsect3">
|
1871
1859
|
<a name="gtk-source-buffer-sort-lines.parameters"></a><h4>Parameters</h4>
|
@@ -1883,12 +1871,12 @@ gtk_source_buffer_sort_lines (<em class="parameter"><code><a class="link" href="
|
|
1883
1871
|
</tr>
|
1884
1872
|
<tr>
|
1885
1873
|
<td class="parameter_name"><p>start</p></td>
|
1886
|
-
<td class="parameter_description"><p>a <a href="
|
1874
|
+
<td class="parameter_description"><p>a <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a>.</p></td>
|
1887
1875
|
<td class="parameter_annotations"> </td>
|
1888
1876
|
</tr>
|
1889
1877
|
<tr>
|
1890
1878
|
<td class="parameter_name"><p>end</p></td>
|
1891
|
-
<td class="parameter_description"><p>a <a href="
|
1879
|
+
<td class="parameter_description"><p>a <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a>.</p></td>
|
1892
1880
|
<td class="parameter_annotations"> </td>
|
1893
1881
|
</tr>
|
1894
1882
|
<tr>
|
@@ -1912,13 +1900,13 @@ gtk_source_buffer_sort_lines (<em class="parameter"><code><a class="link" href="
|
|
1912
1900
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1913
1901
|
gtk_source_buffer_set_implicit_trailing_newline
|
1914
1902
|
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
1915
|
-
<em class="parameter"><code><a href="/home/
|
1903
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> implicit_trailing_newline</code></em>);</pre>
|
1916
1904
|
<p>Sets whether the <em class="parameter"><code>buffer</code></em>
|
1917
1905
|
has an implicit trailing newline.</p>
|
1918
|
-
<p>If an explicit trailing newline is present in a <a href="
|
1906
|
+
<p>If an explicit trailing newline is present in a <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextBuffer.html#GtkTextBuffer-struct"><span class="type">GtkTextBuffer</span></a>, <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextView.html#GtkTextView-struct"><span class="type">GtkTextView</span></a>
|
1919
1907
|
shows it as an empty line. This is generally not what the user expects.</p>
|
1920
1908
|
<p>If <em class="parameter"><code>implicit_trailing_newline</code></em>
|
1921
|
-
is <a href="/home/
|
1909
|
+
is <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> (the default value):</p>
|
1922
1910
|
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
|
1923
1911
|
<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>
|
1924
1912
|
,
|
@@ -1930,7 +1918,7 @@ the trailing newline (if present in the file) is not inserted into the
|
|
1930
1918
|
trailing newline is added to the file.</p></li>
|
1931
1919
|
</ul></div>
|
1932
1920
|
<p>On the other hand, if <em class="parameter"><code>implicit_trailing_newline</code></em>
|
1933
|
-
is <a href="/home/
|
1921
|
+
is <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>, the file's
|
1934
1922
|
content is not modified when loaded into the <em class="parameter"><code>buffer</code></em>
|
1935
1923
|
, and the <em class="parameter"><code>buffer</code></em>
|
1936
1924
|
's
|
@@ -1962,7 +1950,7 @@ content is not modified when saved into a file.</p>
|
|
1962
1950
|
<hr>
|
1963
1951
|
<div class="refsect2">
|
1964
1952
|
<a name="gtk-source-buffer-get-implicit-trailing-newline"></a><h3>gtk_source_buffer_get_implicit_trailing_newline ()</h3>
|
1965
|
-
<pre class="programlisting"><a href="/home/
|
1953
|
+
<pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1966
1954
|
gtk_source_buffer_get_implicit_trailing_newline
|
1967
1955
|
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);</pre>
|
1968
1956
|
<div class="refsect3">
|
@@ -2134,7 +2122,7 @@ has an implicit trailing newline.</p>
|
|
2134
2122
|
<a name="GtkSourceBuffer.property-details"></a><h2>Property Details</h2>
|
2135
2123
|
<div class="refsect2">
|
2136
2124
|
<a name="GtkSourceBuffer--can-redo"></a><h3>The <code class="literal">“can-redo”</code> property</h3>
|
2137
|
-
<pre class="programlisting"> “can-redo” <a href="/home/
|
2125
|
+
<pre class="programlisting"> “can-redo” <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
2138
2126
|
<p>Whether Redo operation is possible.</p>
|
2139
2127
|
<p>Flags: Read</p>
|
2140
2128
|
<p>Default value: FALSE</p>
|
@@ -2142,7 +2130,7 @@ has an implicit trailing newline.</p>
|
|
2142
2130
|
<hr>
|
2143
2131
|
<div class="refsect2">
|
2144
2132
|
<a name="GtkSourceBuffer--can-undo"></a><h3>The <code class="literal">“can-undo”</code> property</h3>
|
2145
|
-
<pre class="programlisting"> “can-undo” <a href="/home/
|
2133
|
+
<pre class="programlisting"> “can-undo” <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
2146
2134
|
<p>Whether Undo operation is possible.</p>
|
2147
2135
|
<p>Flags: Read</p>
|
2148
2136
|
<p>Default value: FALSE</p>
|
@@ -2150,7 +2138,7 @@ has an implicit trailing newline.</p>
|
|
2150
2138
|
<hr>
|
2151
2139
|
<div class="refsect2">
|
2152
2140
|
<a name="GtkSourceBuffer--highlight-matching-brackets"></a><h3>The <code class="literal">“highlight-matching-brackets”</code> property</h3>
|
2153
|
-
<pre class="programlisting"> “highlight-matching-brackets” <a href="/home/
|
2141
|
+
<pre class="programlisting"> “highlight-matching-brackets” <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
2154
2142
|
<p>Whether to highlight matching brackets in the buffer.</p>
|
2155
2143
|
<p>Flags: Read / Write</p>
|
2156
2144
|
<p>Default value: TRUE</p>
|
@@ -2158,7 +2146,7 @@ has an implicit trailing newline.</p>
|
|
2158
2146
|
<hr>
|
2159
2147
|
<div class="refsect2">
|
2160
2148
|
<a name="GtkSourceBuffer--highlight-syntax"></a><h3>The <code class="literal">“highlight-syntax”</code> property</h3>
|
2161
|
-
<pre class="programlisting"> “highlight-syntax” <a href="/home/
|
2149
|
+
<pre class="programlisting"> “highlight-syntax” <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
2162
2150
|
<p>Whether to highlight syntax in the buffer.</p>
|
2163
2151
|
<p>Flags: Read / Write</p>
|
2164
2152
|
<p>Default value: TRUE</p>
|
@@ -2166,7 +2154,7 @@ has an implicit trailing newline.</p>
|
|
2166
2154
|
<hr>
|
2167
2155
|
<div class="refsect2">
|
2168
2156
|
<a name="GtkSourceBuffer--implicit-trailing-newline"></a><h3>The <code class="literal">“implicit-trailing-newline”</code> property</h3>
|
2169
|
-
<pre class="programlisting"> “implicit-trailing-newline” <a href="/home/
|
2157
|
+
<pre class="programlisting"> “implicit-trailing-newline” <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
2170
2158
|
<p>Whether the buffer has an implicit trailing newline. See
|
2171
2159
|
<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>
|
2172
2160
|
<p>Flags: Read / Write / Construct</p>
|
@@ -2183,7 +2171,7 @@ has an implicit trailing newline.</p>
|
|
2183
2171
|
<hr>
|
2184
2172
|
<div class="refsect2">
|
2185
2173
|
<a name="GtkSourceBuffer--max-undo-levels"></a><h3>The <code class="literal">“max-undo-levels”</code> property</h3>
|
2186
|
-
<pre class="programlisting"> “max-undo-levels” <a href="/home/
|
2174
|
+
<pre class="programlisting"> “max-undo-levels” <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
|
2187
2175
|
<p>Number of undo levels for the buffer. -1 means no limit. This property
|
2188
2176
|
will only affect the default undo manager.</p>
|
2189
2177
|
<p>Flags: Read / Write</p>
|
@@ -2213,9 +2201,9 @@ brackets style.</p>
|
|
2213
2201
|
<a name="GtkSourceBuffer-bracket-matched"></a><h3>The <code class="literal">“bracket-matched”</code> signal</h3>
|
2214
2202
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
2215
2203
|
user_function (<a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer,
|
2216
|
-
<a href="
|
2204
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *iter,
|
2217
2205
|
<a class="link" href="GtkSourceBuffer.html#GtkSourceBracketMatchType" title="enum GtkSourceBracketMatchType"><span class="type">GtkSourceBracketMatchType</span></a> state,
|
2218
|
-
<a href="/home/
|
2206
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
2219
2207
|
<p><em class="parameter"><code>iter</code></em>
|
2220
2208
|
is set to a valid iterator pointing to the matching bracket
|
2221
2209
|
if <em class="parameter"><code>state</code></em>
|
@@ -2225,7 +2213,7 @@ meaningless.</p>
|
|
2225
2213
|
<p>The signal is emitted only when the <em class="parameter"><code>state</code></em>
|
2226
2214
|
changes, typically when
|
2227
2215
|
the cursor moves.</p>
|
2228
|
-
<p>A use-case for this signal is to show messages in a <a href="
|
2216
|
+
<p>A use-case for this signal is to show messages in a <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkStatusbar.html#GtkStatusbar-struct"><span class="type">GtkStatusbar</span></a>.</p>
|
2229
2217
|
<div class="refsect3">
|
2230
2218
|
<a name="GtkSourceBuffer-bracket-matched.parameters"></a><h4>Parameters</h4>
|
2231
2219
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
@@ -2258,7 +2246,7 @@ the cursor moves.</p>
|
|
2258
2246
|
</tbody>
|
2259
2247
|
</table></div>
|
2260
2248
|
</div>
|
2261
|
-
<p>Flags: <a href="/home/
|
2249
|
+
<p>Flags: <a href="/home/seb/jhbuild/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
2262
2250
|
<p class="since">Since: <a class="link" href="api-index-2-12.html#api-index-2.12">2.12</a></p>
|
2263
2251
|
</div>
|
2264
2252
|
<hr>
|
@@ -2266,9 +2254,9 @@ the cursor moves.</p>
|
|
2266
2254
|
<a name="GtkSourceBuffer-highlight-updated"></a><h3>The <code class="literal">“highlight-updated”</code> signal</h3>
|
2267
2255
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
2268
2256
|
user_function (<a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer,
|
2269
|
-
<a href="
|
2270
|
-
<a href="
|
2271
|
-
<a href="/home/
|
2257
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *start,
|
2258
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *end,
|
2259
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
2272
2260
|
<p>The ::highlight-updated signal is emitted when the syntax
|
2273
2261
|
highlighting and <a class="link" href="GtkSourceBuffer.html#context-classes" title="Context Classes">context classes</a> are updated in a
|
2274
2262
|
certain region of the <em class="parameter"><code>buffer</code></em>
|
@@ -2305,14 +2293,14 @@ certain region of the <em class="parameter"><code>buffer</code></em>
|
|
2305
2293
|
</tbody>
|
2306
2294
|
</table></div>
|
2307
2295
|
</div>
|
2308
|
-
<p>Flags: <a href="/home/
|
2296
|
+
<p>Flags: <a href="/home/seb/jhbuild/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
2309
2297
|
</div>
|
2310
2298
|
<hr>
|
2311
2299
|
<div class="refsect2">
|
2312
2300
|
<a name="GtkSourceBuffer-redo"></a><h3>The <code class="literal">“redo”</code> signal</h3>
|
2313
2301
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
2314
2302
|
user_function (<a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer,
|
2315
|
-
<a href="/home/
|
2303
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
2316
2304
|
<p>The ::redo signal is emitted to redo the last undo operation.</p>
|
2317
2305
|
<div class="refsect3">
|
2318
2306
|
<a name="GtkSourceBuffer-redo.parameters"></a><h4>Parameters</h4>
|
@@ -2336,15 +2324,15 @@ user_function (<a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffe
|
|
2336
2324
|
</tbody>
|
2337
2325
|
</table></div>
|
2338
2326
|
</div>
|
2339
|
-
<p>Flags: <a href="/home/
|
2327
|
+
<p>Flags: <a href="/home/seb/jhbuild/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
2340
2328
|
</div>
|
2341
2329
|
<hr>
|
2342
2330
|
<div class="refsect2">
|
2343
2331
|
<a name="GtkSourceBuffer-source-mark-updated"></a><h3>The <code class="literal">“source-mark-updated”</code> signal</h3>
|
2344
2332
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
2345
2333
|
user_function (<a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer,
|
2346
|
-
<a href="
|
2347
|
-
<a href="/home/
|
2334
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/GtkTextMark.html#GtkTextMark-struct"><span class="type">GtkTextMark</span></a> *mark,
|
2335
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
2348
2336
|
<p>The ::source-mark-updated signal is emitted each time
|
2349
2337
|
a mark is added to, moved or removed from the <em class="parameter"><code>buffer</code></em>
|
2350
2338
|
.</p>
|
@@ -2375,14 +2363,14 @@ a mark is added to, moved or removed from the <em class="parameter"><code>buffer
|
|
2375
2363
|
</tbody>
|
2376
2364
|
</table></div>
|
2377
2365
|
</div>
|
2378
|
-
<p>Flags: <a href="/home/
|
2366
|
+
<p>Flags: <a href="/home/seb/jhbuild/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
2379
2367
|
</div>
|
2380
2368
|
<hr>
|
2381
2369
|
<div class="refsect2">
|
2382
2370
|
<a name="GtkSourceBuffer-undo"></a><h3>The <code class="literal">“undo”</code> signal</h3>
|
2383
2371
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
2384
2372
|
user_function (<a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer,
|
2385
|
-
<a href="/home/
|
2373
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
2386
2374
|
<p>The ::undo signal is emitted to undo the last user action which
|
2387
2375
|
modified the buffer.</p>
|
2388
2376
|
<div class="refsect3">
|
@@ -2407,12 +2395,12 @@ modified the buffer.</p>
|
|
2407
2395
|
</tbody>
|
2408
2396
|
</table></div>
|
2409
2397
|
</div>
|
2410
|
-
<p>Flags: <a href="/home/
|
2398
|
+
<p>Flags: <a href="/home/seb/jhbuild/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
2411
2399
|
</div>
|
2412
2400
|
</div>
|
2413
2401
|
<div class="refsect1">
|
2414
2402
|
<a name="GtkSourceBuffer.see-also"></a><h2>See Also</h2>
|
2415
|
-
<p><a href="
|
2403
|
+
<p><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk4/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>
|
2416
2404
|
</div>
|
2417
2405
|
</div>
|
2418
2406
|
<div class="footer">
|