gtksourceview3 3.0.9-x86-mingw32 → 3.1.0-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 +7 -1
- data/lib/gtksourceview3/loader.rb +0 -6
- data/vendor/local/bin/libgtksourceview-3.0-1.dll +0 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/completion-providers/words/gtksourcecompletionwords.h +11 -3
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksource.h +10 -3
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceautocleanups.h +11 -3
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcebuffer.h +14 -7
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletion.h +12 -4
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletioncontext.h +12 -4
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletioninfo.h +11 -3
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletionitem.h +11 -3
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletionproposal.h +11 -3
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletionprovider.h +11 -3
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceencoding.h +11 -3
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcefile.h +53 -3
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcefileloader.h +13 -4
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcefilesaver.h +14 -5
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutter.h +11 -3
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutterrenderer.h +15 -7
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutterrendererpixbuf.h +11 -3
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutterrenderertext.h +11 -3
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcelanguage.h +11 -3
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcelanguagemanager.h +16 -4
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcemap.h +11 -3
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcemark.h +11 -3
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcemarkattributes.h +11 -3
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceprintcompositor.h +11 -3
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceregion.h +132 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcesearchcontext.h +55 -9
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcesearchsettings.h +11 -3
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyle.h +17 -5
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestylescheme.h +11 -3
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyleschemechooser.h +12 -3
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyleschemechooserbutton.h +11 -3
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyleschemechooserwidget.h +8 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyleschememanager.h +15 -3
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcetag.h +11 -3
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcetypes.h +13 -60
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceundomanager.h +11 -3
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceutils.h +11 -3
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceversion.h +33 -5
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceview-enumtypes.h +122 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceview-typebuiltins.h +39 -114
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceview.h +57 -34
- data/vendor/local/lib/girepository-1.0/GtkSource-3.0.typelib +0 -0
- data/vendor/local/lib/libgtksourceview-3.0.dll.a +0 -0
- data/vendor/local/lib/libgtksourceview-3.0.la +4 -4
- data/vendor/local/lib/pkgconfig/gtksourceview-3.0.pc +1 -1
- data/vendor/local/share/gir-1.0/GtkSource-3.0.gir +749 -36
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceBuffer.html +331 -320
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletion.html +110 -108
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionContext.html +37 -35
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionInfo.html +47 -47
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionItem.html +42 -42
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProposal.html +62 -62
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProvider.html +69 -69
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionWords.html +35 -35
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceEncoding.html +30 -30
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFile.html +63 -60
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFileLoader.html +64 -62
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFileSaver.html +64 -60
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutter.html +41 -41
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRenderer.html +195 -187
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererPixbuf.html +38 -38
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererText.html +28 -28
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguage.html +62 -62
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguageManager.html +43 -43
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMap.html +21 -21
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMark.html +36 -36
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMarkAttributes.html +75 -75
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourcePrintCompositor.html +182 -182
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceRegion.html +870 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSearchContext.html +539 -141
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSearchSettings.html +57 -54
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyle.html +98 -49
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleScheme.html +42 -39
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeChooser.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeChooserButton.html +14 -14
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeChooserWidget.html +15 -15
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeManager.html +32 -32
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceTag.html +24 -22
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceUndoManager.html +31 -31
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceView.html +223 -212
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/annotation-glossary.html +9 -10
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-2-0.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-2-10.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-2-12.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-2-2.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-2-4.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-2-8.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-0.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-10.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-12.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-14.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-16.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-18.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-20.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-22.html +125 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-4.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-deprecated.html +25 -5
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-full.html +107 -7
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch01.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch02.html +1 -19
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch03.html +13 -16
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch04.html +20 -11
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch05.html +11 -17
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch06.html +27 -10
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch07.html +10 -15
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch08.html +9 -18
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch09.html +22 -19
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-GtkSourceUtils.html +16 -16
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-Version-Information.html +37 -24
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0.devhelp2 +65 -34
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/index.html +20 -10
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-reference.html +24 -18
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-tutorial.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/object-tree.html +41 -22
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/pt01.html +13 -7
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/pt02.html +49 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/pt03.html +53 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/style-reference.html +5 -5
- data/vendor/local/share/gtksourceview-3.0/language-specs/css.lang +2 -2
- data/vendor/local/share/gtksourceview-3.0/language-specs/jade.lang +8 -9
- data/vendor/local/share/gtksourceview-3.0/language-specs/latex.lang +28 -36
- data/vendor/local/share/gtksourceview-3.0/language-specs/python3.lang +4 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/rpmspec.lang +3 -2
- data/vendor/local/share/gtksourceview-3.0/language-specs/rust.lang +63 -30
- data/vendor/local/share/locale/ar/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ast/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/az/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/bn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/bn_IN/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/bs/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/cy/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/dz/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/en@shaw/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/en_CA/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/fa/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ga/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/gu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/hr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/kk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/mai/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/mg/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/mk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/mn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/mr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ms/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ne/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/nn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/oc/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/rw/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/si/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/sq/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ta/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/tg/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/th/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/xh/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- metadata +13 -7
@@ -3,7 +3,7 @@
|
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
5
|
<title>GtkSourceBuffer: GtkSourceView 3 Reference Manual</title>
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
7
7
|
<link rel="home" href="index.html" title="GtkSourceView 3 Reference Manual">
|
8
8
|
<link rel="up" href="ch01.html" title="Main Classes">
|
9
9
|
<link rel="prev" href="ch01.html" title="Main Classes">
|
@@ -36,7 +36,7 @@
|
|
36
36
|
</tr></table></div>
|
37
37
|
<div class="refsect1">
|
38
38
|
<a name="GtkSourceBuffer.functions"></a><h2>Functions</h2>
|
39
|
-
<div class="informaltable"><table width="100%" border="0">
|
39
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
40
40
|
<colgroup>
|
41
41
|
<col width="150px" class="functions_return">
|
42
42
|
<col class="functions_name">
|
@@ -60,7 +60,7 @@
|
|
60
60
|
</tr>
|
61
61
|
<tr>
|
62
62
|
<td class="function_type">
|
63
|
-
<a href="http://developer.gnome.org/
|
63
|
+
<a href="http://developer.gnome.org/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>
|
@@ -71,15 +71,15 @@
|
|
71
71
|
<span class="returnvalue">void</span>
|
72
72
|
</td>
|
73
73
|
<td class="function_name">
|
74
|
-
<a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-set-
|
74
|
+
<a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-set-language" title="gtk_source_buffer_set_language ()">gtk_source_buffer_set_language</a> <span class="c_punctuation">()</span>
|
75
75
|
</td>
|
76
76
|
</tr>
|
77
77
|
<tr>
|
78
78
|
<td class="function_type">
|
79
|
-
<a href="
|
79
|
+
<a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="returnvalue">GtkSourceLanguage</span></a> *
|
80
80
|
</td>
|
81
81
|
<td class="function_name">
|
82
|
-
<a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-get-
|
82
|
+
<a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-get-language" title="gtk_source_buffer_get_language ()">gtk_source_buffer_get_language</a> <span class="c_punctuation">()</span>
|
83
83
|
</td>
|
84
84
|
</tr>
|
85
85
|
<tr>
|
@@ -87,15 +87,15 @@
|
|
87
87
|
<span class="returnvalue">void</span>
|
88
88
|
</td>
|
89
89
|
<td class="function_name">
|
90
|
-
<a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-set-
|
90
|
+
<a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-set-style-scheme" title="gtk_source_buffer_set_style_scheme ()">gtk_source_buffer_set_style_scheme</a> <span class="c_punctuation">()</span>
|
91
91
|
</td>
|
92
92
|
</tr>
|
93
93
|
<tr>
|
94
94
|
<td class="function_type">
|
95
|
-
<a class="link" href="
|
95
|
+
<a class="link" href="GtkSourceStyleScheme.html" title="GtkSourceStyleScheme"><span class="returnvalue">GtkSourceStyleScheme</span></a> *
|
96
96
|
</td>
|
97
97
|
<td class="function_name">
|
98
|
-
<a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-get-
|
98
|
+
<a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-get-style-scheme" title="gtk_source_buffer_get_style_scheme ()">gtk_source_buffer_get_style_scheme</a> <span class="c_punctuation">()</span>
|
99
99
|
</td>
|
100
100
|
</tr>
|
101
101
|
<tr>
|
@@ -103,15 +103,15 @@
|
|
103
103
|
<span class="returnvalue">void</span>
|
104
104
|
</td>
|
105
105
|
<td class="function_name">
|
106
|
-
<a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-set-highlight-
|
106
|
+
<a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-set-highlight-syntax" title="gtk_source_buffer_set_highlight_syntax ()">gtk_source_buffer_set_highlight_syntax</a> <span class="c_punctuation">()</span>
|
107
107
|
</td>
|
108
108
|
</tr>
|
109
109
|
<tr>
|
110
110
|
<td class="function_type">
|
111
|
-
<a href="
|
111
|
+
<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/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
|
-
<a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-get-highlight-
|
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>
|
115
115
|
</td>
|
116
116
|
</tr>
|
117
117
|
<tr>
|
@@ -119,15 +119,15 @@
|
|
119
119
|
<span class="returnvalue">void</span>
|
120
120
|
</td>
|
121
121
|
<td class="function_name">
|
122
|
-
<a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-set-
|
122
|
+
<a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-set-highlight-matching-brackets" title="gtk_source_buffer_set_highlight_matching_brackets ()">gtk_source_buffer_set_highlight_matching_brackets</a> <span class="c_punctuation">()</span>
|
123
123
|
</td>
|
124
124
|
</tr>
|
125
125
|
<tr>
|
126
126
|
<td class="function_type">
|
127
|
-
<a
|
127
|
+
<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/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
|
-
<a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-get-
|
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>
|
131
131
|
</td>
|
132
132
|
</tr>
|
133
133
|
<tr>
|
@@ -156,7 +156,7 @@
|
|
156
156
|
</tr>
|
157
157
|
<tr>
|
158
158
|
<td class="function_type">
|
159
|
-
<a href="
|
159
|
+
<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/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="
|
167
|
+
<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/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="
|
191
|
+
<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/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="
|
223
|
+
<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/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="
|
231
|
+
<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/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="
|
239
|
+
<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/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="
|
247
|
+
<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/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="
|
263
|
+
<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/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="
|
271
|
+
<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/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="
|
279
|
+
<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/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="
|
287
|
+
<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/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="
|
335
|
+
<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/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>
|
@@ -343,7 +343,7 @@
|
|
343
343
|
</div>
|
344
344
|
<div class="refsect1">
|
345
345
|
<a name="GtkSourceBuffer.properties"></a><h2>Properties</h2>
|
346
|
-
<div class="informaltable"><table border="0">
|
346
|
+
<div class="informaltable"><table class="informaltable" border="0">
|
347
347
|
<colgroup>
|
348
348
|
<col width="150px" class="properties_type">
|
349
349
|
<col width="300px" class="properties_name">
|
@@ -351,27 +351,27 @@
|
|
351
351
|
</colgroup>
|
352
352
|
<tbody>
|
353
353
|
<tr>
|
354
|
-
<td class="property_type"><a href="
|
354
|
+
<td class="property_type"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/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="
|
359
|
+
<td class="property_type"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/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="
|
364
|
+
<td class="property_type"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/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="
|
369
|
+
<td class="property_type"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/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="
|
374
|
+
<td class="property_type"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/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="
|
385
|
+
<td class="property_type"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/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>
|
@@ -403,7 +403,7 @@
|
|
403
403
|
</div>
|
404
404
|
<div class="refsect1">
|
405
405
|
<a name="GtkSourceBuffer.signals"></a><h2>Signals</h2>
|
406
|
-
<div class="informaltable"><table border="0">
|
406
|
+
<div class="informaltable"><table class="informaltable" border="0">
|
407
407
|
<colgroup>
|
408
408
|
<col width="150px" class="signals_return">
|
409
409
|
<col width="300px" class="signals_name">
|
@@ -413,34 +413,34 @@
|
|
413
413
|
<tr>
|
414
414
|
<td class="signal_type"><span class="returnvalue">void</span></td>
|
415
415
|
<td class="signal_name"><a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer-bracket-matched" title="The “bracket-matched” signal">bracket-matched</a></td>
|
416
|
-
<td class="signal_flags"><a href="
|
416
|
+
<td class="signal_flags"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/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="
|
421
|
+
<td class="signal_flags"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/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="
|
426
|
+
<td class="signal_flags"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/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="
|
431
|
+
<td class="signal_flags"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/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="
|
436
|
+
<td class="signal_flags"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/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>
|
440
440
|
</div>
|
441
441
|
<div class="refsect1">
|
442
442
|
<a name="GtkSourceBuffer.other"></a><h2>Types and Values</h2>
|
443
|
-
<div class="informaltable"><table width="100%" border="0">
|
443
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
444
444
|
<colgroup>
|
445
445
|
<col width="150px" class="name">
|
446
446
|
<col class="description">
|
@@ -467,8 +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="
|
471
|
-
<span class="lineart"
|
470
|
+
<pre class="screen"> <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html">GEnum</a>
|
471
|
+
<span class="lineart">├──</span> GtkSourceBracketMatchType
|
472
|
+
<span class="lineart">╰──</span> GtkSourceChangeCaseType
|
473
|
+
<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html">GFlags</a>
|
474
|
+
<span class="lineart">╰──</span> GtkSourceSortFlags
|
475
|
+
<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
|
476
|
+
<span class="lineart">╰──</span> <a href="http://developer.gnome.org/gtk4/GtkTextBuffer.html#GtkTextBuffer-struct">GtkTextBuffer</a>
|
472
477
|
<span class="lineart">╰──</span> GtkSourceBuffer
|
473
478
|
</pre>
|
474
479
|
</div>
|
@@ -480,14 +485,14 @@
|
|
480
485
|
<div class="refsect1">
|
481
486
|
<a name="GtkSourceBuffer.description"></a><h2>Description</h2>
|
482
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.
|
483
|
-
It extends the <a href="http://developer.gnome.org/
|
488
|
+
It extends the <a href="http://developer.gnome.org/gtk4/GtkTextBuffer.html#GtkTextBuffer-struct"><span class="type">GtkTextBuffer</span></a> class by adding features useful to display
|
484
489
|
and edit source code such as syntax highlighting and bracket matching. It
|
485
490
|
also implements support for the undo/redo.</p>
|
486
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
|
487
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
|
488
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
|
489
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
|
490
|
-
<a href="http://developer.gnome.org/
|
495
|
+
<a href="http://developer.gnome.org/gtk4/GtkTextView.html#gtk-text-view-get-buffer"><code class="function">gtk_text_view_get_buffer()</code></a>.</p>
|
491
496
|
<p>The highlighting is enabled by default, but you can disable it with
|
492
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>
|
493
498
|
<div class="refsect2">
|
@@ -497,16 +502,16 @@ directly create a <a class="link" href="GtkSourceView.html" title="GtkSourceView
|
|
497
502
|
should be suitable for most uses, so you can use the API provided by
|
498
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
|
499
504
|
that can be undone or redone are defined as groups of operations between a
|
500
|
-
call to <a href="http://developer.gnome.org/
|
501
|
-
<a href="http://developer.gnome.org/
|
505
|
+
call to <a href="http://developer.gnome.org/gtk4/GtkTextBuffer.html#gtk-text-buffer-begin-user-action"><code class="function">gtk_text_buffer_begin_user_action()</code></a> and
|
506
|
+
<a href="http://developer.gnome.org/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
|
502
507
|
presses any key which modifies the buffer. But the default undo manager will
|
503
508
|
try to merge similar consecutive actions into one undo/redo level. The
|
504
509
|
merging is done word by word, so after writing a new sentence (character by
|
505
510
|
character), each undo will remove the previous word.</p>
|
506
511
|
<p>The default undo manager remembers the "modified" state of the buffer, and
|
507
512
|
restores it when an action is undone or redone. It can be useful in a text
|
508
|
-
editor to know whether the file is saved. See <a href="http://developer.gnome.org/
|
509
|
-
and <a href="http://developer.gnome.org/
|
513
|
+
editor to know whether the file is saved. See <a href="http://developer.gnome.org/gtk4/GtkTextBuffer.html#gtk-text-buffer-get-modified"><code class="function">gtk_text_buffer_get_modified()</code></a>
|
514
|
+
and <a href="http://developer.gnome.org/gtk4/GtkTextBuffer.html#gtk-text-buffer-set-modified"><code class="function">gtk_text_buffer_set_modified()</code></a>.</p>
|
510
515
|
<p>The default undo manager also restores the selected text (or cursor
|
511
516
|
position), if the selection was related to the action. For example if the
|
512
517
|
user selects some text and deletes it, an undo will restore the selection. On
|
@@ -518,7 +523,7 @@ future.</p>
|
|
518
523
|
</div>
|
519
524
|
<hr>
|
520
525
|
<div class="refsect2">
|
521
|
-
<a name="
|
526
|
+
<a name="context-classes"></a><h3>Context Classes</h3>
|
522
527
|
<p>It is possible to retrieve some information from the syntax highlighting
|
523
528
|
engine. The default context classes that are applied to regions of a
|
524
529
|
<a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>:</p>
|
@@ -538,9 +543,9 @@ a string parameter as the context class.</p>
|
|
538
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>
|
539
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
|
540
545
|
when a context class region changes.</p>
|
541
|
-
<p>Each context class has also an associated <a href="http://developer.gnome.org/
|
546
|
+
<p>Each context class has also an associated <a href="http://developer.gnome.org/gtk4/GtkTextTag.html#GtkTextTag-struct"><span class="type">GtkTextTag</span></a> with the name
|
542
547
|
<span class="emphasis"><em>gtksourceview:context-classes:<name></em></span>. For example to
|
543
|
-
retrieve the <a href="http://developer.gnome.org/
|
548
|
+
retrieve the <a href="http://developer.gnome.org/gtk4/GtkTextTag.html#GtkTextTag-struct"><span class="type">GtkTextTag</span></a> for the string context class, one can write:</p>
|
544
549
|
<div class="informalexample">
|
545
550
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
546
551
|
<tbody>
|
@@ -553,8 +558,8 @@ retrieve the <a href="http://developer.gnome.org/gtk3/GtkTextTag.html#GtkTextTag
|
|
553
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>
|
554
559
|
<span class="usertype">GtkTextTag</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">tag</span><span class="symbol">;</span>
|
555
560
|
|
556
|
-
<span class="normal">tag_table </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="http://developer.gnome.org/
|
557
|
-
<span class="normal">tag </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="http://developer.gnome.org/
|
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>
|
558
563
|
</tr>
|
559
564
|
</tbody>
|
560
565
|
</table>
|
@@ -562,16 +567,16 @@ retrieve the <a href="http://developer.gnome.org/gtk3/GtkTextTag.html#GtkTextTag
|
|
562
567
|
|
563
568
|
<p></p>
|
564
569
|
<p>The tag must be used for read-only purposes.</p>
|
565
|
-
<p>Accessing a context class via the associated <a href="http://developer.gnome.org/
|
570
|
+
<p>Accessing a context class via the associated <a href="http://developer.gnome.org/gtk4/GtkTextTag.html#GtkTextTag-struct"><span class="type">GtkTextTag</span></a> is less
|
566
571
|
convenient than the <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> API, because:</p>
|
567
572
|
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
|
568
573
|
<li class="listitem"><p>The tag doesn't always exist, you need to listen to the
|
569
|
-
<a href="http://developer.gnome.org/
|
574
|
+
<a href="http://developer.gnome.org/gtk4/GtkTextTagTable.html#GtkTextTagTable-tag-added"><span class="type">“tag-added”</span></a> and <a href="http://developer.gnome.org/gtk4/GtkTextTagTable.html#GtkTextTagTable-tag-removed"><span class="type">“tag-removed”</span></a> signals.</p></li>
|
570
575
|
<li class="listitem"><p>Instead of the <a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer-highlight-updated" title="The “highlight-updated” signal"><span class="type">“highlight-updated”</span></a> signal, you can listen
|
571
|
-
to the <a href="http://developer.gnome.org/
|
576
|
+
to the <a href="http://developer.gnome.org/gtk4/GtkTextBuffer.html#GtkTextBuffer-apply-tag"><span class="type">“apply-tag”</span></a> and <a href="http://developer.gnome.org/gtk4/GtkTextBuffer.html#GtkTextBuffer-remove-tag"><span class="type">“remove-tag”</span></a> signals.</p></li>
|
572
577
|
</ul></div>
|
573
578
|
<p>A possible use-case for accessing a context class via the associated
|
574
|
-
<a href="http://developer.gnome.org/
|
579
|
+
<a href="http://developer.gnome.org/gtk4/GtkTextTag.html#GtkTextTag-struct"><span class="type">GtkTextTag</span></a> is to read the region but without adding a hard dependency on the
|
575
580
|
GtkSourceView library (for example for a spell-checking library that wants to
|
576
581
|
read the no-spell-check region).</p>
|
577
582
|
</div>
|
@@ -581,11 +586,11 @@ read the no-spell-check region).</p>
|
|
581
586
|
<div class="refsect2">
|
582
587
|
<a name="gtk-source-buffer-new"></a><h3>gtk_source_buffer_new ()</h3>
|
583
588
|
<pre class="programlisting"><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="returnvalue">GtkSourceBuffer</span></a> *
|
584
|
-
gtk_source_buffer_new (<em class="parameter"><code><a href="http://developer.gnome.org/
|
589
|
+
gtk_source_buffer_new (<em class="parameter"><code><a href="http://developer.gnome.org/gtk4/GtkTextTagTable.html#GtkTextTagTable-struct"><span class="type">GtkTextTagTable</span></a> *table</code></em>);</pre>
|
585
590
|
<p>Creates a new source buffer.</p>
|
586
591
|
<div class="refsect3">
|
587
592
|
<a name="gtk-source-buffer-new.parameters"></a><h4>Parameters</h4>
|
588
|
-
<div class="informaltable"><table width="100%" border="0">
|
593
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
589
594
|
<colgroup>
|
590
595
|
<col width="150px" class="parameters_name">
|
591
596
|
<col class="parameters_description">
|
@@ -593,8 +598,8 @@ gtk_source_buffer_new (<em class="parameter"><code><a href="http://developer.gno
|
|
593
598
|
</colgroup>
|
594
599
|
<tbody><tr>
|
595
600
|
<td class="parameter_name"><p>table</p></td>
|
596
|
-
<td class="parameter_description"><p> a <a href="http://developer.gnome.org/
|
597
|
-
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL
|
601
|
+
<td class="parameter_description"><p> a <a href="http://developer.gnome.org/gtk4/GtkTextTagTable.html#GtkTextTagTable-struct"><span class="type">GtkTextTagTable</span></a>, or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/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
|
+
<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>
|
598
603
|
</tr></tbody>
|
599
604
|
</table></div>
|
600
605
|
</div>
|
@@ -614,7 +619,7 @@ gtk_source_buffer_new_with_language (<em class="parameter"><code><a class="link"
|
|
614
619
|
a new tag table and then calling <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>
|
615
620
|
<div class="refsect3">
|
616
621
|
<a name="gtk-source-buffer-new-with-language.parameters"></a><h4>Parameters</h4>
|
617
|
-
<div class="informaltable"><table width="100%" border="0">
|
622
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
618
623
|
<colgroup>
|
619
624
|
<col width="150px" class="parameters_name">
|
620
625
|
<col class="parameters_description">
|
@@ -637,30 +642,30 @@ according to the highlighting patterns in <em class="parameter"><code>language</
|
|
637
642
|
<hr>
|
638
643
|
<div class="refsect2">
|
639
644
|
<a name="gtk-source-buffer-create-source-tag"></a><h3>gtk_source_buffer_create_source_tag ()</h3>
|
640
|
-
<pre class="programlisting"><a href="http://developer.gnome.org/
|
645
|
+
<pre class="programlisting"><a href="http://developer.gnome.org/gtk4/GtkTextTag.html#GtkTextTag-struct"><span class="returnvalue">GtkTextTag</span></a> *
|
641
646
|
gtk_source_buffer_create_source_tag (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
642
|
-
<em class="parameter"><code>const <a href="
|
643
|
-
<em class="parameter"><code>const <a href="
|
647
|
+
<em class="parameter"><code>const <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *tag_name</code></em>,
|
648
|
+
<em class="parameter"><code>const <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *first_property_name</code></em>,
|
644
649
|
<em class="parameter"><code>...</code></em>);</pre>
|
645
|
-
<p>In short, this is the same function as <a href="http://developer.gnome.org/
|
646
|
-
instead of creating a <a href="http://developer.gnome.org/
|
650
|
+
<p>In short, this is the same function as <a href="http://developer.gnome.org/gtk4/GtkTextBuffer.html#gtk-text-buffer-create-tag"><code class="function">gtk_text_buffer_create_tag()</code></a>, but
|
651
|
+
instead of creating a <a href="http://developer.gnome.org/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>
|
647
652
|
<p>This function creates a <a class="link" href="GtkSourceTag.html" title="GtkSourceTag"><span class="type">GtkSourceTag</span></a> and adds it to the tag table for
|
648
653
|
<em class="parameter"><code>buffer</code></em>
|
649
|
-
. Equivalent to calling <a href="http://developer.gnome.org/
|
654
|
+
. Equivalent to calling <a href="http://developer.gnome.org/gtk4/GtkTextTag.html#gtk-text-tag-new"><code class="function">gtk_text_tag_new()</code></a> and then adding the tag to
|
650
655
|
the buffer’s tag table. The returned tag is owned by the buffer’s tag table,
|
651
656
|
so the ref count will be equal to one.</p>
|
652
657
|
<p>If <em class="parameter"><code>tag_name</code></em>
|
653
|
-
is <a href="
|
658
|
+
is <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, the tag is anonymous.</p>
|
654
659
|
<p>If <em class="parameter"><code>tag_name</code></em>
|
655
|
-
is non-<a href="
|
660
|
+
is non-<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/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>
|
656
661
|
must not already
|
657
662
|
exist in the tag table for this buffer.</p>
|
658
663
|
<p>The <em class="parameter"><code>first_property_name</code></em>
|
659
664
|
argument and subsequent arguments are a list
|
660
|
-
of properties to set on the tag, as with <a href="
|
665
|
+
of properties to set on the tag, as with <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-set"><code class="function">g_object_set()</code></a>.</p>
|
661
666
|
<div class="refsect3">
|
662
667
|
<a name="gtk-source-buffer-create-source-tag.parameters"></a><h4>Parameters</h4>
|
663
|
-
<div class="informaltable"><table width="100%" border="0">
|
668
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
664
669
|
<colgroup>
|
665
670
|
<col width="150px" class="parameters_name">
|
666
671
|
<col class="parameters_description">
|
@@ -674,17 +679,17 @@ of properties to set on the tag, as with <a href="https://developer.gnome.org/go
|
|
674
679
|
</tr>
|
675
680
|
<tr>
|
676
681
|
<td class="parameter_name"><p>tag_name</p></td>
|
677
|
-
<td class="parameter_description"><p> name of the new tag, or <a href="
|
682
|
+
<td class="parameter_description"><p> name of the new tag, or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
678
683
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
|
679
684
|
</tr>
|
680
685
|
<tr>
|
681
686
|
<td class="parameter_name"><p>first_property_name</p></td>
|
682
|
-
<td class="parameter_description"><p> name of first property to set, or <a href="
|
687
|
+
<td class="parameter_description"><p> name of first property to set, or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
683
688
|
<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
689
|
</tr>
|
685
690
|
<tr>
|
686
691
|
<td class="parameter_name"><p>...</p></td>
|
687
|
-
<td class="parameter_description"><p><a href="
|
692
|
+
<td class="parameter_description"><p><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/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>
|
688
693
|
<td class="parameter_annotations"> </td>
|
689
694
|
</tr>
|
690
695
|
</tbody>
|
@@ -699,22 +704,19 @@ of properties to set on the tag, as with <a href="https://developer.gnome.org/go
|
|
699
704
|
</div>
|
700
705
|
<hr>
|
701
706
|
<div class="refsect2">
|
702
|
-
<a name="gtk-source-buffer-set-
|
707
|
+
<a name="gtk-source-buffer-set-language"></a><h3>gtk_source_buffer_set_language ()</h3>
|
703
708
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
704
|
-
|
705
|
-
|
706
|
-
|
707
|
-
<p>
|
708
|
-
|
709
|
-
|
710
|
-
|
711
|
-
|
712
|
-
is <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>, syntax highlighting
|
713
|
-
is disabled and all the GtkTextTag objects that have been added by the
|
714
|
-
syntax highlighting engine are removed from the buffer.</p>
|
709
|
+
gtk_source_buffer_set_language (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
710
|
+
<em class="parameter"><code><a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a> *language</code></em>);</pre>
|
711
|
+
<p>Associates a <a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a> with the buffer.</p>
|
712
|
+
<p>Note that a <a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a> affects not only the syntax highlighting, but
|
713
|
+
also the <a class="link" href="GtkSourceBuffer.html#context-classes" title="Context Classes">context classes</a>. If you want to disable just the
|
714
|
+
syntax highlighting, see <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-set-highlight-syntax" title="gtk_source_buffer_set_highlight_syntax ()"><code class="function">gtk_source_buffer_set_highlight_syntax()</code></a>.</p>
|
715
|
+
<p>The buffer holds a reference to <em class="parameter"><code>language</code></em>
|
716
|
+
.</p>
|
715
717
|
<div class="refsect3">
|
716
|
-
<a name="gtk-source-buffer-set-
|
717
|
-
<div class="informaltable"><table width="100%" border="0">
|
718
|
+
<a name="gtk-source-buffer-set-language.parameters"></a><h4>Parameters</h4>
|
719
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
718
720
|
<colgroup>
|
719
721
|
<col width="150px" class="parameters_name">
|
720
722
|
<col class="parameters_description">
|
@@ -727,9 +729,9 @@ syntax highlighting engine are removed from the buffer.</p>
|
|
727
729
|
<td class="parameter_annotations"> </td>
|
728
730
|
</tr>
|
729
731
|
<tr>
|
730
|
-
<td class="parameter_name"><p>
|
731
|
-
<td class="parameter_description"><p
|
732
|
-
<td class="parameter_annotations">
|
732
|
+
<td class="parameter_name"><p>language</p></td>
|
733
|
+
<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/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
734
|
+
<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>
|
733
735
|
</tr>
|
734
736
|
</tbody>
|
735
737
|
</table></div>
|
@@ -737,15 +739,15 @@ syntax highlighting engine are removed from the buffer.</p>
|
|
737
739
|
</div>
|
738
740
|
<hr>
|
739
741
|
<div class="refsect2">
|
740
|
-
<a name="gtk-source-buffer-get-
|
741
|
-
<pre class="programlisting"><a href="
|
742
|
-
|
743
|
-
|
744
|
-
<
|
745
|
-
|
742
|
+
<a name="gtk-source-buffer-get-language"></a><h3>gtk_source_buffer_get_language ()</h3>
|
743
|
+
<pre class="programlisting"><a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="returnvalue">GtkSourceLanguage</span></a> *
|
744
|
+
gtk_source_buffer_get_language (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);</pre>
|
745
|
+
<p>Returns the <a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a> associated with the buffer,
|
746
|
+
see <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>. The returned object should not be
|
747
|
+
unreferenced by the user.</p>
|
746
748
|
<div class="refsect3">
|
747
|
-
<a name="gtk-source-buffer-get-
|
748
|
-
<div class="informaltable"><table width="100%" border="0">
|
749
|
+
<a name="gtk-source-buffer-get-language.parameters"></a><h4>Parameters</h4>
|
750
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
749
751
|
<colgroup>
|
750
752
|
<col width="150px" class="parameters_name">
|
751
753
|
<col class="parameters_description">
|
@@ -759,29 +761,33 @@ buffer.</p>
|
|
759
761
|
</table></div>
|
760
762
|
</div>
|
761
763
|
<div class="refsect3">
|
762
|
-
<a name="gtk-source-buffer-get-
|
763
|
-
<p> <a
|
764
|
+
<a name="gtk-source-buffer-get-language.returns"></a><h4>Returns</h4>
|
765
|
+
<p> the <a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a> associated
|
766
|
+
with the buffer, or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
|
767
|
+
<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>
|
764
768
|
</div>
|
765
769
|
</div>
|
766
770
|
<hr>
|
767
771
|
<div class="refsect2">
|
768
|
-
<a name="gtk-source-buffer-set-
|
772
|
+
<a name="gtk-source-buffer-set-style-scheme"></a><h3>gtk_source_buffer_set_style_scheme ()</h3>
|
769
773
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
770
|
-
|
771
|
-
|
772
|
-
<p>
|
773
|
-
|
774
|
-
|
775
|
-
|
776
|
-
|
777
|
-
|
778
|
-
|
779
|
-
|
780
|
-
|
774
|
+
gtk_source_buffer_set_style_scheme (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
775
|
+
<em class="parameter"><code><a class="link" href="GtkSourceStyleScheme.html" title="GtkSourceStyleScheme"><span class="type">GtkSourceStyleScheme</span></a> *scheme</code></em>);</pre>
|
776
|
+
<p>Sets a <a class="link" href="GtkSourceStyleScheme.html" title="GtkSourceStyleScheme"><span class="type">GtkSourceStyleScheme</span></a> to be used by the buffer and the view.</p>
|
777
|
+
<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
|
+
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
|
+
matching brackets, the line numbers, etc.</p>
|
780
|
+
<p>Instead of setting a <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/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
|
+
, it is better to disable syntax
|
782
|
+
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
|
+
<a class="link" href="GtkSourceStyleScheme.html" title="GtkSourceStyleScheme"><span class="type">GtkSourceStyleScheme</span></a> with the "classic" or "tango" ID, because those two
|
784
|
+
style schemes follow more closely the GTK+ theme (for example for the
|
785
|
+
background color).</p>
|
786
|
+
<p>The buffer holds a reference to <em class="parameter"><code>scheme</code></em>
|
781
787
|
.</p>
|
782
788
|
<div class="refsect3">
|
783
|
-
<a name="gtk-source-buffer-set-
|
784
|
-
<div class="informaltable"><table width="100%" border="0">
|
789
|
+
<a name="gtk-source-buffer-set-style-scheme.parameters"></a><h4>Parameters</h4>
|
790
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
785
791
|
<colgroup>
|
786
792
|
<col width="150px" class="parameters_name">
|
787
793
|
<col class="parameters_description">
|
@@ -794,9 +800,9 @@ buffer is not highlighted.</p>
|
|
794
800
|
<td class="parameter_annotations"> </td>
|
795
801
|
</tr>
|
796
802
|
<tr>
|
797
|
-
<td class="parameter_name"><p>
|
798
|
-
<td class="parameter_description"><p> a <a class="link" href="
|
799
|
-
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL
|
803
|
+
<td class="parameter_name"><p>scheme</p></td>
|
804
|
+
<td class="parameter_description"><p> a <a class="link" href="GtkSourceStyleScheme.html" title="GtkSourceStyleScheme"><span class="type">GtkSourceStyleScheme</span></a> or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
805
|
+
<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>
|
800
806
|
</tr>
|
801
807
|
</tbody>
|
802
808
|
</table></div>
|
@@ -804,15 +810,15 @@ buffer is not highlighted.</p>
|
|
804
810
|
</div>
|
805
811
|
<hr>
|
806
812
|
<div class="refsect2">
|
807
|
-
<a name="gtk-source-buffer-get-
|
808
|
-
<pre class="programlisting"><a class="link" href="
|
809
|
-
|
810
|
-
<p>Returns the <a class="link" href="
|
811
|
-
see <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-set-
|
812
|
-
unreferenced by the user.</p>
|
813
|
+
<a name="gtk-source-buffer-get-style-scheme"></a><h3>gtk_source_buffer_get_style_scheme ()</h3>
|
814
|
+
<pre class="programlisting"><a class="link" href="GtkSourceStyleScheme.html" title="GtkSourceStyleScheme"><span class="returnvalue">GtkSourceStyleScheme</span></a> *
|
815
|
+
gtk_source_buffer_get_style_scheme (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);</pre>
|
816
|
+
<p>Returns the <a class="link" href="GtkSourceStyleScheme.html" title="GtkSourceStyleScheme"><span class="type">GtkSourceStyleScheme</span></a> associated with the buffer,
|
817
|
+
see <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-set-style-scheme" title="gtk_source_buffer_set_style_scheme ()"><code class="function">gtk_source_buffer_set_style_scheme()</code></a>.
|
818
|
+
The returned object should not be unreferenced by the user.</p>
|
813
819
|
<div class="refsect3">
|
814
|
-
<a name="gtk-source-buffer-get-
|
815
|
-
<div class="informaltable"><table width="100%" border="0">
|
820
|
+
<a name="gtk-source-buffer-get-style-scheme.parameters"></a><h4>Parameters</h4>
|
821
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
816
822
|
<colgroup>
|
817
823
|
<col width="150px" class="parameters_name">
|
818
824
|
<col class="parameters_description">
|
@@ -826,26 +832,31 @@ unreferenced by the user.</p>
|
|
826
832
|
</table></div>
|
827
833
|
</div>
|
828
834
|
<div class="refsect3">
|
829
|
-
<a name="gtk-source-buffer-get-
|
830
|
-
<p> the <a class="link" href="
|
831
|
-
with the buffer, or <a href="
|
835
|
+
<a name="gtk-source-buffer-get-style-scheme.returns"></a><h4>Returns</h4>
|
836
|
+
<p> the <a class="link" href="GtkSourceStyleScheme.html" title="GtkSourceStyleScheme"><span class="type">GtkSourceStyleScheme</span></a>
|
837
|
+
associated with the buffer, or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
|
832
838
|
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
833
839
|
</div>
|
834
840
|
</div>
|
835
841
|
<hr>
|
836
842
|
<div class="refsect2">
|
837
|
-
<a name="gtk-source-buffer-set-highlight-
|
843
|
+
<a name="gtk-source-buffer-set-highlight-syntax"></a><h3>gtk_source_buffer_set_highlight_syntax ()</h3>
|
838
844
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
839
|
-
|
845
|
+
gtk_source_buffer_set_highlight_syntax
|
840
846
|
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
841
|
-
<em class="parameter"><code><a href="
|
842
|
-
<p>Controls
|
843
|
-
|
844
|
-
|
845
|
-
|
847
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> highlight</code></em>);</pre>
|
848
|
+
<p>Controls whether syntax is highlighted in the buffer.</p>
|
849
|
+
<p>If <em class="parameter"><code>highlight</code></em>
|
850
|
+
is <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/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
|
+
patterns specified in the <a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a> set with
|
852
|
+
<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
|
+
<p>If <em class="parameter"><code>highlight</code></em>
|
854
|
+
is <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>, syntax highlighting is disabled and all the
|
855
|
+
<a href="http://developer.gnome.org/gtk4/GtkTextTag.html#GtkTextTag-struct"><span class="type">GtkTextTag</span></a> objects that have been added by the syntax highlighting engine
|
856
|
+
are removed from the buffer.</p>
|
846
857
|
<div class="refsect3">
|
847
|
-
<a name="gtk-source-buffer-set-highlight-
|
848
|
-
<div class="informaltable"><table width="100%" border="0">
|
858
|
+
<a name="gtk-source-buffer-set-highlight-syntax.parameters"></a><h4>Parameters</h4>
|
859
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
849
860
|
<colgroup>
|
850
861
|
<col width="150px" class="parameters_name">
|
851
862
|
<col class="parameters_description">
|
@@ -859,7 +870,7 @@ closing bracket character will be highlighted.</p>
|
|
859
870
|
</tr>
|
860
871
|
<tr>
|
861
872
|
<td class="parameter_name"><p>highlight</p></td>
|
862
|
-
<td class="parameter_description"><p><a href="
|
873
|
+
<td class="parameter_description"><p><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to enable syntax highlighting, <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> to disable it.</p></td>
|
863
874
|
<td class="parameter_annotations"> </td>
|
864
875
|
</tr>
|
865
876
|
</tbody>
|
@@ -868,15 +879,15 @@ closing bracket character will be highlighted.</p>
|
|
868
879
|
</div>
|
869
880
|
<hr>
|
870
881
|
<div class="refsect2">
|
871
|
-
<a name="gtk-source-buffer-get-highlight-
|
872
|
-
<pre class="programlisting"><a href="
|
873
|
-
|
882
|
+
<a name="gtk-source-buffer-get-highlight-syntax"></a><h3>gtk_source_buffer_get_highlight_syntax ()</h3>
|
883
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
884
|
+
gtk_source_buffer_get_highlight_syntax
|
874
885
|
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);</pre>
|
875
|
-
<p>Determines whether
|
876
|
-
|
886
|
+
<p>Determines whether syntax highlighting is activated in the source
|
887
|
+
buffer.</p>
|
877
888
|
<div class="refsect3">
|
878
|
-
<a name="gtk-source-buffer-get-highlight-
|
879
|
-
<div class="informaltable"><table width="100%" border="0">
|
889
|
+
<a name="gtk-source-buffer-get-highlight-syntax.parameters"></a><h4>Parameters</h4>
|
890
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
880
891
|
<colgroup>
|
881
892
|
<col width="150px" class="parameters_name">
|
882
893
|
<col class="parameters_description">
|
@@ -890,23 +901,24 @@ source buffer.</p>
|
|
890
901
|
</table></div>
|
891
902
|
</div>
|
892
903
|
<div class="refsect3">
|
893
|
-
<a name="gtk-source-buffer-get-highlight-
|
894
|
-
<p> <a href="
|
895
|
-
brackets.</p>
|
904
|
+
<a name="gtk-source-buffer-get-highlight-syntax.returns"></a><h4>Returns</h4>
|
905
|
+
<p> <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/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/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
|
896
906
|
</div>
|
897
907
|
</div>
|
898
908
|
<hr>
|
899
909
|
<div class="refsect2">
|
900
|
-
<a name="gtk-source-buffer-set-
|
910
|
+
<a name="gtk-source-buffer-set-highlight-matching-brackets"></a><h3>gtk_source_buffer_set_highlight_matching_brackets ()</h3>
|
901
911
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
902
|
-
|
903
|
-
|
904
|
-
<
|
905
|
-
|
906
|
-
|
912
|
+
gtk_source_buffer_set_highlight_matching_brackets
|
913
|
+
(<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/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> highlight</code></em>);</pre>
|
915
|
+
<p>Controls the bracket match highlighting function in the buffer. If
|
916
|
+
activated, when you position your cursor over a bracket character
|
917
|
+
(a parenthesis, a square bracket, etc.) the matching opening or
|
918
|
+
closing bracket character will be highlighted.</p>
|
907
919
|
<div class="refsect3">
|
908
|
-
<a name="gtk-source-buffer-set-
|
909
|
-
<div class="informaltable"><table width="100%" border="0">
|
920
|
+
<a name="gtk-source-buffer-set-highlight-matching-brackets.parameters"></a><h4>Parameters</h4>
|
921
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
910
922
|
<colgroup>
|
911
923
|
<col width="150px" class="parameters_name">
|
912
924
|
<col class="parameters_description">
|
@@ -919,9 +931,9 @@ style scheme is used.</p>
|
|
919
931
|
<td class="parameter_annotations"> </td>
|
920
932
|
</tr>
|
921
933
|
<tr>
|
922
|
-
<td class="parameter_name"><p>
|
923
|
-
<td class="parameter_description"><p
|
924
|
-
<td class="parameter_annotations"
|
934
|
+
<td class="parameter_name"><p>highlight</p></td>
|
935
|
+
<td class="parameter_description"><p><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/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
|
+
<td class="parameter_annotations"> </td>
|
925
937
|
</tr>
|
926
938
|
</tbody>
|
927
939
|
</table></div>
|
@@ -929,15 +941,15 @@ style scheme is used.</p>
|
|
929
941
|
</div>
|
930
942
|
<hr>
|
931
943
|
<div class="refsect2">
|
932
|
-
<a name="gtk-source-buffer-get-
|
933
|
-
<pre class="programlisting"><a
|
934
|
-
|
935
|
-
<
|
936
|
-
|
937
|
-
|
944
|
+
<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/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
946
|
+
gtk_source_buffer_get_highlight_matching_brackets
|
947
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);</pre>
|
948
|
+
<p>Determines whether bracket match highlighting is activated for the
|
949
|
+
source buffer.</p>
|
938
950
|
<div class="refsect3">
|
939
|
-
<a name="gtk-source-buffer-get-
|
940
|
-
<div class="informaltable"><table width="100%" border="0">
|
951
|
+
<a name="gtk-source-buffer-get-highlight-matching-brackets.parameters"></a><h4>Parameters</h4>
|
952
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
941
953
|
<colgroup>
|
942
954
|
<col width="150px" class="parameters_name">
|
943
955
|
<col class="parameters_description">
|
@@ -951,10 +963,9 @@ The returned object should not be unreferenced by the user.</p>
|
|
951
963
|
</table></div>
|
952
964
|
</div>
|
953
965
|
<div class="refsect3">
|
954
|
-
<a name="gtk-source-buffer-get-
|
955
|
-
<p>
|
956
|
-
|
957
|
-
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
966
|
+
<a name="gtk-source-buffer-get-highlight-matching-brackets.returns"></a><h4>Returns</h4>
|
967
|
+
<p> <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/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
|
+
brackets.</p>
|
958
969
|
</div>
|
959
970
|
</div>
|
960
971
|
<hr>
|
@@ -962,8 +973,8 @@ associated with the buffer, or <a href="https://developer.gnome.org/glib/unstabl
|
|
962
973
|
<a name="gtk-source-buffer-ensure-highlight"></a><h3>gtk_source_buffer_ensure_highlight ()</h3>
|
963
974
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
964
975
|
gtk_source_buffer_ensure_highlight (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
965
|
-
<em class="parameter"><code>const <a href="http://developer.gnome.org/
|
966
|
-
<em class="parameter"><code>const <a href="http://developer.gnome.org/
|
976
|
+
<em class="parameter"><code>const <a href="http://developer.gnome.org/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *start</code></em>,
|
977
|
+
<em class="parameter"><code>const <a href="http://developer.gnome.org/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *end</code></em>);</pre>
|
967
978
|
<p>Forces buffer to analyze and highlight the given area synchronously.</p>
|
968
979
|
<div class="note"><p>
|
969
980
|
This is a potentially slow operation and should be used only
|
@@ -972,7 +983,7 @@ gtk_source_buffer_ensure_highlight (<em class="parameter"><code><a class="link"
|
|
972
983
|
</p></div>
|
973
984
|
<div class="refsect3">
|
974
985
|
<a name="gtk-source-buffer-ensure-highlight.parameters"></a><h4>Parameters</h4>
|
975
|
-
<div class="informaltable"><table width="100%" border="0">
|
986
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
976
987
|
<colgroup>
|
977
988
|
<col width="150px" class="parameters_name">
|
978
989
|
<col class="parameters_description">
|
@@ -1009,7 +1020,7 @@ function will have any effect.</p>
|
|
1009
1020
|
<p>This function emits the <a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer-undo" title="The “undo” signal"><span class="type">“undo”</span></a> signal.</p>
|
1010
1021
|
<div class="refsect3">
|
1011
1022
|
<a name="gtk-source-buffer-undo.parameters"></a><h4>Parameters</h4>
|
1012
|
-
<div class="informaltable"><table width="100%" border="0">
|
1023
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1013
1024
|
<colgroup>
|
1014
1025
|
<col width="150px" class="parameters_name">
|
1015
1026
|
<col class="parameters_description">
|
@@ -1033,7 +1044,7 @@ to check whether a call to this function will have any effect.</p>
|
|
1033
1044
|
<p>This function emits the <a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer-redo" title="The “redo” signal"><span class="type">“redo”</span></a> signal.</p>
|
1034
1045
|
<div class="refsect3">
|
1035
1046
|
<a name="gtk-source-buffer-redo.parameters"></a><h4>Parameters</h4>
|
1036
|
-
<div class="informaltable"><table width="100%" border="0">
|
1047
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1037
1048
|
<colgroup>
|
1038
1049
|
<col width="150px" class="parameters_name">
|
1039
1050
|
<col class="parameters_description">
|
@@ -1050,12 +1061,12 @@ to check whether a call to this function will have any effect.</p>
|
|
1050
1061
|
<hr>
|
1051
1062
|
<div class="refsect2">
|
1052
1063
|
<a name="gtk-source-buffer-can-undo"></a><h3>gtk_source_buffer_can_undo ()</h3>
|
1053
|
-
<pre class="programlisting"><a href="
|
1064
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1054
1065
|
gtk_source_buffer_can_undo (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);</pre>
|
1055
1066
|
<p>Determines whether a source buffer can undo the last action.</p>
|
1056
1067
|
<div class="refsect3">
|
1057
1068
|
<a name="gtk-source-buffer-can-undo.parameters"></a><h4>Parameters</h4>
|
1058
|
-
<div class="informaltable"><table width="100%" border="0">
|
1069
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1059
1070
|
<colgroup>
|
1060
1071
|
<col width="150px" class="parameters_name">
|
1061
1072
|
<col class="parameters_description">
|
@@ -1070,19 +1081,19 @@ gtk_source_buffer_can_undo (<em class="parameter"><code><a class="link" href="Gt
|
|
1070
1081
|
</div>
|
1071
1082
|
<div class="refsect3">
|
1072
1083
|
<a name="gtk-source-buffer-can-undo.returns"></a><h4>Returns</h4>
|
1073
|
-
<p> <a href="
|
1084
|
+
<p> <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/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>
|
1074
1085
|
</div>
|
1075
1086
|
</div>
|
1076
1087
|
<hr>
|
1077
1088
|
<div class="refsect2">
|
1078
1089
|
<a name="gtk-source-buffer-can-redo"></a><h3>gtk_source_buffer_can_redo ()</h3>
|
1079
|
-
<pre class="programlisting"><a href="
|
1090
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1080
1091
|
gtk_source_buffer_can_redo (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);</pre>
|
1081
1092
|
<p>Determines whether a source buffer can redo the last action
|
1082
1093
|
(i.e. if the last operation was an undo).</p>
|
1083
1094
|
<div class="refsect3">
|
1084
1095
|
<a name="gtk-source-buffer-can-redo.parameters"></a><h4>Parameters</h4>
|
1085
|
-
<div class="informaltable"><table width="100%" border="0">
|
1096
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1086
1097
|
<colgroup>
|
1087
1098
|
<col width="150px" class="parameters_name">
|
1088
1099
|
<col class="parameters_description">
|
@@ -1097,7 +1108,7 @@ gtk_source_buffer_can_redo (<em class="parameter"><code><a class="link" href="Gt
|
|
1097
1108
|
</div>
|
1098
1109
|
<div class="refsect3">
|
1099
1110
|
<a name="gtk-source-buffer-can-redo.returns"></a><h4>Returns</h4>
|
1100
|
-
<p> <a href="
|
1111
|
+
<p> <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if a redo is possible.</p>
|
1101
1112
|
</div>
|
1102
1113
|
</div>
|
1103
1114
|
<hr>
|
@@ -1114,7 +1125,7 @@ loading a file in a text editor).</p>
|
|
1114
1125
|
<a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-end-not-undoable-action" title="gtk_source_buffer_end_not_undoable_action ()"><code class="function">gtk_source_buffer_end_not_undoable_action()</code></a> blocks.</p>
|
1115
1126
|
<div class="refsect3">
|
1116
1127
|
<a name="gtk-source-buffer-begin-not-undoable-action.parameters"></a><h4>Parameters</h4>
|
1117
|
-
<div class="informaltable"><table width="100%" border="0">
|
1128
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1118
1129
|
<colgroup>
|
1119
1130
|
<col width="150px" class="parameters_name">
|
1120
1131
|
<col class="parameters_description">
|
@@ -1140,7 +1151,7 @@ function, the list of undo actions is cleared and the undo manager
|
|
1140
1151
|
is re-enabled.</p>
|
1141
1152
|
<div class="refsect3">
|
1142
1153
|
<a name="gtk-source-buffer-end-not-undoable-action.parameters"></a><h4>Parameters</h4>
|
1143
|
-
<div class="informaltable"><table width="100%" border="0">
|
1154
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1144
1155
|
<colgroup>
|
1145
1156
|
<col width="150px" class="parameters_name">
|
1146
1157
|
<col class="parameters_description">
|
@@ -1157,12 +1168,12 @@ is re-enabled.</p>
|
|
1157
1168
|
<hr>
|
1158
1169
|
<div class="refsect2">
|
1159
1170
|
<a name="gtk-source-buffer-get-max-undo-levels"></a><h3>gtk_source_buffer_get_max_undo_levels ()</h3>
|
1160
|
-
<pre class="programlisting"><a href="
|
1171
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
1161
1172
|
gtk_source_buffer_get_max_undo_levels (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);</pre>
|
1162
1173
|
<p>Determines the number of undo levels the buffer will track for buffer edits.</p>
|
1163
1174
|
<div class="refsect3">
|
1164
1175
|
<a name="gtk-source-buffer-get-max-undo-levels.parameters"></a><h4>Parameters</h4>
|
1165
|
-
<div class="informaltable"><table width="100%" border="0">
|
1176
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1166
1177
|
<colgroup>
|
1167
1178
|
<col width="150px" class="parameters_name">
|
1168
1179
|
<col class="parameters_description">
|
@@ -1185,7 +1196,7 @@ gtk_source_buffer_get_max_undo_levels (<em class="parameter"><code><a class="lin
|
|
1185
1196
|
<a name="gtk-source-buffer-set-max-undo-levels"></a><h3>gtk_source_buffer_set_max_undo_levels ()</h3>
|
1186
1197
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1187
1198
|
gtk_source_buffer_set_max_undo_levels (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
1188
|
-
<em class="parameter"><code><a href="
|
1199
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> max_undo_levels</code></em>);</pre>
|
1189
1200
|
<p>Sets the number of undo levels for user actions the buffer will
|
1190
1201
|
track. If the number of user actions exceeds the limit set by this
|
1191
1202
|
function, older actions will be discarded.</p>
|
@@ -1195,7 +1206,7 @@ function, older actions will be discarded.</p>
|
|
1195
1206
|
is 0, the undo/redo is disabled.</p>
|
1196
1207
|
<div class="refsect3">
|
1197
1208
|
<a name="gtk-source-buffer-set-max-undo-levels.parameters"></a><h4>Parameters</h4>
|
1198
|
-
<div class="informaltable"><table width="100%" border="0">
|
1209
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1199
1210
|
<colgroup>
|
1200
1211
|
<col width="150px" class="parameters_name">
|
1201
1212
|
<col class="parameters_description">
|
@@ -1226,7 +1237,7 @@ see <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-set-undo-manage
|
|
1226
1237
|
unreferenced by the user.</p>
|
1227
1238
|
<div class="refsect3">
|
1228
1239
|
<a name="gtk-source-buffer-get-undo-manager.parameters"></a><h4>Parameters</h4>
|
1229
|
-
<div class="informaltable"><table width="100%" border="0">
|
1240
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1230
1241
|
<colgroup>
|
1231
1242
|
<col width="150px" class="parameters_name">
|
1232
1243
|
<col class="parameters_description">
|
@@ -1242,7 +1253,7 @@ unreferenced by the user.</p>
|
|
1242
1253
|
<div class="refsect3">
|
1243
1254
|
<a name="gtk-source-buffer-get-undo-manager.returns"></a><h4>Returns</h4>
|
1244
1255
|
<p> the <a class="link" href="GtkSourceUndoManager.html" title="GtkSourceUndoManager"><span class="type">GtkSourceUndoManager</span></a> associated
|
1245
|
-
with the buffer, or <a href="
|
1256
|
+
with the buffer, or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
|
1246
1257
|
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
1247
1258
|
</div>
|
1248
1259
|
</div>
|
@@ -1253,11 +1264,11 @@ with the buffer, or <a href="https://developer.gnome.org/glib/unstable/glib-Stan
|
|
1253
1264
|
gtk_source_buffer_set_undo_manager (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
1254
1265
|
<em class="parameter"><code><a class="link" href="GtkSourceUndoManager.html" title="GtkSourceUndoManager"><span class="type">GtkSourceUndoManager</span></a> *manager</code></em>);</pre>
|
1255
1266
|
<p>Set the buffer undo manager. If <em class="parameter"><code>manager</code></em>
|
1256
|
-
is <a href="
|
1267
|
+
is <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> the default undo manager
|
1257
1268
|
will be set.</p>
|
1258
1269
|
<div class="refsect3">
|
1259
1270
|
<a name="gtk-source-buffer-set-undo-manager.parameters"></a><h4>Parameters</h4>
|
1260
|
-
<div class="informaltable"><table width="100%" border="0">
|
1271
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1261
1272
|
<colgroup>
|
1262
1273
|
<col width="150px" class="parameters_name">
|
1263
1274
|
<col class="parameters_description">
|
@@ -1271,8 +1282,8 @@ will be set.</p>
|
|
1271
1282
|
</tr>
|
1272
1283
|
<tr>
|
1273
1284
|
<td class="parameter_name"><p>manager</p></td>
|
1274
|
-
<td class="parameter_description"><p> A <a class="link" href="GtkSourceUndoManager.html" title="GtkSourceUndoManager"><span class="type">GtkSourceUndoManager</span></a> or <a href="
|
1275
|
-
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL
|
1285
|
+
<td class="parameter_description"><p> A <a class="link" href="GtkSourceUndoManager.html" title="GtkSourceUndoManager"><span class="type">GtkSourceUndoManager</span></a> or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1286
|
+
<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>
|
1276
1287
|
</tr>
|
1277
1288
|
</tbody>
|
1278
1289
|
</table></div>
|
@@ -1281,18 +1292,18 @@ will be set.</p>
|
|
1281
1292
|
<hr>
|
1282
1293
|
<div class="refsect2">
|
1283
1294
|
<a name="gtk-source-buffer-iter-has-context-class"></a><h3>gtk_source_buffer_iter_has_context_class ()</h3>
|
1284
|
-
<pre class="programlisting"><a href="
|
1295
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1285
1296
|
gtk_source_buffer_iter_has_context_class
|
1286
1297
|
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
1287
|
-
<em class="parameter"><code>const <a href="http://developer.gnome.org/
|
1288
|
-
<em class="parameter"><code>const <a href="
|
1298
|
+
<em class="parameter"><code>const <a href="http://developer.gnome.org/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *iter</code></em>,
|
1299
|
+
<em class="parameter"><code>const <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *context_class</code></em>);</pre>
|
1289
1300
|
<p>Check if the class <em class="parameter"><code>context_class</code></em>
|
1290
1301
|
is set on <em class="parameter"><code>iter</code></em>
|
1291
1302
|
.</p>
|
1292
1303
|
<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>
|
1293
1304
|
<div class="refsect3">
|
1294
1305
|
<a name="gtk-source-buffer-iter-has-context-class.parameters"></a><h4>Parameters</h4>
|
1295
|
-
<div class="informaltable"><table width="100%" border="0">
|
1306
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1296
1307
|
<colgroup>
|
1297
1308
|
<col width="150px" class="parameters_name">
|
1298
1309
|
<col class="parameters_description">
|
@@ -1306,7 +1317,7 @@ gtk_source_buffer_iter_has_context_class
|
|
1306
1317
|
</tr>
|
1307
1318
|
<tr>
|
1308
1319
|
<td class="parameter_name"><p>iter</p></td>
|
1309
|
-
<td class="parameter_description"><p>a <a href="http://developer.gnome.org/
|
1320
|
+
<td class="parameter_description"><p>a <a href="http://developer.gnome.org/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a>.</p></td>
|
1310
1321
|
<td class="parameter_annotations"> </td>
|
1311
1322
|
</tr>
|
1312
1323
|
<tr>
|
@@ -1327,16 +1338,16 @@ has the context class.</p>
|
|
1327
1338
|
<hr>
|
1328
1339
|
<div class="refsect2">
|
1329
1340
|
<a name="gtk-source-buffer-get-context-classes-at-iter"></a><h3>gtk_source_buffer_get_context_classes_at_iter ()</h3>
|
1330
|
-
<pre class="programlisting"><a href="
|
1341
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> **
|
1331
1342
|
gtk_source_buffer_get_context_classes_at_iter
|
1332
1343
|
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
1333
|
-
<em class="parameter"><code>const <a href="http://developer.gnome.org/
|
1344
|
+
<em class="parameter"><code>const <a href="http://developer.gnome.org/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *iter</code></em>);</pre>
|
1334
1345
|
<p>Get all defined context classes at <em class="parameter"><code>iter</code></em>
|
1335
1346
|
.</p>
|
1336
1347
|
<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>
|
1337
1348
|
<div class="refsect3">
|
1338
1349
|
<a name="gtk-source-buffer-get-context-classes-at-iter.parameters"></a><h4>Parameters</h4>
|
1339
|
-
<div class="informaltable"><table width="100%" border="0">
|
1350
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1340
1351
|
<colgroup>
|
1341
1352
|
<col width="150px" class="parameters_name">
|
1342
1353
|
<col class="parameters_description">
|
@@ -1350,7 +1361,7 @@ gtk_source_buffer_get_context_classes_at_iter
|
|
1350
1361
|
</tr>
|
1351
1362
|
<tr>
|
1352
1363
|
<td class="parameter_name"><p>iter</p></td>
|
1353
|
-
<td class="parameter_description"><p>a <a href="http://developer.gnome.org/
|
1364
|
+
<td class="parameter_description"><p>a <a href="http://developer.gnome.org/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a>.</p></td>
|
1354
1365
|
<td class="parameter_annotations"> </td>
|
1355
1366
|
</tr>
|
1356
1367
|
</tbody>
|
@@ -1358,9 +1369,9 @@ gtk_source_buffer_get_context_classes_at_iter
|
|
1358
1369
|
</div>
|
1359
1370
|
<div class="refsect3">
|
1360
1371
|
<a name="gtk-source-buffer-get-context-classes-at-iter.returns"></a><h4>Returns</h4>
|
1361
|
-
<p> a new <a href="
|
1372
|
+
<p> a new <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
1362
1373
|
terminated array of context class names.
|
1363
|
-
Use <a href="
|
1374
|
+
Use <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/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>
|
1364
1375
|
<p><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> zero-terminated=1][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
1365
1376
|
</div>
|
1366
1377
|
<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p>
|
@@ -1368,13 +1379,13 @@ Use <a href="https://developer.gnome.org/glib/unstable/glib-String-Utility-Funct
|
|
1368
1379
|
<hr>
|
1369
1380
|
<div class="refsect2">
|
1370
1381
|
<a name="gtk-source-buffer-iter-forward-to-context-class-toggle"></a><h3>gtk_source_buffer_iter_forward_to_context_class_toggle ()</h3>
|
1371
|
-
<pre class="programlisting"><a href="
|
1382
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1372
1383
|
gtk_source_buffer_iter_forward_to_context_class_toggle
|
1373
1384
|
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
1374
|
-
<em class="parameter"><code><a href="http://developer.gnome.org/
|
1375
|
-
<em class="parameter"><code>const <a href="
|
1385
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *iter</code></em>,
|
1386
|
+
<em class="parameter"><code>const <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *context_class</code></em>);</pre>
|
1376
1387
|
<p>Moves forward to the next toggle (on or off) of the context class. If no
|
1377
|
-
matching context class toggles are found, returns <a href="
|
1388
|
+
matching context class toggles are found, returns <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>, otherwise <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>.
|
1378
1389
|
Does not return toggles located at <em class="parameter"><code>iter</code></em>
|
1379
1390
|
, only toggles after <em class="parameter"><code>iter</code></em>
|
1380
1391
|
. Sets
|
@@ -1384,7 +1395,7 @@ toggle is found.</p>
|
|
1384
1395
|
<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>
|
1385
1396
|
<div class="refsect3">
|
1386
1397
|
<a name="gtk-source-buffer-iter-forward-to-context-class-toggle.parameters"></a><h4>Parameters</h4>
|
1387
|
-
<div class="informaltable"><table width="100%" border="0">
|
1398
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1388
1399
|
<colgroup>
|
1389
1400
|
<col width="150px" class="parameters_name">
|
1390
1401
|
<col class="parameters_description">
|
@@ -1398,7 +1409,7 @@ toggle is found.</p>
|
|
1398
1409
|
</tr>
|
1399
1410
|
<tr>
|
1400
1411
|
<td class="parameter_name"><p>iter</p></td>
|
1401
|
-
<td class="parameter_description"><p>a <a href="http://developer.gnome.org/
|
1412
|
+
<td class="parameter_description"><p>a <a href="http://developer.gnome.org/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a>.</p></td>
|
1402
1413
|
<td class="parameter_annotations"> </td>
|
1403
1414
|
</tr>
|
1404
1415
|
<tr>
|
@@ -1419,13 +1430,13 @@ toggle is found.</p>
|
|
1419
1430
|
<hr>
|
1420
1431
|
<div class="refsect2">
|
1421
1432
|
<a name="gtk-source-buffer-iter-backward-to-context-class-toggle"></a><h3>gtk_source_buffer_iter_backward_to_context_class_toggle ()</h3>
|
1422
|
-
<pre class="programlisting"><a href="
|
1433
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1423
1434
|
gtk_source_buffer_iter_backward_to_context_class_toggle
|
1424
1435
|
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
1425
|
-
<em class="parameter"><code><a href="http://developer.gnome.org/
|
1426
|
-
<em class="parameter"><code>const <a href="
|
1436
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *iter</code></em>,
|
1437
|
+
<em class="parameter"><code>const <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *context_class</code></em>);</pre>
|
1427
1438
|
<p>Moves backward to the next toggle (on or off) of the context class. If no
|
1428
|
-
matching context class toggles are found, returns <a href="
|
1439
|
+
matching context class toggles are found, returns <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>, otherwise <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>.
|
1429
1440
|
Does not return toggles located at <em class="parameter"><code>iter</code></em>
|
1430
1441
|
, only toggles after <em class="parameter"><code>iter</code></em>
|
1431
1442
|
. Sets
|
@@ -1435,7 +1446,7 @@ toggle is found.</p>
|
|
1435
1446
|
<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>
|
1436
1447
|
<div class="refsect3">
|
1437
1448
|
<a name="gtk-source-buffer-iter-backward-to-context-class-toggle.parameters"></a><h4>Parameters</h4>
|
1438
|
-
<div class="informaltable"><table width="100%" border="0">
|
1449
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1439
1450
|
<colgroup>
|
1440
1451
|
<col width="150px" class="parameters_name">
|
1441
1452
|
<col class="parameters_description">
|
@@ -1449,7 +1460,7 @@ toggle is found.</p>
|
|
1449
1460
|
</tr>
|
1450
1461
|
<tr>
|
1451
1462
|
<td class="parameter_name"><p>iter</p></td>
|
1452
|
-
<td class="parameter_description"><p>a <a href="http://developer.gnome.org/
|
1463
|
+
<td class="parameter_description"><p>a <a href="http://developer.gnome.org/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a>.</p></td>
|
1453
1464
|
<td class="parameter_annotations"> </td>
|
1454
1465
|
</tr>
|
1455
1466
|
<tr>
|
@@ -1472,17 +1483,17 @@ toggle is found.</p>
|
|
1472
1483
|
<a name="gtk-source-buffer-create-source-mark"></a><h3>gtk_source_buffer_create_source_mark ()</h3>
|
1473
1484
|
<pre class="programlisting"><a class="link" href="GtkSourceMark.html" title="GtkSourceMark"><span class="returnvalue">GtkSourceMark</span></a> *
|
1474
1485
|
gtk_source_buffer_create_source_mark (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
1475
|
-
<em class="parameter"><code>const <a href="
|
1476
|
-
<em class="parameter"><code>const <a href="
|
1477
|
-
<em class="parameter"><code>const <a href="http://developer.gnome.org/
|
1486
|
+
<em class="parameter"><code>const <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
|
1487
|
+
<em class="parameter"><code>const <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *category</code></em>,
|
1488
|
+
<em class="parameter"><code>const <a href="http://developer.gnome.org/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *where</code></em>);</pre>
|
1478
1489
|
<p>Creates a source mark in the <em class="parameter"><code>buffer</code></em>
|
1479
1490
|
of category <em class="parameter"><code>category</code></em>
|
1480
1491
|
. A source mark is
|
1481
|
-
a <a href="http://developer.gnome.org/
|
1492
|
+
a <a href="http://developer.gnome.org/gtk4/GtkTextMark.html#GtkTextMark-struct"><span class="type">GtkTextMark</span></a> but organised into categories. Depending on the category
|
1482
1493
|
a pixbuf can be specified that will be displayed along the line of the mark.</p>
|
1483
|
-
<p>Like a <a href="http://developer.gnome.org/
|
1494
|
+
<p>Like a <a href="http://developer.gnome.org/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
|
1484
1495
|
passed <em class="parameter"><code>name</code></em>
|
1485
|
-
is <a href="
|
1496
|
+
is <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/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
|
1486
1497
|
shouldn't unreference it.</p>
|
1487
1498
|
<p>Marks always have left gravity and are moved to the beginning of
|
1488
1499
|
the line when the user deletes the line they were in.</p>
|
@@ -1490,7 +1501,7 @@ the line when the user deletes the line they were in.</p>
|
|
1490
1501
|
executing instruction indication in a source file, etc..</p>
|
1491
1502
|
<div class="refsect3">
|
1492
1503
|
<a name="gtk-source-buffer-create-source-mark.parameters"></a><h4>Parameters</h4>
|
1493
|
-
<div class="informaltable"><table width="100%" border="0">
|
1504
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1494
1505
|
<colgroup>
|
1495
1506
|
<col width="150px" class="parameters_name">
|
1496
1507
|
<col class="parameters_description">
|
@@ -1504,8 +1515,8 @@ executing instruction indication in a source file, etc..</p>
|
|
1504
1515
|
</tr>
|
1505
1516
|
<tr>
|
1506
1517
|
<td class="parameter_name"><p>name</p></td>
|
1507
|
-
<td class="parameter_description"><p> the name of the mark, or <a href="
|
1508
|
-
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL
|
1518
|
+
<td class="parameter_description"><p> the name of the mark, or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1519
|
+
<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>
|
1509
1520
|
</tr>
|
1510
1521
|
<tr>
|
1511
1522
|
<td class="parameter_name"><p>category</p></td>
|
@@ -1530,21 +1541,21 @@ executing instruction indication in a source file, etc..</p>
|
|
1530
1541
|
<hr>
|
1531
1542
|
<div class="refsect2">
|
1532
1543
|
<a name="gtk-source-buffer-forward-iter-to-source-mark"></a><h3>gtk_source_buffer_forward_iter_to_source_mark ()</h3>
|
1533
|
-
<pre class="programlisting"><a href="
|
1544
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1534
1545
|
gtk_source_buffer_forward_iter_to_source_mark
|
1535
1546
|
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
1536
|
-
<em class="parameter"><code><a href="http://developer.gnome.org/
|
1537
|
-
<em class="parameter"><code>const <a href="
|
1547
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *iter</code></em>,
|
1548
|
+
<em class="parameter"><code>const <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *category</code></em>);</pre>
|
1538
1549
|
<p>Moves <em class="parameter"><code>iter</code></em>
|
1539
1550
|
to the position of the next <a class="link" href="GtkSourceMark.html" title="GtkSourceMark"><span class="type">GtkSourceMark</span></a> of the given
|
1540
1551
|
<em class="parameter"><code>category</code></em>
|
1541
|
-
. Returns <a href="
|
1552
|
+
. Returns <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/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>
|
1542
1553
|
was moved. If <em class="parameter"><code>category</code></em>
|
1543
1554
|
is NULL, the
|
1544
1555
|
next source mark can be of any category.</p>
|
1545
1556
|
<div class="refsect3">
|
1546
1557
|
<a name="gtk-source-buffer-forward-iter-to-source-mark.parameters"></a><h4>Parameters</h4>
|
1547
|
-
<div class="informaltable"><table width="100%" border="0">
|
1558
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1548
1559
|
<colgroup>
|
1549
1560
|
<col width="150px" class="parameters_name">
|
1550
1561
|
<col class="parameters_description">
|
@@ -1563,8 +1574,8 @@ next source mark can be of any category.</p>
|
|
1563
1574
|
</tr>
|
1564
1575
|
<tr>
|
1565
1576
|
<td class="parameter_name"><p>category</p></td>
|
1566
|
-
<td class="parameter_description"><p> category to search for, or <a href="
|
1567
|
-
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL
|
1577
|
+
<td class="parameter_description"><p> category to search for, or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1578
|
+
<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>
|
1568
1579
|
</tr>
|
1569
1580
|
</tbody>
|
1570
1581
|
</table></div>
|
@@ -1579,20 +1590,20 @@ was moved.</p>
|
|
1579
1590
|
<hr>
|
1580
1591
|
<div class="refsect2">
|
1581
1592
|
<a name="gtk-source-buffer-backward-iter-to-source-mark"></a><h3>gtk_source_buffer_backward_iter_to_source_mark ()</h3>
|
1582
|
-
<pre class="programlisting"><a href="
|
1593
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1583
1594
|
gtk_source_buffer_backward_iter_to_source_mark
|
1584
1595
|
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
1585
|
-
<em class="parameter"><code><a href="http://developer.gnome.org/
|
1586
|
-
<em class="parameter"><code>const <a href="
|
1596
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *iter</code></em>,
|
1597
|
+
<em class="parameter"><code>const <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *category</code></em>);</pre>
|
1587
1598
|
<p>Moves <em class="parameter"><code>iter</code></em>
|
1588
1599
|
to the position of the previous <a class="link" href="GtkSourceMark.html" title="GtkSourceMark"><span class="type">GtkSourceMark</span></a> of the given
|
1589
|
-
category. Returns <a href="
|
1600
|
+
category. Returns <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/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>
|
1590
1601
|
was moved. If <em class="parameter"><code>category</code></em>
|
1591
1602
|
is NULL, the
|
1592
1603
|
previous source mark can be of any category.</p>
|
1593
1604
|
<div class="refsect3">
|
1594
1605
|
<a name="gtk-source-buffer-backward-iter-to-source-mark.parameters"></a><h4>Parameters</h4>
|
1595
|
-
<div class="informaltable"><table width="100%" border="0">
|
1606
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1596
1607
|
<colgroup>
|
1597
1608
|
<col width="150px" class="parameters_name">
|
1598
1609
|
<col class="parameters_description">
|
@@ -1611,8 +1622,8 @@ previous source mark can be of any category.</p>
|
|
1611
1622
|
</tr>
|
1612
1623
|
<tr>
|
1613
1624
|
<td class="parameter_name"><p>category</p></td>
|
1614
|
-
<td class="parameter_description"><p> category to search for, or <a href="
|
1615
|
-
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL
|
1625
|
+
<td class="parameter_description"><p> category to search for, or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1626
|
+
<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>
|
1616
1627
|
</tr>
|
1617
1628
|
</tbody>
|
1618
1629
|
</table></div>
|
@@ -1627,19 +1638,19 @@ was moved.</p>
|
|
1627
1638
|
<hr>
|
1628
1639
|
<div class="refsect2">
|
1629
1640
|
<a name="gtk-source-buffer-get-source-marks-at-line"></a><h3>gtk_source_buffer_get_source_marks_at_line ()</h3>
|
1630
|
-
<pre class="programlisting"><a href="
|
1641
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> *
|
1631
1642
|
gtk_source_buffer_get_source_marks_at_line
|
1632
1643
|
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
1633
|
-
<em class="parameter"><code><a href="
|
1634
|
-
<em class="parameter"><code>const <a href="
|
1644
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> line</code></em>,
|
1645
|
+
<em class="parameter"><code>const <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *category</code></em>);</pre>
|
1635
1646
|
<p>Returns the list of marks of the given category at <em class="parameter"><code>line</code></em>
|
1636
1647
|
.
|
1637
1648
|
If <em class="parameter"><code>category</code></em>
|
1638
|
-
is <a href="
|
1649
|
+
is <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/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>
|
1639
1650
|
are returned.</p>
|
1640
1651
|
<div class="refsect3">
|
1641
1652
|
<a name="gtk-source-buffer-get-source-marks-at-line.parameters"></a><h4>Parameters</h4>
|
1642
|
-
<div class="informaltable"><table width="100%" border="0">
|
1653
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1643
1654
|
<colgroup>
|
1644
1655
|
<col width="150px" class="parameters_name">
|
1645
1656
|
<col class="parameters_description">
|
@@ -1658,15 +1669,15 @@ If <em class="parameter"><code>category</code></em>
|
|
1658
1669
|
</tr>
|
1659
1670
|
<tr>
|
1660
1671
|
<td class="parameter_name"><p>category</p></td>
|
1661
|
-
<td class="parameter_description"><p> category to search for, or <a href="
|
1662
|
-
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL
|
1672
|
+
<td class="parameter_description"><p> category to search for, or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1673
|
+
<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>
|
1663
1674
|
</tr>
|
1664
1675
|
</tbody>
|
1665
1676
|
</table></div>
|
1666
1677
|
</div>
|
1667
1678
|
<div class="refsect3">
|
1668
1679
|
<a name="gtk-source-buffer-get-source-marks-at-line.returns"></a><h4>Returns</h4>
|
1669
|
-
<p>a newly allocated <a href="
|
1680
|
+
<p>a newly allocated <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a>. </p>
|
1670
1681
|
<p><span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GtkSource.Mark][<acronym title="Free data container after the code is done."><span class="acronym">transfer container</span></acronym>]</span></p>
|
1671
1682
|
</div>
|
1672
1683
|
<p class="since">Since: <a class="link" href="api-index-2-2.html#api-index-2.2">2.2</a></p>
|
@@ -1674,19 +1685,19 @@ If <em class="parameter"><code>category</code></em>
|
|
1674
1685
|
<hr>
|
1675
1686
|
<div class="refsect2">
|
1676
1687
|
<a name="gtk-source-buffer-get-source-marks-at-iter"></a><h3>gtk_source_buffer_get_source_marks_at_iter ()</h3>
|
1677
|
-
<pre class="programlisting"><a href="
|
1688
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> *
|
1678
1689
|
gtk_source_buffer_get_source_marks_at_iter
|
1679
1690
|
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
1680
|
-
<em class="parameter"><code><a href="http://developer.gnome.org/
|
1681
|
-
<em class="parameter"><code>const <a href="
|
1691
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *iter</code></em>,
|
1692
|
+
<em class="parameter"><code>const <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *category</code></em>);</pre>
|
1682
1693
|
<p>Returns the list of marks of the given category at <em class="parameter"><code>iter</code></em>
|
1683
1694
|
. If <em class="parameter"><code>category</code></em>
|
1684
1695
|
|
1685
|
-
is <a href="
|
1696
|
+
is <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/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>
|
1686
1697
|
.</p>
|
1687
1698
|
<div class="refsect3">
|
1688
1699
|
<a name="gtk-source-buffer-get-source-marks-at-iter.parameters"></a><h4>Parameters</h4>
|
1689
|
-
<div class="informaltable"><table width="100%" border="0">
|
1700
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1690
1701
|
<colgroup>
|
1691
1702
|
<col width="150px" class="parameters_name">
|
1692
1703
|
<col class="parameters_description">
|
@@ -1705,15 +1716,15 @@ is <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#
|
|
1705
1716
|
</tr>
|
1706
1717
|
<tr>
|
1707
1718
|
<td class="parameter_name"><p>category</p></td>
|
1708
|
-
<td class="parameter_description"><p> category to search for, or <a href="
|
1709
|
-
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL
|
1719
|
+
<td class="parameter_description"><p> category to search for, or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1720
|
+
<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>
|
1710
1721
|
</tr>
|
1711
1722
|
</tbody>
|
1712
1723
|
</table></div>
|
1713
1724
|
</div>
|
1714
1725
|
<div class="refsect3">
|
1715
1726
|
<a name="gtk-source-buffer-get-source-marks-at-iter.returns"></a><h4>Returns</h4>
|
1716
|
-
<p>a newly allocated <a href="
|
1727
|
+
<p>a newly allocated <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a>. </p>
|
1717
1728
|
<p><span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GtkSource.Mark][<acronym title="Free data container after the code is done."><span class="acronym">transfer container</span></acronym>]</span></p>
|
1718
1729
|
</div>
|
1719
1730
|
<p class="since">Since: <a class="link" href="api-index-2-2.html#api-index-2.2">2.2</a></p>
|
@@ -1723,9 +1734,9 @@ is <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#
|
|
1723
1734
|
<a name="gtk-source-buffer-remove-source-marks"></a><h3>gtk_source_buffer_remove_source_marks ()</h3>
|
1724
1735
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1725
1736
|
gtk_source_buffer_remove_source_marks (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
1726
|
-
<em class="parameter"><code>const <a href="http://developer.gnome.org/
|
1727
|
-
<em class="parameter"><code>const <a href="http://developer.gnome.org/
|
1728
|
-
<em class="parameter"><code>const <a href="
|
1737
|
+
<em class="parameter"><code>const <a href="http://developer.gnome.org/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *start</code></em>,
|
1738
|
+
<em class="parameter"><code>const <a href="http://developer.gnome.org/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *end</code></em>,
|
1739
|
+
<em class="parameter"><code>const <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *category</code></em>);</pre>
|
1729
1740
|
<p>Remove all marks of <em class="parameter"><code>category</code></em>
|
1730
1741
|
between <em class="parameter"><code>start</code></em>
|
1731
1742
|
and <em class="parameter"><code>end</code></em>
|
@@ -1734,7 +1745,7 @@ If <em class="parameter"><code>category</code></em>
|
|
1734
1745
|
is NULL, all marks in the range will be removed.</p>
|
1735
1746
|
<div class="refsect3">
|
1736
1747
|
<a name="gtk-source-buffer-remove-source-marks.parameters"></a><h4>Parameters</h4>
|
1737
|
-
<div class="informaltable"><table width="100%" border="0">
|
1748
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1738
1749
|
<colgroup>
|
1739
1750
|
<col width="150px" class="parameters_name">
|
1740
1751
|
<col class="parameters_description">
|
@@ -1748,18 +1759,18 @@ If <em class="parameter"><code>category</code></em>
|
|
1748
1759
|
</tr>
|
1749
1760
|
<tr>
|
1750
1761
|
<td class="parameter_name"><p>start</p></td>
|
1751
|
-
<td class="parameter_description"><p>a <a href="http://developer.gnome.org/
|
1762
|
+
<td class="parameter_description"><p>a <a href="http://developer.gnome.org/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a>.</p></td>
|
1752
1763
|
<td class="parameter_annotations"> </td>
|
1753
1764
|
</tr>
|
1754
1765
|
<tr>
|
1755
1766
|
<td class="parameter_name"><p>end</p></td>
|
1756
|
-
<td class="parameter_description"><p>a <a href="http://developer.gnome.org/
|
1767
|
+
<td class="parameter_description"><p>a <a href="http://developer.gnome.org/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a>.</p></td>
|
1757
1768
|
<td class="parameter_annotations"> </td>
|
1758
1769
|
</tr>
|
1759
1770
|
<tr>
|
1760
1771
|
<td class="parameter_name"><p>category</p></td>
|
1761
|
-
<td class="parameter_description"><p> category to search for, or <a href="
|
1762
|
-
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL
|
1772
|
+
<td class="parameter_description"><p> category to search for, or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1773
|
+
<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>
|
1763
1774
|
</tr>
|
1764
1775
|
</tbody>
|
1765
1776
|
</table></div>
|
@@ -1772,12 +1783,12 @@ If <em class="parameter"><code>category</code></em>
|
|
1772
1783
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1773
1784
|
gtk_source_buffer_change_case (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
1774
1785
|
<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html#GtkSourceChangeCaseType" title="enum GtkSourceChangeCaseType"><span class="type">GtkSourceChangeCaseType</span></a> case_type</code></em>,
|
1775
|
-
<em class="parameter"><code><a href="http://developer.gnome.org/
|
1776
|
-
<em class="parameter"><code><a href="http://developer.gnome.org/
|
1786
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *start</code></em>,
|
1787
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *end</code></em>);</pre>
|
1777
1788
|
<p>Changes the case of the text between the specified iterators.</p>
|
1778
1789
|
<div class="refsect3">
|
1779
1790
|
<a name="gtk-source-buffer-change-case.parameters"></a><h4>Parameters</h4>
|
1780
|
-
<div class="informaltable"><table width="100%" border="0">
|
1791
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1781
1792
|
<colgroup>
|
1782
1793
|
<col width="150px" class="parameters_name">
|
1783
1794
|
<col class="parameters_description">
|
@@ -1796,12 +1807,12 @@ gtk_source_buffer_change_case (<em class="parameter"><code><a class="link" href=
|
|
1796
1807
|
</tr>
|
1797
1808
|
<tr>
|
1798
1809
|
<td class="parameter_name"><p>start</p></td>
|
1799
|
-
<td class="parameter_description"><p>a <a href="http://developer.gnome.org/
|
1810
|
+
<td class="parameter_description"><p>a <a href="http://developer.gnome.org/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a>.</p></td>
|
1800
1811
|
<td class="parameter_annotations"> </td>
|
1801
1812
|
</tr>
|
1802
1813
|
<tr>
|
1803
1814
|
<td class="parameter_name"><p>end</p></td>
|
1804
|
-
<td class="parameter_description"><p>a <a href="http://developer.gnome.org/
|
1815
|
+
<td class="parameter_description"><p>a <a href="http://developer.gnome.org/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a>.</p></td>
|
1805
1816
|
<td class="parameter_annotations"> </td>
|
1806
1817
|
</tr>
|
1807
1818
|
</tbody>
|
@@ -1814,12 +1825,12 @@ gtk_source_buffer_change_case (<em class="parameter"><code><a class="link" href=
|
|
1814
1825
|
<a name="gtk-source-buffer-join-lines"></a><h3>gtk_source_buffer_join_lines ()</h3>
|
1815
1826
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1816
1827
|
gtk_source_buffer_join_lines (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
1817
|
-
<em class="parameter"><code><a href="http://developer.gnome.org/
|
1818
|
-
<em class="parameter"><code><a href="http://developer.gnome.org/
|
1828
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *start</code></em>,
|
1829
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *end</code></em>);</pre>
|
1819
1830
|
<p>Joins the lines of text between the specified iterators.</p>
|
1820
1831
|
<div class="refsect3">
|
1821
1832
|
<a name="gtk-source-buffer-join-lines.parameters"></a><h4>Parameters</h4>
|
1822
|
-
<div class="informaltable"><table width="100%" border="0">
|
1833
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1823
1834
|
<colgroup>
|
1824
1835
|
<col width="150px" class="parameters_name">
|
1825
1836
|
<col class="parameters_description">
|
@@ -1833,12 +1844,12 @@ gtk_source_buffer_join_lines (<em class="parameter"><code><a class="link" href="
|
|
1833
1844
|
</tr>
|
1834
1845
|
<tr>
|
1835
1846
|
<td class="parameter_name"><p>start</p></td>
|
1836
|
-
<td class="parameter_description"><p>a <a href="http://developer.gnome.org/
|
1847
|
+
<td class="parameter_description"><p>a <a href="http://developer.gnome.org/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a>.</p></td>
|
1837
1848
|
<td class="parameter_annotations"> </td>
|
1838
1849
|
</tr>
|
1839
1850
|
<tr>
|
1840
1851
|
<td class="parameter_name"><p>end</p></td>
|
1841
|
-
<td class="parameter_description"><p>a <a href="http://developer.gnome.org/
|
1852
|
+
<td class="parameter_description"><p>a <a href="http://developer.gnome.org/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a>.</p></td>
|
1842
1853
|
<td class="parameter_annotations"> </td>
|
1843
1854
|
</tr>
|
1844
1855
|
</tbody>
|
@@ -1851,14 +1862,14 @@ gtk_source_buffer_join_lines (<em class="parameter"><code><a class="link" href="
|
|
1851
1862
|
<a name="gtk-source-buffer-sort-lines"></a><h3>gtk_source_buffer_sort_lines ()</h3>
|
1852
1863
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1853
1864
|
gtk_source_buffer_sort_lines (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
1854
|
-
<em class="parameter"><code><a href="http://developer.gnome.org/
|
1855
|
-
<em class="parameter"><code><a href="http://developer.gnome.org/
|
1865
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *start</code></em>,
|
1866
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *end</code></em>,
|
1856
1867
|
<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html#GtkSourceSortFlags" title="enum GtkSourceSortFlags"><span class="type">GtkSourceSortFlags</span></a> flags</code></em>,
|
1857
|
-
<em class="parameter"><code><a href="
|
1868
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> column</code></em>);</pre>
|
1858
1869
|
<p>Sort the lines of text between the specified iterators.</p>
|
1859
1870
|
<div class="refsect3">
|
1860
1871
|
<a name="gtk-source-buffer-sort-lines.parameters"></a><h4>Parameters</h4>
|
1861
|
-
<div class="informaltable"><table width="100%" border="0">
|
1872
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1862
1873
|
<colgroup>
|
1863
1874
|
<col width="150px" class="parameters_name">
|
1864
1875
|
<col class="parameters_description">
|
@@ -1872,12 +1883,12 @@ gtk_source_buffer_sort_lines (<em class="parameter"><code><a class="link" href="
|
|
1872
1883
|
</tr>
|
1873
1884
|
<tr>
|
1874
1885
|
<td class="parameter_name"><p>start</p></td>
|
1875
|
-
<td class="parameter_description"><p>a <a href="http://developer.gnome.org/
|
1886
|
+
<td class="parameter_description"><p>a <a href="http://developer.gnome.org/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a>.</p></td>
|
1876
1887
|
<td class="parameter_annotations"> </td>
|
1877
1888
|
</tr>
|
1878
1889
|
<tr>
|
1879
1890
|
<td class="parameter_name"><p>end</p></td>
|
1880
|
-
<td class="parameter_description"><p>a <a href="http://developer.gnome.org/
|
1891
|
+
<td class="parameter_description"><p>a <a href="http://developer.gnome.org/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a>.</p></td>
|
1881
1892
|
<td class="parameter_annotations"> </td>
|
1882
1893
|
</tr>
|
1883
1894
|
<tr>
|
@@ -1901,13 +1912,13 @@ gtk_source_buffer_sort_lines (<em class="parameter"><code><a class="link" href="
|
|
1901
1912
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1902
1913
|
gtk_source_buffer_set_implicit_trailing_newline
|
1903
1914
|
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
1904
|
-
<em class="parameter"><code><a href="
|
1915
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> implicit_trailing_newline</code></em>);</pre>
|
1905
1916
|
<p>Sets whether the <em class="parameter"><code>buffer</code></em>
|
1906
1917
|
has an implicit trailing newline.</p>
|
1907
|
-
<p>If an explicit trailing newline is present in a <a href="http://developer.gnome.org/
|
1918
|
+
<p>If an explicit trailing newline is present in a <a href="http://developer.gnome.org/gtk4/GtkTextBuffer.html#GtkTextBuffer-struct"><span class="type">GtkTextBuffer</span></a>, <a href="http://developer.gnome.org/gtk4/GtkTextView.html#GtkTextView-struct"><span class="type">GtkTextView</span></a>
|
1908
1919
|
shows it as an empty line. This is generally not what the user expects.</p>
|
1909
1920
|
<p>If <em class="parameter"><code>implicit_trailing_newline</code></em>
|
1910
|
-
is <a href="
|
1921
|
+
is <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> (the default value):</p>
|
1911
1922
|
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
|
1912
1923
|
<li class="listitem"><p>when a <a class="link" href="GtkSourceFileLoader.html" title="GtkSourceFileLoader"><span class="type">GtkSourceFileLoader</span></a> loads the content of a file into the <em class="parameter"><code>buffer</code></em>
|
1913
1924
|
,
|
@@ -1919,14 +1930,14 @@ the trailing newline (if present in the file) is not inserted into the
|
|
1919
1930
|
trailing newline is added to the file.</p></li>
|
1920
1931
|
</ul></div>
|
1921
1932
|
<p>On the other hand, if <em class="parameter"><code>implicit_trailing_newline</code></em>
|
1922
|
-
is <a href="
|
1933
|
+
is <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>, the file's
|
1923
1934
|
content is not modified when loaded into the <em class="parameter"><code>buffer</code></em>
|
1924
1935
|
, and the <em class="parameter"><code>buffer</code></em>
|
1925
1936
|
's
|
1926
1937
|
content is not modified when saved into a file.</p>
|
1927
1938
|
<div class="refsect3">
|
1928
1939
|
<a name="gtk-source-buffer-set-implicit-trailing-newline.parameters"></a><h4>Parameters</h4>
|
1929
|
-
<div class="informaltable"><table width="100%" border="0">
|
1940
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1930
1941
|
<colgroup>
|
1931
1942
|
<col width="150px" class="parameters_name">
|
1932
1943
|
<col class="parameters_description">
|
@@ -1951,12 +1962,12 @@ content is not modified when saved into a file.</p>
|
|
1951
1962
|
<hr>
|
1952
1963
|
<div class="refsect2">
|
1953
1964
|
<a name="gtk-source-buffer-get-implicit-trailing-newline"></a><h3>gtk_source_buffer_get_implicit_trailing_newline ()</h3>
|
1954
|
-
<pre class="programlisting"><a href="
|
1965
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1955
1966
|
gtk_source_buffer_get_implicit_trailing_newline
|
1956
1967
|
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);</pre>
|
1957
1968
|
<div class="refsect3">
|
1958
1969
|
<a name="gtk-source-buffer-get-implicit-trailing-newline.parameters"></a><h4>Parameters</h4>
|
1959
|
-
<div class="informaltable"><table width="100%" border="0">
|
1970
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1960
1971
|
<colgroup>
|
1961
1972
|
<col width="150px" class="parameters_name">
|
1962
1973
|
<col class="parameters_description">
|
@@ -1988,7 +1999,7 @@ has an implicit trailing newline.</p>
|
|
1988
1999
|
<a name="GtkSourceBracketMatchType"></a><h3>enum GtkSourceBracketMatchType</h3>
|
1989
2000
|
<div class="refsect3">
|
1990
2001
|
<a name="GtkSourceBracketMatchType.members"></a><h4>Members</h4>
|
1991
|
-
<div class="informaltable"><table width="100%" border="0">
|
2002
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1992
2003
|
<colgroup>
|
1993
2004
|
<col width="300px" class="enum_members_name">
|
1994
2005
|
<col class="enum_members_description">
|
@@ -2033,7 +2044,7 @@ has an implicit trailing newline.</p>
|
|
2033
2044
|
<a name="GtkSourceChangeCaseType"></a><h3>enum GtkSourceChangeCaseType</h3>
|
2034
2045
|
<div class="refsect3">
|
2035
2046
|
<a name="GtkSourceChangeCaseType.members"></a><h4>Members</h4>
|
2036
|
-
<div class="informaltable"><table width="100%" border="0">
|
2047
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2037
2048
|
<colgroup>
|
2038
2049
|
<col width="300px" class="enum_members_name">
|
2039
2050
|
<col class="enum_members_description">
|
@@ -2078,7 +2089,7 @@ has an implicit trailing newline.</p>
|
|
2078
2089
|
<a name="GtkSourceSortFlags"></a><h3>enum GtkSourceSortFlags</h3>
|
2079
2090
|
<div class="refsect3">
|
2080
2091
|
<a name="GtkSourceSortFlags.members"></a><h4>Members</h4>
|
2081
|
-
<div class="informaltable"><table width="100%" border="0">
|
2092
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2082
2093
|
<colgroup>
|
2083
2094
|
<col width="300px" class="enum_members_name">
|
2084
2095
|
<col class="enum_members_description">
|
@@ -2123,7 +2134,7 @@ has an implicit trailing newline.</p>
|
|
2123
2134
|
<a name="GtkSourceBuffer.property-details"></a><h2>Property Details</h2>
|
2124
2135
|
<div class="refsect2">
|
2125
2136
|
<a name="GtkSourceBuffer--can-redo"></a><h3>The <code class="literal">“can-redo”</code> property</h3>
|
2126
|
-
<pre class="programlisting"> “can-redo” <a href="
|
2137
|
+
<pre class="programlisting"> “can-redo” <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
2127
2138
|
<p>Whether Redo operation is possible.</p>
|
2128
2139
|
<p>Flags: Read</p>
|
2129
2140
|
<p>Default value: FALSE</p>
|
@@ -2131,7 +2142,7 @@ has an implicit trailing newline.</p>
|
|
2131
2142
|
<hr>
|
2132
2143
|
<div class="refsect2">
|
2133
2144
|
<a name="GtkSourceBuffer--can-undo"></a><h3>The <code class="literal">“can-undo”</code> property</h3>
|
2134
|
-
<pre class="programlisting"> “can-undo” <a href="
|
2145
|
+
<pre class="programlisting"> “can-undo” <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
2135
2146
|
<p>Whether Undo operation is possible.</p>
|
2136
2147
|
<p>Flags: Read</p>
|
2137
2148
|
<p>Default value: FALSE</p>
|
@@ -2139,7 +2150,7 @@ has an implicit trailing newline.</p>
|
|
2139
2150
|
<hr>
|
2140
2151
|
<div class="refsect2">
|
2141
2152
|
<a name="GtkSourceBuffer--highlight-matching-brackets"></a><h3>The <code class="literal">“highlight-matching-brackets”</code> property</h3>
|
2142
|
-
<pre class="programlisting"> “highlight-matching-brackets” <a href="
|
2153
|
+
<pre class="programlisting"> “highlight-matching-brackets” <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
2143
2154
|
<p>Whether to highlight matching brackets in the buffer.</p>
|
2144
2155
|
<p>Flags: Read / Write</p>
|
2145
2156
|
<p>Default value: TRUE</p>
|
@@ -2147,7 +2158,7 @@ has an implicit trailing newline.</p>
|
|
2147
2158
|
<hr>
|
2148
2159
|
<div class="refsect2">
|
2149
2160
|
<a name="GtkSourceBuffer--highlight-syntax"></a><h3>The <code class="literal">“highlight-syntax”</code> property</h3>
|
2150
|
-
<pre class="programlisting"> “highlight-syntax” <a href="
|
2161
|
+
<pre class="programlisting"> “highlight-syntax” <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
2151
2162
|
<p>Whether to highlight syntax in the buffer.</p>
|
2152
2163
|
<p>Flags: Read / Write</p>
|
2153
2164
|
<p>Default value: TRUE</p>
|
@@ -2155,7 +2166,7 @@ has an implicit trailing newline.</p>
|
|
2155
2166
|
<hr>
|
2156
2167
|
<div class="refsect2">
|
2157
2168
|
<a name="GtkSourceBuffer--implicit-trailing-newline"></a><h3>The <code class="literal">“implicit-trailing-newline”</code> property</h3>
|
2158
|
-
<pre class="programlisting"> “implicit-trailing-newline” <a href="
|
2169
|
+
<pre class="programlisting"> “implicit-trailing-newline” <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
2159
2170
|
<p>Whether the buffer has an implicit trailing newline. See
|
2160
2171
|
<a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-set-implicit-trailing-newline" title="gtk_source_buffer_set_implicit_trailing_newline ()"><code class="function">gtk_source_buffer_set_implicit_trailing_newline()</code></a>.</p>
|
2161
2172
|
<p>Flags: Read / Write / Construct</p>
|
@@ -2172,7 +2183,7 @@ has an implicit trailing newline.</p>
|
|
2172
2183
|
<hr>
|
2173
2184
|
<div class="refsect2">
|
2174
2185
|
<a name="GtkSourceBuffer--max-undo-levels"></a><h3>The <code class="literal">“max-undo-levels”</code> property</h3>
|
2175
|
-
<pre class="programlisting"> “max-undo-levels” <a href="
|
2186
|
+
<pre class="programlisting"> “max-undo-levels” <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
|
2176
2187
|
<p>Number of undo levels for the buffer. -1 means no limit. This property
|
2177
2188
|
will only affect the default undo manager.</p>
|
2178
2189
|
<p>Flags: Read / Write</p>
|
@@ -2202,9 +2213,9 @@ brackets style.</p>
|
|
2202
2213
|
<a name="GtkSourceBuffer-bracket-matched"></a><h3>The <code class="literal">“bracket-matched”</code> signal</h3>
|
2203
2214
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
2204
2215
|
user_function (<a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer,
|
2205
|
-
<a href="http://developer.gnome.org/
|
2216
|
+
<a href="http://developer.gnome.org/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *iter,
|
2206
2217
|
<a class="link" href="GtkSourceBuffer.html#GtkSourceBracketMatchType" title="enum GtkSourceBracketMatchType"><span class="type">GtkSourceBracketMatchType</span></a> state,
|
2207
|
-
<a href="
|
2218
|
+
<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
2208
2219
|
<p><em class="parameter"><code>iter</code></em>
|
2209
2220
|
is set to a valid iterator pointing to the matching bracket
|
2210
2221
|
if <em class="parameter"><code>state</code></em>
|
@@ -2214,10 +2225,10 @@ meaningless.</p>
|
|
2214
2225
|
<p>The signal is emitted only when the <em class="parameter"><code>state</code></em>
|
2215
2226
|
changes, typically when
|
2216
2227
|
the cursor moves.</p>
|
2217
|
-
<p>A use-case for this signal is to show messages in a <a href="http://developer.gnome.org/
|
2228
|
+
<p>A use-case for this signal is to show messages in a <a href="http://developer.gnome.org/gtk4/GtkStatusbar.html#GtkStatusbar-struct"><span class="type">GtkStatusbar</span></a>.</p>
|
2218
2229
|
<div class="refsect3">
|
2219
2230
|
<a name="GtkSourceBuffer-bracket-matched.parameters"></a><h4>Parameters</h4>
|
2220
|
-
<div class="informaltable"><table width="100%" border="0">
|
2231
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2221
2232
|
<colgroup>
|
2222
2233
|
<col width="150px" class="parameters_name">
|
2223
2234
|
<col class="parameters_description">
|
@@ -2247,7 +2258,7 @@ the cursor moves.</p>
|
|
2247
2258
|
</tbody>
|
2248
2259
|
</table></div>
|
2249
2260
|
</div>
|
2250
|
-
<p>Flags: <a href="
|
2261
|
+
<p>Flags: <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
2251
2262
|
<p class="since">Since: <a class="link" href="api-index-2-12.html#api-index-2.12">2.12</a></p>
|
2252
2263
|
</div>
|
2253
2264
|
<hr>
|
@@ -2255,9 +2266,9 @@ the cursor moves.</p>
|
|
2255
2266
|
<a name="GtkSourceBuffer-highlight-updated"></a><h3>The <code class="literal">“highlight-updated”</code> signal</h3>
|
2256
2267
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
2257
2268
|
user_function (<a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer,
|
2258
|
-
<a href="http://developer.gnome.org/
|
2259
|
-
<a href="http://developer.gnome.org/
|
2260
|
-
<a href="
|
2269
|
+
<a href="http://developer.gnome.org/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *start,
|
2270
|
+
<a href="http://developer.gnome.org/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *end,
|
2271
|
+
<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
2261
2272
|
<p>The ::highlight-updated signal is emitted when the syntax
|
2262
2273
|
highlighting is updated in a certain region of the <em class="parameter"><code>buffer</code></em>
|
2263
2274
|
. This
|
@@ -2265,7 +2276,7 @@ signal is useful to be notified when a context class region is
|
|
2265
2276
|
updated (e.g. the no-spell-check context class).</p>
|
2266
2277
|
<div class="refsect3">
|
2267
2278
|
<a name="GtkSourceBuffer-highlight-updated.parameters"></a><h4>Parameters</h4>
|
2268
|
-
<div class="informaltable"><table width="100%" border="0">
|
2279
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2269
2280
|
<colgroup>
|
2270
2281
|
<col width="150px" class="parameters_name">
|
2271
2282
|
<col class="parameters_description">
|
@@ -2295,18 +2306,18 @@ updated (e.g. the no-spell-check context class).</p>
|
|
2295
2306
|
</tbody>
|
2296
2307
|
</table></div>
|
2297
2308
|
</div>
|
2298
|
-
<p>Flags: <a href="
|
2309
|
+
<p>Flags: <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
2299
2310
|
</div>
|
2300
2311
|
<hr>
|
2301
2312
|
<div class="refsect2">
|
2302
2313
|
<a name="GtkSourceBuffer-redo"></a><h3>The <code class="literal">“redo”</code> signal</h3>
|
2303
2314
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
2304
2315
|
user_function (<a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer,
|
2305
|
-
<a href="
|
2316
|
+
<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
2306
2317
|
<p>The ::redo signal is emitted to redo the last undo operation.</p>
|
2307
2318
|
<div class="refsect3">
|
2308
2319
|
<a name="GtkSourceBuffer-redo.parameters"></a><h4>Parameters</h4>
|
2309
|
-
<div class="informaltable"><table width="100%" border="0">
|
2320
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2310
2321
|
<colgroup>
|
2311
2322
|
<col width="150px" class="parameters_name">
|
2312
2323
|
<col class="parameters_description">
|
@@ -2326,21 +2337,21 @@ user_function (<a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffe
|
|
2326
2337
|
</tbody>
|
2327
2338
|
</table></div>
|
2328
2339
|
</div>
|
2329
|
-
<p>Flags: <a href="
|
2340
|
+
<p>Flags: <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
2330
2341
|
</div>
|
2331
2342
|
<hr>
|
2332
2343
|
<div class="refsect2">
|
2333
2344
|
<a name="GtkSourceBuffer-source-mark-updated"></a><h3>The <code class="literal">“source-mark-updated”</code> signal</h3>
|
2334
2345
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
2335
2346
|
user_function (<a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer,
|
2336
|
-
<a href="http://developer.gnome.org/
|
2337
|
-
<a href="
|
2347
|
+
<a href="http://developer.gnome.org/gtk4/GtkTextMark.html#GtkTextMark-struct"><span class="type">GtkTextMark</span></a> *mark,
|
2348
|
+
<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
2338
2349
|
<p>The ::source-mark-updated signal is emitted each time
|
2339
2350
|
a mark is added to, moved or removed from the <em class="parameter"><code>buffer</code></em>
|
2340
2351
|
.</p>
|
2341
2352
|
<div class="refsect3">
|
2342
2353
|
<a name="GtkSourceBuffer-source-mark-updated.parameters"></a><h4>Parameters</h4>
|
2343
|
-
<div class="informaltable"><table width="100%" border="0">
|
2354
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2344
2355
|
<colgroup>
|
2345
2356
|
<col width="150px" class="parameters_name">
|
2346
2357
|
<col class="parameters_description">
|
@@ -2365,19 +2376,19 @@ a mark is added to, moved or removed from the <em class="parameter"><code>buffer
|
|
2365
2376
|
</tbody>
|
2366
2377
|
</table></div>
|
2367
2378
|
</div>
|
2368
|
-
<p>Flags: <a href="
|
2379
|
+
<p>Flags: <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
2369
2380
|
</div>
|
2370
2381
|
<hr>
|
2371
2382
|
<div class="refsect2">
|
2372
2383
|
<a name="GtkSourceBuffer-undo"></a><h3>The <code class="literal">“undo”</code> signal</h3>
|
2373
2384
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
2374
2385
|
user_function (<a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer,
|
2375
|
-
<a href="
|
2386
|
+
<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
2376
2387
|
<p>The ::undo signal is emitted to undo the last user action which
|
2377
2388
|
modified the buffer.</p>
|
2378
2389
|
<div class="refsect3">
|
2379
2390
|
<a name="GtkSourceBuffer-undo.parameters"></a><h4>Parameters</h4>
|
2380
|
-
<div class="informaltable"><table width="100%" border="0">
|
2391
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2381
2392
|
<colgroup>
|
2382
2393
|
<col width="150px" class="parameters_name">
|
2383
2394
|
<col class="parameters_description">
|
@@ -2397,12 +2408,12 @@ modified the buffer.</p>
|
|
2397
2408
|
</tbody>
|
2398
2409
|
</table></div>
|
2399
2410
|
</div>
|
2400
|
-
<p>Flags: <a href="
|
2411
|
+
<p>Flags: <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
2401
2412
|
</div>
|
2402
2413
|
</div>
|
2403
2414
|
<div class="refsect1">
|
2404
2415
|
<a name="GtkSourceBuffer.see-also"></a><h2>See Also</h2>
|
2405
|
-
<p><a href="http://developer.gnome.org/
|
2416
|
+
<p><a href="http://developer.gnome.org/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>
|
2406
2417
|
</div>
|
2407
2418
|
</div>
|
2408
2419
|
<div class="footer">
|