gtksourceview3 3.0.7-x64-mingw32 → 3.0.8-x64-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Rakefile +1 -1
- data/vendor/local/bin/libgtksourceview-3.0-1.dll +0 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/completion-providers/words/gtksourcecompletionwords.h +4 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksource.h +4 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceautocleanups.h +52 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcebuffer.h +68 -1
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletion.h +18 -5
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletioncontext.h +8 -2
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletioninfo.h +9 -6
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletionitem.h +4 -1
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletionproposal.h +36 -10
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletionprovider.h +27 -1
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceencoding.h +28 -11
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcefile.h +36 -1
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcefileloader.h +15 -1
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcefilesaver.h +18 -1
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutter.h +9 -3
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutterrenderer.h +39 -1
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutterrendererpixbuf.h +10 -2
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutterrenderertext.h +6 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcelanguage.h +11 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcelanguagemanager.h +8 -4
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcemap.h +67 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcemark.h +6 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcemarkattributes.h +18 -2
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceprintcompositor.h +54 -8
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcesearchcontext.h +20 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcesearchsettings.h +12 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyle.h +2 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestylescheme.h +9 -2
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyleschemechooser.h +8 -6
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyleschemechooserbutton.h +9 -6
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyleschemechooserwidget.h +9 -6
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyleschememanager.h +10 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcetag.h +51 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcetypes.h +2 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceundomanager.h +13 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceutils.h +4 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceversion.h +493 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceview-typebuiltins.h +21 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceview.h +47 -5
- 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 +5 -5
- data/vendor/local/lib/pkgconfig/gtksourceview-3.0.pc +4 -4
- data/vendor/local/share/gir-1.0/GtkSource-3.0.gir +880 -151
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceBuffer.html +475 -261
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletion.html +104 -108
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionContext.html +31 -34
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionInfo.html +42 -44
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionItem.html +64 -39
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProposal.html +171 -75
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProvider.html +164 -77
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionWords.html +29 -31
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceEncoding.html +65 -45
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFile.html +259 -61
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFileLoader.html +99 -96
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFileSaver.html +88 -94
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutter.html +44 -46
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRenderer.html +187 -195
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererPixbuf.html +37 -39
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererText.html +91 -20
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguage.html +88 -93
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguageManager.html +47 -50
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMap.html +254 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMark.html +39 -42
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMarkAttributes.html +89 -91
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourcePrintCompositor.html +249 -277
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSearchContext.html +158 -169
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSearchSettings.html +69 -75
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyle.html +83 -40
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleScheme.html +46 -49
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeChooser.html +9 -10
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeChooserButton.html +13 -15
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeChooserWidget.html +12 -14
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeManager.html +33 -36
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceTag.html +177 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceUndoManager.html +40 -43
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceView.html +328 -252
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/annotation-glossary.html +6 -10
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-2-0.html +62 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-2-10.html +90 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-2-12.html +34 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-2-2.html +270 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-2-4.html +38 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-2-8.html +50 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-0.html +4 -5
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-10.html +2 -3
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-12.html +2 -3
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-14.html +2 -3
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-16.html +4 -5
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-18.html +114 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-20.html +130 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-4.html +2 -3
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-deprecated.html +8 -5
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-full.html +214 -3
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch01.html +2 -3
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch02.html +2 -3
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch03.html +2 -3
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch04.html +2 -3
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch05.html +2 -3
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch06.html +2 -3
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch07.html +2 -3
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch08.html +13 -5
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/{pt02.html → ch09.html} +9 -13
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-GtkSourceUtils.html +19 -22
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-Version-Information.html +472 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0.devhelp2 +95 -13
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/index.html +21 -6
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-reference.html +10 -8
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-tutorial.html +6 -7
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/object-tree.html +16 -14
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/pt01.html +11 -3
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/style-reference.html +37 -15
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/style.css +9 -6
- data/vendor/local/share/gtksourceview-3.0/language-specs/bibtex.lang +9 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/c.lang +14 -2
- data/vendor/local/share/gtksourceview-3.0/language-specs/chdr.lang +11 -3
- data/vendor/local/share/gtksourceview-3.0/language-specs/cmake.lang +18 -12
- data/vendor/local/share/gtksourceview-3.0/language-specs/cpphdr.lang +42 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/csharp.lang +5 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/css.lang +418 -14
- data/vendor/local/share/gtksourceview-3.0/language-specs/csv.lang +74 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/desktop.lang +6 -6
- data/vendor/local/share/gtksourceview-3.0/language-specs/diff.lang +2 -2
- data/vendor/local/share/gtksourceview-3.0/language-specs/fsharp.lang +1 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/gdb-log.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/html.lang +6 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/imagej.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/jade.lang +250 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/javascript.lang +14 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/json.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/latex.lang +15 -15
- data/vendor/local/share/gtksourceview-3.0/language-specs/matlab.lang +8 -30
- data/vendor/local/share/gtksourceview-3.0/language-specs/meson.lang +103 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/ocaml.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/octave.lang +208 -145
- data/vendor/local/share/gtksourceview-3.0/language-specs/pig.lang +12 -2
- data/vendor/local/share/gtksourceview-3.0/language-specs/protobuf.lang +52 -20
- data/vendor/local/share/gtksourceview-3.0/language-specs/python3.lang +2 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/rpmspec.lang +2 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/rust.lang +292 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/sh.lang +20 -2
- data/vendor/local/share/gtksourceview-3.0/language-specs/vala.lang +37 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/vbnet.lang +3 -0
- data/vendor/local/share/gtksourceview-3.0/styles/classic.xml +3 -3
- data/vendor/local/share/gtksourceview-3.0/styles/cobalt.xml +2 -2
- data/vendor/local/share/gtksourceview-3.0/styles/kate.xml +3 -3
- data/vendor/local/share/gtksourceview-3.0/styles/oblivion.xml +5 -3
- data/vendor/local/share/gtksourceview-3.0/styles/solarized-dark.xml +2 -1
- data/vendor/local/share/gtksourceview-3.0/styles/solarized-light.xml +1 -1
- data/vendor/local/share/gtksourceview-3.0/styles/styles.rng +1 -3
- data/vendor/local/share/gtksourceview-3.0/styles/tango.xml +3 -4
- 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 +109 -90
- data/vendor/local/lib/locale/ar/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/as/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ast/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/az/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/be/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/bg/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/bn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/bn_IN/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/bs/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ca/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ca@valencia/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/cs/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/cy/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/da/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/de/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/dz/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/el/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/en@shaw/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/en_CA/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/en_GB/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/eo/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/es/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/et/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/eu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/fa/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/fi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/fr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ga/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/gl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/gu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/he/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/hi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/hr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/hu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/id/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/it/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ja/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/kk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/kn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ko/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/lt/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/lv/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/mai/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/mg/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/mk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ml/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/mn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/mr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ms/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/nb/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ne/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/nl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/nn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/oc/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/or/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/pa/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/pl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/pt/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/pt_BR/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ro/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ru/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/rw/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/si/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/sk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/sl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/sq/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/sr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/sr@latin/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/sv/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ta/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/te/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/tg/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/th/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/tr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ug/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/uk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/vi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/xh/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/zh_CN/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/zh_HK/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/zh_TW/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/index.sgml +0 -987
@@ -8,7 +8,7 @@
|
|
8
8
|
<link rel="up" href="ch01.html" title="Main Classes">
|
9
9
|
<link rel="prev" href="ch01.html" title="Main Classes">
|
10
10
|
<link rel="next" href="GtkSourceView.html" title="GtkSourceView">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.25.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
@@ -60,6 +60,14 @@
|
|
60
60
|
</tr>
|
61
61
|
<tr>
|
62
62
|
<td class="function_type">
|
63
|
+
<a href="/usr/share/gtk-doc/html/gtk3GtkTextTag.html#GtkTextTag-struct"><span class="returnvalue">GtkTextTag</span></a> *
|
64
|
+
</td>
|
65
|
+
<td class="function_name">
|
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>
|
67
|
+
</td>
|
68
|
+
</tr>
|
69
|
+
<tr>
|
70
|
+
<td class="function_type">
|
63
71
|
<span class="returnvalue">void</span>
|
64
72
|
</td>
|
65
73
|
<td class="function_name">
|
@@ -68,7 +76,7 @@
|
|
68
76
|
</tr>
|
69
77
|
<tr>
|
70
78
|
<td class="function_type">
|
71
|
-
<a href="/
|
79
|
+
<a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
72
80
|
</td>
|
73
81
|
<td class="function_name">
|
74
82
|
<a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-get-highlight-syntax" title="gtk_source_buffer_get_highlight_syntax ()">gtk_source_buffer_get_highlight_syntax</a> <span class="c_punctuation">()</span>
|
@@ -100,7 +108,7 @@
|
|
100
108
|
</tr>
|
101
109
|
<tr>
|
102
110
|
<td class="function_type">
|
103
|
-
<a href="/
|
111
|
+
<a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
104
112
|
</td>
|
105
113
|
<td class="function_name">
|
106
114
|
<a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-get-highlight-matching-brackets" title="gtk_source_buffer_get_highlight_matching_brackets ()">gtk_source_buffer_get_highlight_matching_brackets</a> <span class="c_punctuation">()</span>
|
@@ -148,7 +156,7 @@
|
|
148
156
|
</tr>
|
149
157
|
<tr>
|
150
158
|
<td class="function_type">
|
151
|
-
<a href="/
|
159
|
+
<a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
152
160
|
</td>
|
153
161
|
<td class="function_name">
|
154
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>
|
@@ -156,7 +164,7 @@
|
|
156
164
|
</tr>
|
157
165
|
<tr>
|
158
166
|
<td class="function_type">
|
159
|
-
<a href="/
|
167
|
+
<a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
160
168
|
</td>
|
161
169
|
<td class="function_name">
|
162
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>
|
@@ -180,7 +188,7 @@
|
|
180
188
|
</tr>
|
181
189
|
<tr>
|
182
190
|
<td class="function_type">
|
183
|
-
<a href="/
|
191
|
+
<a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
184
192
|
</td>
|
185
193
|
<td class="function_name">
|
186
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>
|
@@ -212,7 +220,7 @@
|
|
212
220
|
</tr>
|
213
221
|
<tr>
|
214
222
|
<td class="function_type">
|
215
|
-
<a href="/
|
223
|
+
<a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
216
224
|
</td>
|
217
225
|
<td class="function_name">
|
218
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>
|
@@ -220,7 +228,7 @@
|
|
220
228
|
</tr>
|
221
229
|
<tr>
|
222
230
|
<td class="function_type">
|
223
|
-
<a href="/
|
231
|
+
<a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> **
|
224
232
|
</td>
|
225
233
|
<td class="function_name">
|
226
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>
|
@@ -228,7 +236,7 @@
|
|
228
236
|
</tr>
|
229
237
|
<tr>
|
230
238
|
<td class="function_type">
|
231
|
-
<a href="/
|
239
|
+
<a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
232
240
|
</td>
|
233
241
|
<td class="function_name">
|
234
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>
|
@@ -236,7 +244,7 @@
|
|
236
244
|
</tr>
|
237
245
|
<tr>
|
238
246
|
<td class="function_type">
|
239
|
-
<a href="/
|
247
|
+
<a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
240
248
|
</td>
|
241
249
|
<td class="function_name">
|
242
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>
|
@@ -252,7 +260,7 @@
|
|
252
260
|
</tr>
|
253
261
|
<tr>
|
254
262
|
<td class="function_type">
|
255
|
-
<a href="/
|
263
|
+
<a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
256
264
|
</td>
|
257
265
|
<td class="function_name">
|
258
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>
|
@@ -260,7 +268,7 @@
|
|
260
268
|
</tr>
|
261
269
|
<tr>
|
262
270
|
<td class="function_type">
|
263
|
-
<a href="/
|
271
|
+
<a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
264
272
|
</td>
|
265
273
|
<td class="function_name">
|
266
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>
|
@@ -268,7 +276,7 @@
|
|
268
276
|
</tr>
|
269
277
|
<tr>
|
270
278
|
<td class="function_type">
|
271
|
-
<a href="/
|
279
|
+
<a href="/usr/share/gtk-doc/html/glibglib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> *
|
272
280
|
</td>
|
273
281
|
<td class="function_name">
|
274
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>
|
@@ -276,7 +284,7 @@
|
|
276
284
|
</tr>
|
277
285
|
<tr>
|
278
286
|
<td class="function_type">
|
279
|
-
<a href="/
|
287
|
+
<a href="/usr/share/gtk-doc/html/glibglib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> *
|
280
288
|
</td>
|
281
289
|
<td class="function_name">
|
282
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>
|
@@ -311,12 +319,20 @@
|
|
311
319
|
<span class="returnvalue">void</span>
|
312
320
|
</td>
|
313
321
|
<td class="function_name">
|
322
|
+
<a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-sort-lines" title="gtk_source_buffer_sort_lines ()">gtk_source_buffer_sort_lines</a> <span class="c_punctuation">()</span>
|
323
|
+
</td>
|
324
|
+
</tr>
|
325
|
+
<tr>
|
326
|
+
<td class="function_type">
|
327
|
+
<span class="returnvalue">void</span>
|
328
|
+
</td>
|
329
|
+
<td class="function_name">
|
314
330
|
<a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-set-implicit-trailing-newline" title="gtk_source_buffer_set_implicit_trailing_newline ()">gtk_source_buffer_set_implicit_trailing_newline</a> <span class="c_punctuation">()</span>
|
315
331
|
</td>
|
316
332
|
</tr>
|
317
333
|
<tr>
|
318
334
|
<td class="function_type">
|
319
|
-
<a href="/
|
335
|
+
<a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
320
336
|
</td>
|
321
337
|
<td class="function_name">
|
322
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>
|
@@ -335,27 +351,27 @@
|
|
335
351
|
</colgroup>
|
336
352
|
<tbody>
|
337
353
|
<tr>
|
338
|
-
<td class="property_type"><a href="/
|
354
|
+
<td class="property_type"><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
339
355
|
<td class="property_name"><a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer--can-redo" title="The “can-redo” property">can-redo</a></td>
|
340
356
|
<td class="property_flags">Read</td>
|
341
357
|
</tr>
|
342
358
|
<tr>
|
343
|
-
<td class="property_type"><a href="/
|
359
|
+
<td class="property_type"><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
344
360
|
<td class="property_name"><a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer--can-undo" title="The “can-undo” property">can-undo</a></td>
|
345
361
|
<td class="property_flags">Read</td>
|
346
362
|
</tr>
|
347
363
|
<tr>
|
348
|
-
<td class="property_type"><a href="/
|
364
|
+
<td class="property_type"><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
349
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>
|
350
366
|
<td class="property_flags">Read / Write</td>
|
351
367
|
</tr>
|
352
368
|
<tr>
|
353
|
-
<td class="property_type"><a href="/
|
369
|
+
<td class="property_type"><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
354
370
|
<td class="property_name"><a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer--highlight-syntax" title="The “highlight-syntax” property">highlight-syntax</a></td>
|
355
371
|
<td class="property_flags">Read / Write</td>
|
356
372
|
</tr>
|
357
373
|
<tr>
|
358
|
-
<td class="property_type"><a href="/
|
374
|
+
<td class="property_type"><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
359
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>
|
360
376
|
<td class="property_flags">Read / Write / Construct</td>
|
361
377
|
</tr>
|
@@ -366,7 +382,7 @@
|
|
366
382
|
<td class="property_flags">Read / Write</td>
|
367
383
|
</tr>
|
368
384
|
<tr>
|
369
|
-
<td class="property_type"><a href="/
|
385
|
+
<td class="property_type"><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
|
370
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>
|
371
387
|
<td class="property_flags">Read / Write</td>
|
372
388
|
</tr>
|
@@ -397,27 +413,27 @@
|
|
397
413
|
<tr>
|
398
414
|
<td class="signal_type"><span class="returnvalue">void</span></td>
|
399
415
|
<td class="signal_name"><a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer-bracket-matched" title="The “bracket-matched” signal">bracket-matched</a></td>
|
400
|
-
<td class="signal_flags"><a href="/
|
416
|
+
<td class="signal_flags"><a href="/usr/share/gtk-doc/html/gobjectgobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
401
417
|
</tr>
|
402
418
|
<tr>
|
403
419
|
<td class="signal_type"><span class="returnvalue">void</span></td>
|
404
420
|
<td class="signal_name"><a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer-highlight-updated" title="The “highlight-updated” signal">highlight-updated</a></td>
|
405
|
-
<td class="signal_flags"><a href="/
|
421
|
+
<td class="signal_flags"><a href="/usr/share/gtk-doc/html/gobjectgobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
406
422
|
</tr>
|
407
423
|
<tr>
|
408
424
|
<td class="signal_type"><span class="returnvalue">void</span></td>
|
409
425
|
<td class="signal_name"><a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer-redo" title="The “redo” signal">redo</a></td>
|
410
|
-
<td class="signal_flags"><a href="/
|
426
|
+
<td class="signal_flags"><a href="/usr/share/gtk-doc/html/gobjectgobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
411
427
|
</tr>
|
412
428
|
<tr>
|
413
429
|
<td class="signal_type"><span class="returnvalue">void</span></td>
|
414
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>
|
415
|
-
<td class="signal_flags"><a href="/
|
431
|
+
<td class="signal_flags"><a href="/usr/share/gtk-doc/html/gobjectgobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
416
432
|
</tr>
|
417
433
|
<tr>
|
418
434
|
<td class="signal_type"><span class="returnvalue">void</span></td>
|
419
435
|
<td class="signal_name"><a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer-undo" title="The “undo” signal">undo</a></td>
|
420
|
-
<td class="signal_flags"><a href="/
|
436
|
+
<td class="signal_flags"><a href="/usr/share/gtk-doc/html/gobjectgobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
421
437
|
</tr>
|
422
438
|
</tbody>
|
423
439
|
</table></div>
|
@@ -442,13 +458,17 @@
|
|
442
458
|
<td class="datatype_keyword">enum</td>
|
443
459
|
<td class="function_name"><a class="link" href="GtkSourceBuffer.html#GtkSourceChangeCaseType" title="enum GtkSourceChangeCaseType">GtkSourceChangeCaseType</a></td>
|
444
460
|
</tr>
|
461
|
+
<tr>
|
462
|
+
<td class="datatype_keyword">enum</td>
|
463
|
+
<td class="function_name"><a class="link" href="GtkSourceBuffer.html#GtkSourceSortFlags" title="enum GtkSourceSortFlags">GtkSourceSortFlags</a></td>
|
464
|
+
</tr>
|
445
465
|
</tbody>
|
446
466
|
</table></div>
|
447
467
|
</div>
|
448
468
|
<div class="refsect1">
|
449
469
|
<a name="GtkSourceBuffer.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
450
|
-
<pre class="screen"> <a href="/
|
451
|
-
<span class="lineart">╰──</span> <a href="
|
470
|
+
<pre class="screen"> <a href="/usr/share/gtk-doc/html/gobjectgobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
|
471
|
+
<span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gtk3GtkTextBuffer.html#GtkTextBuffer-struct">GtkTextBuffer</a>
|
452
472
|
<span class="lineart">╰──</span> GtkSourceBuffer
|
453
473
|
</pre>
|
454
474
|
</div>
|
@@ -460,14 +480,14 @@
|
|
460
480
|
<div class="refsect1">
|
461
481
|
<a name="GtkSourceBuffer.description"></a><h2>Description</h2>
|
462
482
|
<p>A <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> object is the model for <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> widgets.
|
463
|
-
It extends the <a href="
|
483
|
+
It extends the <a href="/usr/share/gtk-doc/html/gtk3GtkTextBuffer.html#GtkTextBuffer-struct"><span class="type">GtkTextBuffer</span></a> class by adding features useful to display
|
464
484
|
and edit source code such as syntax highlighting and bracket matching. It
|
465
485
|
also implements support for the undo/redo.</p>
|
466
486
|
<p>To create a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> use <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-new" title="gtk_source_buffer_new ()"><code class="function">gtk_source_buffer_new()</code></a> or
|
467
487
|
<a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-new-with-language" title="gtk_source_buffer_new_with_language ()"><code class="function">gtk_source_buffer_new_with_language()</code></a>. The second form is just a convenience
|
468
488
|
function which allows you to initially set a <a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a>. You can also
|
469
489
|
directly create a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> and get its <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> with
|
470
|
-
<a href="
|
490
|
+
<a href="/usr/share/gtk-doc/html/gtk3GtkTextView.html#gtk-text-view-get-buffer"><code class="function">gtk_text_view_get_buffer()</code></a>.</p>
|
471
491
|
<p>The highlighting is enabled by default, but you can disable it with
|
472
492
|
<a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-set-highlight-syntax" title="gtk_source_buffer_set_highlight_syntax ()"><code class="function">gtk_source_buffer_set_highlight_syntax()</code></a>.</p>
|
473
493
|
<div class="refsect2">
|
@@ -477,16 +497,16 @@ directly create a <a class="link" href="GtkSourceView.html" title="GtkSourceView
|
|
477
497
|
should be suitable for most uses, so you can use the API provided by
|
478
498
|
<a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> instead of using <a class="link" href="GtkSourceUndoManager.html" title="GtkSourceUndoManager"><span class="type">GtkSourceUndoManager</span></a>. By default, actions
|
479
499
|
that can be undone or redone are defined as groups of operations between a
|
480
|
-
call to <a href="
|
481
|
-
<a href="
|
500
|
+
call to <a href="/usr/share/gtk-doc/html/gtk3GtkTextBuffer.html#gtk-text-buffer-begin-user-action"><code class="function">gtk_text_buffer_begin_user_action()</code></a> and
|
501
|
+
<a href="/usr/share/gtk-doc/html/gtk3GtkTextBuffer.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
|
482
502
|
presses any key which modifies the buffer. But the default undo manager will
|
483
503
|
try to merge similar consecutive actions into one undo/redo level. The
|
484
504
|
merging is done word by word, so after writing a new sentence (character by
|
485
505
|
character), each undo will remove the previous word.</p>
|
486
506
|
<p>The default undo manager remembers the "modified" state of the buffer, and
|
487
507
|
restores it when an action is undone or redone. It can be useful in a text
|
488
|
-
editor to know whether the file is saved. See <a href="
|
489
|
-
and <a href="
|
508
|
+
editor to know whether the file is saved. See <a href="/usr/share/gtk-doc/html/gtk3GtkTextBuffer.html#gtk-text-buffer-get-modified"><code class="function">gtk_text_buffer_get_modified()</code></a>
|
509
|
+
and <a href="/usr/share/gtk-doc/html/gtk3GtkTextBuffer.html#gtk-text-buffer-set-modified"><code class="function">gtk_text_buffer_set_modified()</code></a>.</p>
|
490
510
|
<p>The default undo manager also restores the selected text (or cursor
|
491
511
|
position), if the selection was related to the action. For example if the
|
492
512
|
user selects some text and deletes it, an undo will restore the selection. On
|
@@ -500,16 +520,60 @@ future.</p>
|
|
500
520
|
<div class="refsect2">
|
501
521
|
<a name="id-1.2.2.2.9.6"></a><h3>Context Classes</h3>
|
502
522
|
<p>It is possible to retrieve some information from the syntax highlighting
|
503
|
-
engine.
|
504
|
-
|
523
|
+
engine. The default context classes that are applied to regions of a
|
524
|
+
<a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>:</p>
|
505
525
|
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
|
506
526
|
<li class="listitem"><p><span class="emphasis"><em>comment</em></span>: the region delimits a comment;</p></li>
|
507
|
-
<li class="listitem"><p><span class="emphasis"><em>
|
508
|
-
<li class="listitem"><p><span class="emphasis"><em>
|
527
|
+
<li class="listitem"><p><span class="emphasis"><em>no-spell-check</em></span>: the region should not be spell checked;</p></li>
|
528
|
+
<li class="listitem"><p><span class="emphasis"><em>path</em></span>: the region delimits a path to a file;</p></li>
|
529
|
+
<li class="listitem"><p><span class="emphasis"><em>string</em></span>: the region delimits a string.</p></li>
|
509
530
|
</ul></div>
|
510
531
|
<p>Custom language definition files can create their own context classes,
|
511
532
|
since the functions like <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-iter-has-context-class" title="gtk_source_buffer_iter_has_context_class ()"><code class="function">gtk_source_buffer_iter_has_context_class()</code></a> take
|
512
533
|
a string parameter as the context class.</p>
|
534
|
+
<p><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> provides an API to access the context classes:
|
535
|
+
<a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-iter-has-context-class" title="gtk_source_buffer_iter_has_context_class ()"><code class="function">gtk_source_buffer_iter_has_context_class()</code></a>,
|
536
|
+
<a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-get-context-classes-at-iter" title="gtk_source_buffer_get_context_classes_at_iter ()"><code class="function">gtk_source_buffer_get_context_classes_at_iter()</code></a>,
|
537
|
+
<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 ()"><code class="function">gtk_source_buffer_iter_forward_to_context_class_toggle()</code></a> and
|
538
|
+
<a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-iter-backward-to-context-class-toggle" title="gtk_source_buffer_iter_backward_to_context_class_toggle ()"><code class="function">gtk_source_buffer_iter_backward_to_context_class_toggle()</code></a>.</p>
|
539
|
+
<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
|
+
when a context class region changes.</p>
|
541
|
+
<p>Each context class has also an associated <a href="/usr/share/gtk-doc/html/gtk3GtkTextTag.html#GtkTextTag-struct"><span class="type">GtkTextTag</span></a> with the name
|
542
|
+
<span class="emphasis"><em>gtksourceview:context-classes:<name></em></span>. For example to
|
543
|
+
retrieve the <a href="/usr/share/gtk-doc/html/gtk3GtkTextTag.html#GtkTextTag-struct"><span class="type">GtkTextTag</span></a> for the string context class, one can write:</p>
|
544
|
+
<div class="informalexample">
|
545
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
546
|
+
<tbody>
|
547
|
+
<tr>
|
548
|
+
<td class="listing_lines" align="right"><pre>1
|
549
|
+
2
|
550
|
+
3
|
551
|
+
4
|
552
|
+
5</pre></td>
|
553
|
+
<td class="listing_code"><pre class="programlisting"><span class="usertype">GtkTextTagTable</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">tag_table</span><span class="symbol">;</span>
|
554
|
+
<span class="usertype">GtkTextTag</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">tag</span><span class="symbol">;</span>
|
555
|
+
|
556
|
+
<span class="normal">tag_table </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="/usr/share/gtk-doc/html/gtk3GtkTextBuffer.html#gtk-text-buffer-get-tag-table">gtk_text_buffer_get_tag_table</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">buffer</span><span class="symbol">);</span>
|
557
|
+
<span class="normal">tag </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="/usr/share/gtk-doc/html/gtk3GtkTextTagTable.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
|
+
</tr>
|
559
|
+
</tbody>
|
560
|
+
</table>
|
561
|
+
</div>
|
562
|
+
|
563
|
+
<p></p>
|
564
|
+
<p>The tag must be used for read-only purposes.</p>
|
565
|
+
<p>Accessing a context class via the associated <a href="/usr/share/gtk-doc/html/gtk3GtkTextTag.html#GtkTextTag-struct"><span class="type">GtkTextTag</span></a> is less
|
566
|
+
convenient than the <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> API, because:</p>
|
567
|
+
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
|
568
|
+
<li class="listitem"><p>The tag doesn't always exist, you need to listen to the
|
569
|
+
<a href="/usr/share/gtk-doc/html/gtk3GtkTextTagTable.html#GtkTextTagTable-tag-added"><span class="type">“tag-added”</span></a> and <a href="/usr/share/gtk-doc/html/gtk3GtkTextTagTable.html#GtkTextTagTable-tag-removed"><span class="type">“tag-removed”</span></a> signals.</p></li>
|
570
|
+
<li class="listitem"><p>Instead of the <a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer-highlight-updated" title="The “highlight-updated” signal"><span class="type">“highlight-updated”</span></a> signal, you can listen
|
571
|
+
to the <a href="/usr/share/gtk-doc/html/gtk3GtkTextBuffer.html#GtkTextBuffer-apply-tag"><span class="type">“apply-tag”</span></a> and <a href="/usr/share/gtk-doc/html/gtk3GtkTextBuffer.html#GtkTextBuffer-remove-tag"><span class="type">“remove-tag”</span></a> signals.</p></li>
|
572
|
+
</ul></div>
|
573
|
+
<p>A possible use-case for accessing a context class via the associated
|
574
|
+
<a href="/usr/share/gtk-doc/html/gtk3GtkTextTag.html#GtkTextTag-struct"><span class="type">GtkTextTag</span></a> is to read the region but without adding a hard dependency on the
|
575
|
+
GtkSourceView library (for example for a spell-checking library that wants to
|
576
|
+
read the no-spell-check region).</p>
|
513
577
|
</div>
|
514
578
|
</div>
|
515
579
|
<div class="refsect1">
|
@@ -517,10 +581,10 @@ a string parameter as the context class.</p>
|
|
517
581
|
<div class="refsect2">
|
518
582
|
<a name="gtk-source-buffer-new"></a><h3>gtk_source_buffer_new ()</h3>
|
519
583
|
<pre class="programlisting"><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="returnvalue">GtkSourceBuffer</span></a> *
|
520
|
-
gtk_source_buffer_new (<em class="parameter"><code><a href="
|
584
|
+
gtk_source_buffer_new (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk3GtkTextTagTable.html#GtkTextTagTable-struct"><span class="type">GtkTextTagTable</span></a> *table</code></em>);</pre>
|
521
585
|
<p>Creates a new source buffer.</p>
|
522
586
|
<div class="refsect3">
|
523
|
-
<a name="
|
587
|
+
<a name="gtk-source-buffer-new.parameters"></a><h4>Parameters</h4>
|
524
588
|
<div class="informaltable"><table width="100%" border="0">
|
525
589
|
<colgroup>
|
526
590
|
<col width="150px" class="parameters_name">
|
@@ -529,15 +593,14 @@ gtk_source_buffer_new (<em class="parameter"><code><a href="http://developer.gno
|
|
529
593
|
</colgroup>
|
530
594
|
<tbody><tr>
|
531
595
|
<td class="parameter_name"><p>table</p></td>
|
532
|
-
<td class="parameter_description"><p> a <a href="
|
596
|
+
<td class="parameter_description"><p> a <a href="/usr/share/gtk-doc/html/gtk3GtkTextTagTable.html#GtkTextTagTable-struct"><span class="type">GtkTextTagTable</span></a>, or <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to create a new one. </p></td>
|
533
597
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
534
598
|
</tr></tbody>
|
535
599
|
</table></div>
|
536
600
|
</div>
|
537
601
|
<div class="refsect3">
|
538
|
-
<a name="
|
602
|
+
<a name="gtk-source-buffer-new.returns"></a><h4>Returns</h4>
|
539
603
|
<p> a new source buffer.</p>
|
540
|
-
<p></p>
|
541
604
|
</div>
|
542
605
|
</div>
|
543
606
|
<hr>
|
@@ -550,7 +613,7 @@ gtk_source_buffer_new_with_language (<em class="parameter"><code><a class="link"
|
|
550
613
|
. This is equivalent to creating a new source buffer with
|
551
614
|
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>
|
552
615
|
<div class="refsect3">
|
553
|
-
<a name="
|
616
|
+
<a name="gtk-source-buffer-new-with-language.parameters"></a><h4>Parameters</h4>
|
554
617
|
<div class="informaltable"><table width="100%" border="0">
|
555
618
|
<colgroup>
|
556
619
|
<col width="150px" class="parameters_name">
|
@@ -565,30 +628,92 @@ a new tag table and then calling <a class="link" href="GtkSourceBuffer.html#gtk-
|
|
565
628
|
</table></div>
|
566
629
|
</div>
|
567
630
|
<div class="refsect3">
|
568
|
-
<a name="
|
631
|
+
<a name="gtk-source-buffer-new-with-language.returns"></a><h4>Returns</h4>
|
569
632
|
<p> a new source buffer which will highlight text
|
570
633
|
according to the highlighting patterns in <em class="parameter"><code>language</code></em>
|
571
634
|
.</p>
|
572
|
-
<p></p>
|
573
635
|
</div>
|
574
636
|
</div>
|
575
637
|
<hr>
|
576
638
|
<div class="refsect2">
|
639
|
+
<a name="gtk-source-buffer-create-source-tag"></a><h3>gtk_source_buffer_create_source_tag ()</h3>
|
640
|
+
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gtk3GtkTextTag.html#GtkTextTag-struct"><span class="returnvalue">GtkTextTag</span></a> *
|
641
|
+
gtk_source_buffer_create_source_tag (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
642
|
+
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *tag_name</code></em>,
|
643
|
+
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *first_property_name</code></em>,
|
644
|
+
<em class="parameter"><code>...</code></em>);</pre>
|
645
|
+
<p>In short, this is the same function as <a href="/usr/share/gtk-doc/html/gtk3GtkTextBuffer.html#gtk-text-buffer-create-tag"><code class="function">gtk_text_buffer_create_tag()</code></a>, but
|
646
|
+
instead of creating a <a href="/usr/share/gtk-doc/html/gtk3GtkTextTag.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
|
+
<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
|
+
<em class="parameter"><code>buffer</code></em>
|
649
|
+
. Equivalent to calling <a href="/usr/share/gtk-doc/html/gtk3GtkTextTag.html#gtk-text-tag-new"><code class="function">gtk_text_tag_new()</code></a> and then adding the tag to
|
650
|
+
the buffer’s tag table. The returned tag is owned by the buffer’s tag table,
|
651
|
+
so the ref count will be equal to one.</p>
|
652
|
+
<p>If <em class="parameter"><code>tag_name</code></em>
|
653
|
+
is <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, the tag is anonymous.</p>
|
654
|
+
<p>If <em class="parameter"><code>tag_name</code></em>
|
655
|
+
is non-<a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, a tag called <em class="parameter"><code>tag_name</code></em>
|
656
|
+
must not already
|
657
|
+
exist in the tag table for this buffer.</p>
|
658
|
+
<p>The <em class="parameter"><code>first_property_name</code></em>
|
659
|
+
argument and subsequent arguments are a list
|
660
|
+
of properties to set on the tag, as with <a href="/usr/share/gtk-doc/html/gobjectgobject-The-Base-Object-Type.html#g-object-set"><code class="function">g_object_set()</code></a>.</p>
|
661
|
+
<div class="refsect3">
|
662
|
+
<a name="gtk-source-buffer-create-source-tag.parameters"></a><h4>Parameters</h4>
|
663
|
+
<div class="informaltable"><table width="100%" border="0">
|
664
|
+
<colgroup>
|
665
|
+
<col width="150px" class="parameters_name">
|
666
|
+
<col class="parameters_description">
|
667
|
+
<col width="200px" class="parameters_annotations">
|
668
|
+
</colgroup>
|
669
|
+
<tbody>
|
670
|
+
<tr>
|
671
|
+
<td class="parameter_name"><p>buffer</p></td>
|
672
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a></p></td>
|
673
|
+
<td class="parameter_annotations"> </td>
|
674
|
+
</tr>
|
675
|
+
<tr>
|
676
|
+
<td class="parameter_name"><p>tag_name</p></td>
|
677
|
+
<td class="parameter_description"><p> name of the new tag, or <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
678
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
|
679
|
+
</tr>
|
680
|
+
<tr>
|
681
|
+
<td class="parameter_name"><p>first_property_name</p></td>
|
682
|
+
<td class="parameter_description"><p> name of first property to set, or <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
683
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
|
684
|
+
</tr>
|
685
|
+
<tr>
|
686
|
+
<td class="parameter_name"><p>...</p></td>
|
687
|
+
<td class="parameter_description"><p><a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated list of property names and values</p></td>
|
688
|
+
<td class="parameter_annotations"> </td>
|
689
|
+
</tr>
|
690
|
+
</tbody>
|
691
|
+
</table></div>
|
692
|
+
</div>
|
693
|
+
<div class="refsect3">
|
694
|
+
<a name="gtk-source-buffer-create-source-tag.returns"></a><h4>Returns</h4>
|
695
|
+
<p> a new <a class="link" href="GtkSourceTag.html" title="GtkSourceTag"><span class="type">GtkSourceTag</span></a>. </p>
|
696
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
697
|
+
</div>
|
698
|
+
<p class="since">Since: <a class="link" href="api-index-3-20.html#api-index-3.20">3.20</a></p>
|
699
|
+
</div>
|
700
|
+
<hr>
|
701
|
+
<div class="refsect2">
|
577
702
|
<a name="gtk-source-buffer-set-highlight-syntax"></a><h3>gtk_source_buffer_set_highlight_syntax ()</h3>
|
578
703
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
579
704
|
gtk_source_buffer_set_highlight_syntax
|
580
705
|
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
581
|
-
<em class="parameter"><code><a href="/
|
706
|
+
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> highlight</code></em>);</pre>
|
582
707
|
<p>Controls whether syntax is highlighted in the buffer. If <em class="parameter"><code>highlight</code></em>
|
583
708
|
|
584
|
-
is <a href="/
|
709
|
+
is <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the text will be highlighted according to the syntax
|
585
710
|
patterns specified in the language set with
|
586
711
|
<a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-set-language" title="gtk_source_buffer_set_language ()"><code class="function">gtk_source_buffer_set_language()</code></a>. If <em class="parameter"><code>highlight</code></em>
|
587
|
-
is <a href="/
|
712
|
+
is <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>, syntax highlighting
|
588
713
|
is disabled and all the GtkTextTag objects that have been added by the
|
589
714
|
syntax highlighting engine are removed from the buffer.</p>
|
590
715
|
<div class="refsect3">
|
591
|
-
<a name="
|
716
|
+
<a name="gtk-source-buffer-set-highlight-syntax.parameters"></a><h4>Parameters</h4>
|
592
717
|
<div class="informaltable"><table width="100%" border="0">
|
593
718
|
<colgroup>
|
594
719
|
<col width="150px" class="parameters_name">
|
@@ -603,7 +728,7 @@ syntax highlighting engine are removed from the buffer.</p>
|
|
603
728
|
</tr>
|
604
729
|
<tr>
|
605
730
|
<td class="parameter_name"><p>highlight</p></td>
|
606
|
-
<td class="parameter_description"><p><a href="/
|
731
|
+
<td class="parameter_description"><p><a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to enable syntax highlighting, <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> to disable it.</p></td>
|
607
732
|
<td class="parameter_annotations"> </td>
|
608
733
|
</tr>
|
609
734
|
</tbody>
|
@@ -613,13 +738,13 @@ syntax highlighting engine are removed from the buffer.</p>
|
|
613
738
|
<hr>
|
614
739
|
<div class="refsect2">
|
615
740
|
<a name="gtk-source-buffer-get-highlight-syntax"></a><h3>gtk_source_buffer_get_highlight_syntax ()</h3>
|
616
|
-
<pre class="programlisting"><a href="/
|
741
|
+
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
617
742
|
gtk_source_buffer_get_highlight_syntax
|
618
743
|
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);</pre>
|
619
744
|
<p>Determines whether syntax highlighting is activated in the source
|
620
745
|
buffer.</p>
|
621
746
|
<div class="refsect3">
|
622
|
-
<a name="
|
747
|
+
<a name="gtk-source-buffer-get-highlight-syntax.parameters"></a><h4>Parameters</h4>
|
623
748
|
<div class="informaltable"><table width="100%" border="0">
|
624
749
|
<colgroup>
|
625
750
|
<col width="150px" class="parameters_name">
|
@@ -634,9 +759,8 @@ buffer.</p>
|
|
634
759
|
</table></div>
|
635
760
|
</div>
|
636
761
|
<div class="refsect3">
|
637
|
-
<a name="
|
638
|
-
<p> <a href="/
|
639
|
-
<p></p>
|
762
|
+
<a name="gtk-source-buffer-get-highlight-syntax.returns"></a><h4>Returns</h4>
|
763
|
+
<p> <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if syntax highlighting is enabled, <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
|
640
764
|
</div>
|
641
765
|
</div>
|
642
766
|
<hr>
|
@@ -647,16 +771,16 @@ gtk_source_buffer_set_language (<em class="parameter"><code><a class="link" href
|
|
647
771
|
<em class="parameter"><code><a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a> *language</code></em>);</pre>
|
648
772
|
<p>Associate a <a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a> with the buffer. If <em class="parameter"><code>language</code></em>
|
649
773
|
is
|
650
|
-
not-<a href="/
|
774
|
+
not-<a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> and syntax highlighting is enabled (see <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-set-highlight-syntax" title="gtk_source_buffer_set_highlight_syntax ()"><code class="function">gtk_source_buffer_set_highlight_syntax()</code></a>),
|
651
775
|
the syntax patterns defined in <em class="parameter"><code>language</code></em>
|
652
776
|
will be used to highlight the text
|
653
777
|
contained in the buffer. If <em class="parameter"><code>language</code></em>
|
654
|
-
is <a href="/
|
778
|
+
is <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, the text contained in the
|
655
779
|
buffer is not highlighted.</p>
|
656
780
|
<p>The buffer holds a reference to <em class="parameter"><code>language</code></em>
|
657
781
|
.</p>
|
658
782
|
<div class="refsect3">
|
659
|
-
<a name="
|
783
|
+
<a name="gtk-source-buffer-set-language.parameters"></a><h4>Parameters</h4>
|
660
784
|
<div class="informaltable"><table width="100%" border="0">
|
661
785
|
<colgroup>
|
662
786
|
<col width="150px" class="parameters_name">
|
@@ -671,7 +795,7 @@ buffer is not highlighted.</p>
|
|
671
795
|
</tr>
|
672
796
|
<tr>
|
673
797
|
<td class="parameter_name"><p>language</p></td>
|
674
|
-
<td class="parameter_description"><p> a <a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a> to set, or <a href="/
|
798
|
+
<td class="parameter_description"><p> a <a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a> to set, or <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
675
799
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
676
800
|
</tr>
|
677
801
|
</tbody>
|
@@ -687,7 +811,7 @@ gtk_source_buffer_get_language (<em class="parameter"><code><a class="link" href
|
|
687
811
|
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
|
688
812
|
unreferenced by the user.</p>
|
689
813
|
<div class="refsect3">
|
690
|
-
<a name="
|
814
|
+
<a name="gtk-source-buffer-get-language.parameters"></a><h4>Parameters</h4>
|
691
815
|
<div class="informaltable"><table width="100%" border="0">
|
692
816
|
<colgroup>
|
693
817
|
<col width="150px" class="parameters_name">
|
@@ -702,9 +826,10 @@ unreferenced by the user.</p>
|
|
702
826
|
</table></div>
|
703
827
|
</div>
|
704
828
|
<div class="refsect3">
|
705
|
-
<a name="
|
706
|
-
<p> the <a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a> associated
|
707
|
-
|
829
|
+
<a name="gtk-source-buffer-get-language.returns"></a><h4>Returns</h4>
|
830
|
+
<p> the <a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a> associated
|
831
|
+
with the buffer, or <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
|
832
|
+
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
708
833
|
</div>
|
709
834
|
</div>
|
710
835
|
<hr>
|
@@ -713,13 +838,13 @@ unreferenced by the user.</p>
|
|
713
838
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
714
839
|
gtk_source_buffer_set_highlight_matching_brackets
|
715
840
|
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
716
|
-
<em class="parameter"><code><a href="/
|
841
|
+
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> highlight</code></em>);</pre>
|
717
842
|
<p>Controls the bracket match highlighting function in the buffer. If
|
718
843
|
activated, when you position your cursor over a bracket character
|
719
844
|
(a parenthesis, a square bracket, etc.) the matching opening or
|
720
845
|
closing bracket character will be highlighted.</p>
|
721
846
|
<div class="refsect3">
|
722
|
-
<a name="
|
847
|
+
<a name="gtk-source-buffer-set-highlight-matching-brackets.parameters"></a><h4>Parameters</h4>
|
723
848
|
<div class="informaltable"><table width="100%" border="0">
|
724
849
|
<colgroup>
|
725
850
|
<col width="150px" class="parameters_name">
|
@@ -734,7 +859,7 @@ closing bracket character will be highlighted.</p>
|
|
734
859
|
</tr>
|
735
860
|
<tr>
|
736
861
|
<td class="parameter_name"><p>highlight</p></td>
|
737
|
-
<td class="parameter_description"><p><a href="/
|
862
|
+
<td class="parameter_description"><p><a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if you want matching brackets highlighted.</p></td>
|
738
863
|
<td class="parameter_annotations"> </td>
|
739
864
|
</tr>
|
740
865
|
</tbody>
|
@@ -744,13 +869,13 @@ closing bracket character will be highlighted.</p>
|
|
744
869
|
<hr>
|
745
870
|
<div class="refsect2">
|
746
871
|
<a name="gtk-source-buffer-get-highlight-matching-brackets"></a><h3>gtk_source_buffer_get_highlight_matching_brackets ()</h3>
|
747
|
-
<pre class="programlisting"><a href="/
|
872
|
+
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
748
873
|
gtk_source_buffer_get_highlight_matching_brackets
|
749
874
|
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);</pre>
|
750
875
|
<p>Determines whether bracket match highlighting is activated for the
|
751
876
|
source buffer.</p>
|
752
877
|
<div class="refsect3">
|
753
|
-
<a name="
|
878
|
+
<a name="gtk-source-buffer-get-highlight-matching-brackets.parameters"></a><h4>Parameters</h4>
|
754
879
|
<div class="informaltable"><table width="100%" border="0">
|
755
880
|
<colgroup>
|
756
881
|
<col width="150px" class="parameters_name">
|
@@ -765,10 +890,9 @@ source buffer.</p>
|
|
765
890
|
</table></div>
|
766
891
|
</div>
|
767
892
|
<div class="refsect3">
|
768
|
-
<a name="
|
769
|
-
<p> <a href="/
|
893
|
+
<a name="gtk-source-buffer-get-highlight-matching-brackets.returns"></a><h4>Returns</h4>
|
894
|
+
<p> <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the source buffer will highlight matching
|
770
895
|
brackets.</p>
|
771
|
-
<p></p>
|
772
896
|
</div>
|
773
897
|
</div>
|
774
898
|
<hr>
|
@@ -778,10 +902,10 @@ brackets.</p>
|
|
778
902
|
gtk_source_buffer_set_style_scheme (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
779
903
|
<em class="parameter"><code><a class="link" href="GtkSourceStyleScheme.html" title="GtkSourceStyleScheme"><span class="type">GtkSourceStyleScheme</span></a> *scheme</code></em>);</pre>
|
780
904
|
<p>Sets style scheme used by the buffer. If <em class="parameter"><code>scheme</code></em>
|
781
|
-
is <a href="/
|
905
|
+
is <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> no
|
782
906
|
style scheme is used.</p>
|
783
907
|
<div class="refsect3">
|
784
|
-
<a name="
|
908
|
+
<a name="gtk-source-buffer-set-style-scheme.parameters"></a><h4>Parameters</h4>
|
785
909
|
<div class="informaltable"><table width="100%" border="0">
|
786
910
|
<colgroup>
|
787
911
|
<col width="150px" class="parameters_name">
|
@@ -796,7 +920,7 @@ style scheme is used.</p>
|
|
796
920
|
</tr>
|
797
921
|
<tr>
|
798
922
|
<td class="parameter_name"><p>scheme</p></td>
|
799
|
-
<td class="parameter_description"><p> a <a class="link" href="GtkSourceStyleScheme.html" title="GtkSourceStyleScheme"><span class="type">GtkSourceStyleScheme</span></a> or <a href="/
|
923
|
+
<td class="parameter_description"><p> a <a class="link" href="GtkSourceStyleScheme.html" title="GtkSourceStyleScheme"><span class="type">GtkSourceStyleScheme</span></a> or <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
800
924
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
801
925
|
</tr>
|
802
926
|
</tbody>
|
@@ -812,7 +936,7 @@ gtk_source_buffer_get_style_scheme (<em class="parameter"><code><a class="link"
|
|
812
936
|
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>.
|
813
937
|
The returned object should not be unreferenced by the user.</p>
|
814
938
|
<div class="refsect3">
|
815
|
-
<a name="
|
939
|
+
<a name="gtk-source-buffer-get-style-scheme.parameters"></a><h4>Parameters</h4>
|
816
940
|
<div class="informaltable"><table width="100%" border="0">
|
817
941
|
<colgroup>
|
818
942
|
<col width="150px" class="parameters_name">
|
@@ -827,10 +951,10 @@ The returned object should not be unreferenced by the user.</p>
|
|
827
951
|
</table></div>
|
828
952
|
</div>
|
829
953
|
<div class="refsect3">
|
830
|
-
<a name="
|
831
|
-
<p> the <a class="link" href="GtkSourceStyleScheme.html" title="GtkSourceStyleScheme"><span class="type">GtkSourceStyleScheme</span></a>
|
832
|
-
with the buffer, or <a href="/
|
833
|
-
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
954
|
+
<a name="gtk-source-buffer-get-style-scheme.returns"></a><h4>Returns</h4>
|
955
|
+
<p> the <a class="link" href="GtkSourceStyleScheme.html" title="GtkSourceStyleScheme"><span class="type">GtkSourceStyleScheme</span></a>
|
956
|
+
associated with the buffer, or <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
|
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>
|
834
958
|
</div>
|
835
959
|
</div>
|
836
960
|
<hr>
|
@@ -838,8 +962,8 @@ with the buffer, or <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/
|
|
838
962
|
<a name="gtk-source-buffer-ensure-highlight"></a><h3>gtk_source_buffer_ensure_highlight ()</h3>
|
839
963
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
840
964
|
gtk_source_buffer_ensure_highlight (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
841
|
-
<em class="parameter"><code>const <a href="
|
842
|
-
<em class="parameter"><code>const <a href="
|
965
|
+
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/gtk3GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *start</code></em>,
|
966
|
+
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/gtk3GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *end</code></em>);</pre>
|
843
967
|
<p>Forces buffer to analyze and highlight the given area synchronously.</p>
|
844
968
|
<div class="note"><p>
|
845
969
|
This is a potentially slow operation and should be used only
|
@@ -847,7 +971,7 @@ gtk_source_buffer_ensure_highlight (<em class="parameter"><code><a class="link"
|
|
847
971
|
visible is highlighted, for instance before printing.
|
848
972
|
</p></div>
|
849
973
|
<div class="refsect3">
|
850
|
-
<a name="
|
974
|
+
<a name="gtk-source-buffer-ensure-highlight.parameters"></a><h4>Parameters</h4>
|
851
975
|
<div class="informaltable"><table width="100%" border="0">
|
852
976
|
<colgroup>
|
853
977
|
<col width="150px" class="parameters_name">
|
@@ -884,7 +1008,7 @@ gtk_source_buffer_undo (<em class="parameter"><code><a class="link" href="GtkSou
|
|
884
1008
|
function will have any effect.</p>
|
885
1009
|
<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>
|
886
1010
|
<div class="refsect3">
|
887
|
-
<a name="
|
1011
|
+
<a name="gtk-source-buffer-undo.parameters"></a><h4>Parameters</h4>
|
888
1012
|
<div class="informaltable"><table width="100%" border="0">
|
889
1013
|
<colgroup>
|
890
1014
|
<col width="150px" class="parameters_name">
|
@@ -908,7 +1032,7 @@ gtk_source_buffer_redo (<em class="parameter"><code><a class="link" href="GtkSou
|
|
908
1032
|
to check whether a call to this function will have any effect.</p>
|
909
1033
|
<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>
|
910
1034
|
<div class="refsect3">
|
911
|
-
<a name="
|
1035
|
+
<a name="gtk-source-buffer-redo.parameters"></a><h4>Parameters</h4>
|
912
1036
|
<div class="informaltable"><table width="100%" border="0">
|
913
1037
|
<colgroup>
|
914
1038
|
<col width="150px" class="parameters_name">
|
@@ -926,11 +1050,11 @@ to check whether a call to this function will have any effect.</p>
|
|
926
1050
|
<hr>
|
927
1051
|
<div class="refsect2">
|
928
1052
|
<a name="gtk-source-buffer-can-undo"></a><h3>gtk_source_buffer_can_undo ()</h3>
|
929
|
-
<pre class="programlisting"><a href="/
|
1053
|
+
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
930
1054
|
gtk_source_buffer_can_undo (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);</pre>
|
931
1055
|
<p>Determines whether a source buffer can undo the last action.</p>
|
932
1056
|
<div class="refsect3">
|
933
|
-
<a name="
|
1057
|
+
<a name="gtk-source-buffer-can-undo.parameters"></a><h4>Parameters</h4>
|
934
1058
|
<div class="informaltable"><table width="100%" border="0">
|
935
1059
|
<colgroup>
|
936
1060
|
<col width="150px" class="parameters_name">
|
@@ -945,20 +1069,19 @@ gtk_source_buffer_can_undo (<em class="parameter"><code><a class="link" href="Gt
|
|
945
1069
|
</table></div>
|
946
1070
|
</div>
|
947
1071
|
<div class="refsect3">
|
948
|
-
<a name="
|
949
|
-
<p> <a href="/
|
950
|
-
<p></p>
|
1072
|
+
<a name="gtk-source-buffer-can-undo.returns"></a><h4>Returns</h4>
|
1073
|
+
<p> <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if it's possible to undo the last action.</p>
|
951
1074
|
</div>
|
952
1075
|
</div>
|
953
1076
|
<hr>
|
954
1077
|
<div class="refsect2">
|
955
1078
|
<a name="gtk-source-buffer-can-redo"></a><h3>gtk_source_buffer_can_redo ()</h3>
|
956
|
-
<pre class="programlisting"><a href="/
|
1079
|
+
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
957
1080
|
gtk_source_buffer_can_redo (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);</pre>
|
958
1081
|
<p>Determines whether a source buffer can redo the last action
|
959
1082
|
(i.e. if the last operation was an undo).</p>
|
960
1083
|
<div class="refsect3">
|
961
|
-
<a name="
|
1084
|
+
<a name="gtk-source-buffer-can-redo.parameters"></a><h4>Parameters</h4>
|
962
1085
|
<div class="informaltable"><table width="100%" border="0">
|
963
1086
|
<colgroup>
|
964
1087
|
<col width="150px" class="parameters_name">
|
@@ -973,9 +1096,8 @@ gtk_source_buffer_can_redo (<em class="parameter"><code><a class="link" href="Gt
|
|
973
1096
|
</table></div>
|
974
1097
|
</div>
|
975
1098
|
<div class="refsect3">
|
976
|
-
<a name="
|
977
|
-
<p> <a href="/
|
978
|
-
<p></p>
|
1099
|
+
<a name="gtk-source-buffer-can-redo.returns"></a><h4>Returns</h4>
|
1100
|
+
<p> <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if a redo is possible.</p>
|
979
1101
|
</div>
|
980
1102
|
</div>
|
981
1103
|
<hr>
|
@@ -991,7 +1113,7 @@ loading a file in a text editor).</p>
|
|
991
1113
|
<p>You may nest <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-begin-not-undoable-action" title="gtk_source_buffer_begin_not_undoable_action ()"><code class="function">gtk_source_buffer_begin_not_undoable_action()</code></a> /
|
992
1114
|
<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>
|
993
1115
|
<div class="refsect3">
|
994
|
-
<a name="
|
1116
|
+
<a name="gtk-source-buffer-begin-not-undoable-action.parameters"></a><h4>Parameters</h4>
|
995
1117
|
<div class="informaltable"><table width="100%" border="0">
|
996
1118
|
<colgroup>
|
997
1119
|
<col width="150px" class="parameters_name">
|
@@ -1017,7 +1139,7 @@ last not undoable block is closed through the call to this
|
|
1017
1139
|
function, the list of undo actions is cleared and the undo manager
|
1018
1140
|
is re-enabled.</p>
|
1019
1141
|
<div class="refsect3">
|
1020
|
-
<a name="
|
1142
|
+
<a name="gtk-source-buffer-end-not-undoable-action.parameters"></a><h4>Parameters</h4>
|
1021
1143
|
<div class="informaltable"><table width="100%" border="0">
|
1022
1144
|
<colgroup>
|
1023
1145
|
<col width="150px" class="parameters_name">
|
@@ -1035,11 +1157,11 @@ is re-enabled.</p>
|
|
1035
1157
|
<hr>
|
1036
1158
|
<div class="refsect2">
|
1037
1159
|
<a name="gtk-source-buffer-get-max-undo-levels"></a><h3>gtk_source_buffer_get_max_undo_levels ()</h3>
|
1038
|
-
<pre class="programlisting"><a href="/
|
1160
|
+
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
1039
1161
|
gtk_source_buffer_get_max_undo_levels (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);</pre>
|
1040
1162
|
<p>Determines the number of undo levels the buffer will track for buffer edits.</p>
|
1041
1163
|
<div class="refsect3">
|
1042
|
-
<a name="
|
1164
|
+
<a name="gtk-source-buffer-get-max-undo-levels.parameters"></a><h4>Parameters</h4>
|
1043
1165
|
<div class="informaltable"><table width="100%" border="0">
|
1044
1166
|
<colgroup>
|
1045
1167
|
<col width="150px" class="parameters_name">
|
@@ -1054,9 +1176,8 @@ gtk_source_buffer_get_max_undo_levels (<em class="parameter"><code><a class="lin
|
|
1054
1176
|
</table></div>
|
1055
1177
|
</div>
|
1056
1178
|
<div class="refsect3">
|
1057
|
-
<a name="
|
1179
|
+
<a name="gtk-source-buffer-get-max-undo-levels.returns"></a><h4>Returns</h4>
|
1058
1180
|
<p> the maximum number of possible undo levels or -1 if no limit is set.</p>
|
1059
|
-
<p></p>
|
1060
1181
|
</div>
|
1061
1182
|
</div>
|
1062
1183
|
<hr>
|
@@ -1064,14 +1185,16 @@ gtk_source_buffer_get_max_undo_levels (<em class="parameter"><code><a class="lin
|
|
1064
1185
|
<a name="gtk-source-buffer-set-max-undo-levels"></a><h3>gtk_source_buffer_set_max_undo_levels ()</h3>
|
1065
1186
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1066
1187
|
gtk_source_buffer_set_max_undo_levels (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
1067
|
-
<em class="parameter"><code><a href="/
|
1188
|
+
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gint"><span class="type">gint</span></a> max_undo_levels</code></em>);</pre>
|
1068
1189
|
<p>Sets the number of undo levels for user actions the buffer will
|
1069
1190
|
track. If the number of user actions exceeds the limit set by this
|
1070
1191
|
function, older actions will be discarded.</p>
|
1071
1192
|
<p>If <em class="parameter"><code>max_undo_levels</code></em>
|
1072
|
-
is -1,
|
1193
|
+
is -1, the undo/redo is unlimited.</p>
|
1194
|
+
<p>If <em class="parameter"><code>max_undo_levels</code></em>
|
1195
|
+
is 0, the undo/redo is disabled.</p>
|
1073
1196
|
<div class="refsect3">
|
1074
|
-
<a name="
|
1197
|
+
<a name="gtk-source-buffer-set-max-undo-levels.parameters"></a><h4>Parameters</h4>
|
1075
1198
|
<div class="informaltable"><table width="100%" border="0">
|
1076
1199
|
<colgroup>
|
1077
1200
|
<col width="150px" class="parameters_name">
|
@@ -1102,7 +1225,7 @@ gtk_source_buffer_get_undo_manager (<em class="parameter"><code><a class="link"
|
|
1102
1225
|
see <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-set-undo-manager" title="gtk_source_buffer_set_undo_manager ()"><code class="function">gtk_source_buffer_set_undo_manager()</code></a>. The returned object should not be
|
1103
1226
|
unreferenced by the user.</p>
|
1104
1227
|
<div class="refsect3">
|
1105
|
-
<a name="
|
1228
|
+
<a name="gtk-source-buffer-get-undo-manager.parameters"></a><h4>Parameters</h4>
|
1106
1229
|
<div class="informaltable"><table width="100%" border="0">
|
1107
1230
|
<colgroup>
|
1108
1231
|
<col width="150px" class="parameters_name">
|
@@ -1117,9 +1240,9 @@ unreferenced by the user.</p>
|
|
1117
1240
|
</table></div>
|
1118
1241
|
</div>
|
1119
1242
|
<div class="refsect3">
|
1120
|
-
<a name="
|
1243
|
+
<a name="gtk-source-buffer-get-undo-manager.returns"></a><h4>Returns</h4>
|
1121
1244
|
<p> the <a class="link" href="GtkSourceUndoManager.html" title="GtkSourceUndoManager"><span class="type">GtkSourceUndoManager</span></a> associated
|
1122
|
-
with the buffer, or <a href="/
|
1245
|
+
with the buffer, or <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
|
1123
1246
|
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
1124
1247
|
</div>
|
1125
1248
|
</div>
|
@@ -1130,10 +1253,10 @@ with the buffer, or <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/
|
|
1130
1253
|
gtk_source_buffer_set_undo_manager (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
1131
1254
|
<em class="parameter"><code><a class="link" href="GtkSourceUndoManager.html" title="GtkSourceUndoManager"><span class="type">GtkSourceUndoManager</span></a> *manager</code></em>);</pre>
|
1132
1255
|
<p>Set the buffer undo manager. If <em class="parameter"><code>manager</code></em>
|
1133
|
-
is <a href="/
|
1256
|
+
is <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> the default undo manager
|
1134
1257
|
will be set.</p>
|
1135
1258
|
<div class="refsect3">
|
1136
|
-
<a name="
|
1259
|
+
<a name="gtk-source-buffer-set-undo-manager.parameters"></a><h4>Parameters</h4>
|
1137
1260
|
<div class="informaltable"><table width="100%" border="0">
|
1138
1261
|
<colgroup>
|
1139
1262
|
<col width="150px" class="parameters_name">
|
@@ -1148,7 +1271,7 @@ will be set.</p>
|
|
1148
1271
|
</tr>
|
1149
1272
|
<tr>
|
1150
1273
|
<td class="parameter_name"><p>manager</p></td>
|
1151
|
-
<td class="parameter_description"><p> A <a class="link" href="GtkSourceUndoManager.html" title="GtkSourceUndoManager"><span class="type">GtkSourceUndoManager</span></a> or <a href="/
|
1274
|
+
<td class="parameter_description"><p> A <a class="link" href="GtkSourceUndoManager.html" title="GtkSourceUndoManager"><span class="type">GtkSourceUndoManager</span></a> or <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1152
1275
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
1153
1276
|
</tr>
|
1154
1277
|
</tbody>
|
@@ -1158,17 +1281,17 @@ will be set.</p>
|
|
1158
1281
|
<hr>
|
1159
1282
|
<div class="refsect2">
|
1160
1283
|
<a name="gtk-source-buffer-iter-has-context-class"></a><h3>gtk_source_buffer_iter_has_context_class ()</h3>
|
1161
|
-
<pre class="programlisting"><a href="/
|
1284
|
+
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1162
1285
|
gtk_source_buffer_iter_has_context_class
|
1163
1286
|
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
1164
|
-
<em class="parameter"><code>const <a href="
|
1165
|
-
<em class="parameter"><code>const <a href="/
|
1287
|
+
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/gtk3GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *iter</code></em>,
|
1288
|
+
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *context_class</code></em>);</pre>
|
1166
1289
|
<p>Check if the class <em class="parameter"><code>context_class</code></em>
|
1167
1290
|
is set on <em class="parameter"><code>iter</code></em>
|
1168
1291
|
.</p>
|
1169
1292
|
<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>
|
1170
1293
|
<div class="refsect3">
|
1171
|
-
<a name="
|
1294
|
+
<a name="gtk-source-buffer-iter-has-context-class.parameters"></a><h4>Parameters</h4>
|
1172
1295
|
<div class="informaltable"><table width="100%" border="0">
|
1173
1296
|
<colgroup>
|
1174
1297
|
<col width="150px" class="parameters_name">
|
@@ -1183,7 +1306,7 @@ gtk_source_buffer_iter_has_context_class
|
|
1183
1306
|
</tr>
|
1184
1307
|
<tr>
|
1185
1308
|
<td class="parameter_name"><p>iter</p></td>
|
1186
|
-
<td class="parameter_description"><p>a <a href="
|
1309
|
+
<td class="parameter_description"><p>a <a href="/usr/share/gtk-doc/html/gtk3GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a>.</p></td>
|
1187
1310
|
<td class="parameter_annotations"> </td>
|
1188
1311
|
</tr>
|
1189
1312
|
<tr>
|
@@ -1195,25 +1318,24 @@ gtk_source_buffer_iter_has_context_class
|
|
1195
1318
|
</table></div>
|
1196
1319
|
</div>
|
1197
1320
|
<div class="refsect3">
|
1198
|
-
<a name="
|
1321
|
+
<a name="gtk-source-buffer-iter-has-context-class.returns"></a><h4>Returns</h4>
|
1199
1322
|
<p> whether <em class="parameter"><code>iter</code></em>
|
1200
1323
|
has the context class.</p>
|
1201
|
-
<p></p>
|
1202
1324
|
</div>
|
1203
|
-
<p class="since">Since 2.10</p>
|
1325
|
+
<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p>
|
1204
1326
|
</div>
|
1205
1327
|
<hr>
|
1206
1328
|
<div class="refsect2">
|
1207
1329
|
<a name="gtk-source-buffer-get-context-classes-at-iter"></a><h3>gtk_source_buffer_get_context_classes_at_iter ()</h3>
|
1208
|
-
<pre class="programlisting"><a href="/
|
1330
|
+
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> **
|
1209
1331
|
gtk_source_buffer_get_context_classes_at_iter
|
1210
1332
|
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
1211
|
-
<em class="parameter"><code>const <a href="
|
1333
|
+
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/gtk3GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *iter</code></em>);</pre>
|
1212
1334
|
<p>Get all defined context classes at <em class="parameter"><code>iter</code></em>
|
1213
1335
|
.</p>
|
1214
1336
|
<p>See the <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> description for the list of default context classes.</p>
|
1215
1337
|
<div class="refsect3">
|
1216
|
-
<a name="
|
1338
|
+
<a name="gtk-source-buffer-get-context-classes-at-iter.parameters"></a><h4>Parameters</h4>
|
1217
1339
|
<div class="informaltable"><table width="100%" border="0">
|
1218
1340
|
<colgroup>
|
1219
1341
|
<col width="150px" class="parameters_name">
|
@@ -1228,31 +1350,31 @@ gtk_source_buffer_get_context_classes_at_iter
|
|
1228
1350
|
</tr>
|
1229
1351
|
<tr>
|
1230
1352
|
<td class="parameter_name"><p>iter</p></td>
|
1231
|
-
<td class="parameter_description"><p>a <a href="
|
1353
|
+
<td class="parameter_description"><p>a <a href="/usr/share/gtk-doc/html/gtk3GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a>.</p></td>
|
1232
1354
|
<td class="parameter_annotations"> </td>
|
1233
1355
|
</tr>
|
1234
1356
|
</tbody>
|
1235
1357
|
</table></div>
|
1236
1358
|
</div>
|
1237
1359
|
<div class="refsect3">
|
1238
|
-
<a name="
|
1239
|
-
<p> a new <a href="/
|
1360
|
+
<a name="gtk-source-buffer-get-context-classes-at-iter.returns"></a><h4>Returns</h4>
|
1361
|
+
<p> a new <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
1240
1362
|
terminated array of context class names.
|
1241
|
-
Use <a href="/
|
1363
|
+
Use <a href="/usr/share/gtk-doc/html/glibglib-String-Utility-Functions.html#g-strfreev"><code class="function">g_strfreev()</code></a> to free the array if it is no longer needed. </p>
|
1242
1364
|
<p><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> zero-terminated=1][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
1243
1365
|
</div>
|
1244
|
-
<p class="since">Since 2.10</p>
|
1366
|
+
<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p>
|
1245
1367
|
</div>
|
1246
1368
|
<hr>
|
1247
1369
|
<div class="refsect2">
|
1248
1370
|
<a name="gtk-source-buffer-iter-forward-to-context-class-toggle"></a><h3>gtk_source_buffer_iter_forward_to_context_class_toggle ()</h3>
|
1249
|
-
<pre class="programlisting"><a href="/
|
1371
|
+
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1250
1372
|
gtk_source_buffer_iter_forward_to_context_class_toggle
|
1251
1373
|
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
1252
|
-
<em class="parameter"><code><a href="
|
1253
|
-
<em class="parameter"><code>const <a href="/
|
1374
|
+
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk3GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *iter</code></em>,
|
1375
|
+
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *context_class</code></em>);</pre>
|
1254
1376
|
<p>Moves forward to the next toggle (on or off) of the context class. If no
|
1255
|
-
matching context class toggles are found, returns <a href="/
|
1377
|
+
matching context class toggles are found, returns <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>, otherwise <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>.
|
1256
1378
|
Does not return toggles located at <em class="parameter"><code>iter</code></em>
|
1257
1379
|
, only toggles after <em class="parameter"><code>iter</code></em>
|
1258
1380
|
. Sets
|
@@ -1261,7 +1383,7 @@ Does not return toggles located at <em class="parameter"><code>iter</code></em>
|
|
1261
1383
|
toggle is found.</p>
|
1262
1384
|
<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>
|
1263
1385
|
<div class="refsect3">
|
1264
|
-
<a name="
|
1386
|
+
<a name="gtk-source-buffer-iter-forward-to-context-class-toggle.parameters"></a><h4>Parameters</h4>
|
1265
1387
|
<div class="informaltable"><table width="100%" border="0">
|
1266
1388
|
<colgroup>
|
1267
1389
|
<col width="150px" class="parameters_name">
|
@@ -1276,8 +1398,8 @@ toggle is found.</p>
|
|
1276
1398
|
</tr>
|
1277
1399
|
<tr>
|
1278
1400
|
<td class="parameter_name"><p>iter</p></td>
|
1279
|
-
<td class="parameter_description"><p>
|
1280
|
-
<td class="parameter_annotations"
|
1401
|
+
<td class="parameter_description"><p>a <a href="/usr/share/gtk-doc/html/gtk3GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a>.</p></td>
|
1402
|
+
<td class="parameter_annotations"> </td>
|
1281
1403
|
</tr>
|
1282
1404
|
<tr>
|
1283
1405
|
<td class="parameter_name"><p>context_class</p></td>
|
@@ -1288,23 +1410,22 @@ toggle is found.</p>
|
|
1288
1410
|
</table></div>
|
1289
1411
|
</div>
|
1290
1412
|
<div class="refsect3">
|
1291
|
-
<a name="
|
1413
|
+
<a name="gtk-source-buffer-iter-forward-to-context-class-toggle.returns"></a><h4>Returns</h4>
|
1292
1414
|
<p> whether we found a context class toggle after <em class="parameter"><code>iter</code></em>
|
1293
1415
|
</p>
|
1294
|
-
<p></p>
|
1295
1416
|
</div>
|
1296
|
-
<p class="since">Since 2.10</p>
|
1417
|
+
<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p>
|
1297
1418
|
</div>
|
1298
1419
|
<hr>
|
1299
1420
|
<div class="refsect2">
|
1300
1421
|
<a name="gtk-source-buffer-iter-backward-to-context-class-toggle"></a><h3>gtk_source_buffer_iter_backward_to_context_class_toggle ()</h3>
|
1301
|
-
<pre class="programlisting"><a href="/
|
1422
|
+
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1302
1423
|
gtk_source_buffer_iter_backward_to_context_class_toggle
|
1303
1424
|
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
1304
|
-
<em class="parameter"><code><a href="
|
1305
|
-
<em class="parameter"><code>const <a href="/
|
1425
|
+
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk3GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *iter</code></em>,
|
1426
|
+
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *context_class</code></em>);</pre>
|
1306
1427
|
<p>Moves backward to the next toggle (on or off) of the context class. If no
|
1307
|
-
matching context class toggles are found, returns <a href="/
|
1428
|
+
matching context class toggles are found, returns <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>, otherwise <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>.
|
1308
1429
|
Does not return toggles located at <em class="parameter"><code>iter</code></em>
|
1309
1430
|
, only toggles after <em class="parameter"><code>iter</code></em>
|
1310
1431
|
. Sets
|
@@ -1313,7 +1434,7 @@ Does not return toggles located at <em class="parameter"><code>iter</code></em>
|
|
1313
1434
|
toggle is found.</p>
|
1314
1435
|
<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>
|
1315
1436
|
<div class="refsect3">
|
1316
|
-
<a name="
|
1437
|
+
<a name="gtk-source-buffer-iter-backward-to-context-class-toggle.parameters"></a><h4>Parameters</h4>
|
1317
1438
|
<div class="informaltable"><table width="100%" border="0">
|
1318
1439
|
<colgroup>
|
1319
1440
|
<col width="150px" class="parameters_name">
|
@@ -1328,8 +1449,8 @@ toggle is found.</p>
|
|
1328
1449
|
</tr>
|
1329
1450
|
<tr>
|
1330
1451
|
<td class="parameter_name"><p>iter</p></td>
|
1331
|
-
<td class="parameter_description"><p>
|
1332
|
-
<td class="parameter_annotations"
|
1452
|
+
<td class="parameter_description"><p>a <a href="/usr/share/gtk-doc/html/gtk3GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a>.</p></td>
|
1453
|
+
<td class="parameter_annotations"> </td>
|
1333
1454
|
</tr>
|
1334
1455
|
<tr>
|
1335
1456
|
<td class="parameter_name"><p>context_class</p></td>
|
@@ -1340,36 +1461,35 @@ toggle is found.</p>
|
|
1340
1461
|
</table></div>
|
1341
1462
|
</div>
|
1342
1463
|
<div class="refsect3">
|
1343
|
-
<a name="
|
1464
|
+
<a name="gtk-source-buffer-iter-backward-to-context-class-toggle.returns"></a><h4>Returns</h4>
|
1344
1465
|
<p> whether we found a context class toggle before <em class="parameter"><code>iter</code></em>
|
1345
1466
|
</p>
|
1346
|
-
<p></p>
|
1347
1467
|
</div>
|
1348
|
-
<p class="since">Since 2.10</p>
|
1468
|
+
<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p>
|
1349
1469
|
</div>
|
1350
1470
|
<hr>
|
1351
1471
|
<div class="refsect2">
|
1352
1472
|
<a name="gtk-source-buffer-create-source-mark"></a><h3>gtk_source_buffer_create_source_mark ()</h3>
|
1353
1473
|
<pre class="programlisting"><a class="link" href="GtkSourceMark.html" title="GtkSourceMark"><span class="returnvalue">GtkSourceMark</span></a> *
|
1354
1474
|
gtk_source_buffer_create_source_mark (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
1355
|
-
<em class="parameter"><code>const <a href="/
|
1356
|
-
<em class="parameter"><code>const <a href="/
|
1357
|
-
<em class="parameter"><code>const <a href="
|
1475
|
+
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
|
1476
|
+
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *category</code></em>,
|
1477
|
+
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/gtk3GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *where</code></em>);</pre>
|
1358
1478
|
<p>Creates a source mark in the <em class="parameter"><code>buffer</code></em>
|
1359
1479
|
of category <em class="parameter"><code>category</code></em>
|
1360
1480
|
. A source mark is
|
1361
|
-
a <a href="
|
1481
|
+
a <a href="/usr/share/gtk-doc/html/gtk3GtkTextMark.html#GtkTextMark-struct"><span class="type">GtkTextMark</span></a> but organised into categories. Depending on the category
|
1362
1482
|
a pixbuf can be specified that will be displayed along the line of the mark.</p>
|
1363
|
-
<p>Like a <a href="
|
1483
|
+
<p>Like a <a href="/usr/share/gtk-doc/html/gtk3GtkTextMark.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
|
1364
1484
|
passed <em class="parameter"><code>name</code></em>
|
1365
|
-
is <a href="/
|
1485
|
+
is <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. Also, the buffer owns the marks so you
|
1366
1486
|
shouldn't unreference it.</p>
|
1367
1487
|
<p>Marks always have left gravity and are moved to the beginning of
|
1368
1488
|
the line when the user deletes the line they were in.</p>
|
1369
1489
|
<p>Typical uses for a source mark are bookmarks, breakpoints, current
|
1370
1490
|
executing instruction indication in a source file, etc..</p>
|
1371
1491
|
<div class="refsect3">
|
1372
|
-
<a name="
|
1492
|
+
<a name="gtk-source-buffer-create-source-mark.parameters"></a><h4>Parameters</h4>
|
1373
1493
|
<div class="informaltable"><table width="100%" border="0">
|
1374
1494
|
<colgroup>
|
1375
1495
|
<col width="150px" class="parameters_name">
|
@@ -1384,7 +1504,7 @@ executing instruction indication in a source file, etc..</p>
|
|
1384
1504
|
</tr>
|
1385
1505
|
<tr>
|
1386
1506
|
<td class="parameter_name"><p>name</p></td>
|
1387
|
-
<td class="parameter_description"><p> the name of the mark, or <a href="/
|
1507
|
+
<td class="parameter_description"><p> the name of the mark, or <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1388
1508
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
1389
1509
|
</tr>
|
1390
1510
|
<tr>
|
@@ -1401,29 +1521,29 @@ executing instruction indication in a source file, etc..</p>
|
|
1401
1521
|
</table></div>
|
1402
1522
|
</div>
|
1403
1523
|
<div class="refsect3">
|
1404
|
-
<a name="
|
1524
|
+
<a name="gtk-source-buffer-create-source-mark.returns"></a><h4>Returns</h4>
|
1405
1525
|
<p> a new <a class="link" href="GtkSourceMark.html" title="GtkSourceMark"><span class="type">GtkSourceMark</span></a>, owned by the buffer. </p>
|
1406
1526
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
1407
1527
|
</div>
|
1408
|
-
<p class="since">Since 2.2</p>
|
1528
|
+
<p class="since">Since: <a class="link" href="api-index-2-2.html#api-index-2.2">2.2</a></p>
|
1409
1529
|
</div>
|
1410
1530
|
<hr>
|
1411
1531
|
<div class="refsect2">
|
1412
1532
|
<a name="gtk-source-buffer-forward-iter-to-source-mark"></a><h3>gtk_source_buffer_forward_iter_to_source_mark ()</h3>
|
1413
|
-
<pre class="programlisting"><a href="/
|
1533
|
+
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1414
1534
|
gtk_source_buffer_forward_iter_to_source_mark
|
1415
1535
|
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
1416
|
-
<em class="parameter"><code><a href="
|
1417
|
-
<em class="parameter"><code>const <a href="/
|
1536
|
+
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk3GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *iter</code></em>,
|
1537
|
+
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *category</code></em>);</pre>
|
1418
1538
|
<p>Moves <em class="parameter"><code>iter</code></em>
|
1419
1539
|
to the position of the next <a class="link" href="GtkSourceMark.html" title="GtkSourceMark"><span class="type">GtkSourceMark</span></a> of the given
|
1420
1540
|
<em class="parameter"><code>category</code></em>
|
1421
|
-
. Returns <a href="/
|
1541
|
+
. Returns <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>iter</code></em>
|
1422
1542
|
was moved. If <em class="parameter"><code>category</code></em>
|
1423
1543
|
is NULL, the
|
1424
1544
|
next source mark can be of any category.</p>
|
1425
1545
|
<div class="refsect3">
|
1426
|
-
<a name="
|
1546
|
+
<a name="gtk-source-buffer-forward-iter-to-source-mark.parameters"></a><h4>Parameters</h4>
|
1427
1547
|
<div class="informaltable"><table width="100%" border="0">
|
1428
1548
|
<colgroup>
|
1429
1549
|
<col width="150px" class="parameters_name">
|
@@ -1443,36 +1563,35 @@ next source mark can be of any category.</p>
|
|
1443
1563
|
</tr>
|
1444
1564
|
<tr>
|
1445
1565
|
<td class="parameter_name"><p>category</p></td>
|
1446
|
-
<td class="parameter_description"><p> category to search for, or <a href="/
|
1566
|
+
<td class="parameter_description"><p> category to search for, or <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1447
1567
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
1448
1568
|
</tr>
|
1449
1569
|
</tbody>
|
1450
1570
|
</table></div>
|
1451
1571
|
</div>
|
1452
1572
|
<div class="refsect3">
|
1453
|
-
<a name="
|
1573
|
+
<a name="gtk-source-buffer-forward-iter-to-source-mark.returns"></a><h4>Returns</h4>
|
1454
1574
|
<p> whether <em class="parameter"><code>iter</code></em>
|
1455
1575
|
was moved.</p>
|
1456
|
-
<p></p>
|
1457
1576
|
</div>
|
1458
|
-
<p class="since">Since 2.2</p>
|
1577
|
+
<p class="since">Since: <a class="link" href="api-index-2-2.html#api-index-2.2">2.2</a></p>
|
1459
1578
|
</div>
|
1460
1579
|
<hr>
|
1461
1580
|
<div class="refsect2">
|
1462
1581
|
<a name="gtk-source-buffer-backward-iter-to-source-mark"></a><h3>gtk_source_buffer_backward_iter_to_source_mark ()</h3>
|
1463
|
-
<pre class="programlisting"><a href="/
|
1582
|
+
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1464
1583
|
gtk_source_buffer_backward_iter_to_source_mark
|
1465
1584
|
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
1466
|
-
<em class="parameter"><code><a href="
|
1467
|
-
<em class="parameter"><code>const <a href="/
|
1585
|
+
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk3GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *iter</code></em>,
|
1586
|
+
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *category</code></em>);</pre>
|
1468
1587
|
<p>Moves <em class="parameter"><code>iter</code></em>
|
1469
1588
|
to the position of the previous <a class="link" href="GtkSourceMark.html" title="GtkSourceMark"><span class="type">GtkSourceMark</span></a> of the given
|
1470
|
-
category. Returns <a href="/
|
1589
|
+
category. Returns <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>iter</code></em>
|
1471
1590
|
was moved. If <em class="parameter"><code>category</code></em>
|
1472
1591
|
is NULL, the
|
1473
1592
|
previous source mark can be of any category.</p>
|
1474
1593
|
<div class="refsect3">
|
1475
|
-
<a name="
|
1594
|
+
<a name="gtk-source-buffer-backward-iter-to-source-mark.parameters"></a><h4>Parameters</h4>
|
1476
1595
|
<div class="informaltable"><table width="100%" border="0">
|
1477
1596
|
<colgroup>
|
1478
1597
|
<col width="150px" class="parameters_name">
|
@@ -1492,35 +1611,34 @@ previous source mark can be of any category.</p>
|
|
1492
1611
|
</tr>
|
1493
1612
|
<tr>
|
1494
1613
|
<td class="parameter_name"><p>category</p></td>
|
1495
|
-
<td class="parameter_description"><p> category to search for, or <a href="/
|
1614
|
+
<td class="parameter_description"><p> category to search for, or <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1496
1615
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
1497
1616
|
</tr>
|
1498
1617
|
</tbody>
|
1499
1618
|
</table></div>
|
1500
1619
|
</div>
|
1501
1620
|
<div class="refsect3">
|
1502
|
-
<a name="
|
1621
|
+
<a name="gtk-source-buffer-backward-iter-to-source-mark.returns"></a><h4>Returns</h4>
|
1503
1622
|
<p> whether <em class="parameter"><code>iter</code></em>
|
1504
1623
|
was moved.</p>
|
1505
|
-
<p></p>
|
1506
1624
|
</div>
|
1507
|
-
<p class="since">Since 2.2</p>
|
1625
|
+
<p class="since">Since: <a class="link" href="api-index-2-2.html#api-index-2.2">2.2</a></p>
|
1508
1626
|
</div>
|
1509
1627
|
<hr>
|
1510
1628
|
<div class="refsect2">
|
1511
1629
|
<a name="gtk-source-buffer-get-source-marks-at-line"></a><h3>gtk_source_buffer_get_source_marks_at_line ()</h3>
|
1512
|
-
<pre class="programlisting"><a href="/
|
1630
|
+
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glibglib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> *
|
1513
1631
|
gtk_source_buffer_get_source_marks_at_line
|
1514
1632
|
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
1515
|
-
<em class="parameter"><code><a href="/
|
1516
|
-
<em class="parameter"><code>const <a href="/
|
1633
|
+
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gint"><span class="type">gint</span></a> line</code></em>,
|
1634
|
+
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *category</code></em>);</pre>
|
1517
1635
|
<p>Returns the list of marks of the given category at <em class="parameter"><code>line</code></em>
|
1518
1636
|
.
|
1519
1637
|
If <em class="parameter"><code>category</code></em>
|
1520
|
-
is <a href="/
|
1638
|
+
is <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, all marks at <em class="parameter"><code>line</code></em>
|
1521
1639
|
are returned.</p>
|
1522
1640
|
<div class="refsect3">
|
1523
|
-
<a name="
|
1641
|
+
<a name="gtk-source-buffer-get-source-marks-at-line.parameters"></a><h4>Parameters</h4>
|
1524
1642
|
<div class="informaltable"><table width="100%" border="0">
|
1525
1643
|
<colgroup>
|
1526
1644
|
<col width="150px" class="parameters_name">
|
@@ -1540,34 +1658,34 @@ If <em class="parameter"><code>category</code></em>
|
|
1540
1658
|
</tr>
|
1541
1659
|
<tr>
|
1542
1660
|
<td class="parameter_name"><p>category</p></td>
|
1543
|
-
<td class="parameter_description"><p> category to search for, or <a href="/
|
1661
|
+
<td class="parameter_description"><p> category to search for, or <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1544
1662
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
1545
1663
|
</tr>
|
1546
1664
|
</tbody>
|
1547
1665
|
</table></div>
|
1548
1666
|
</div>
|
1549
1667
|
<div class="refsect3">
|
1550
|
-
<a name="
|
1551
|
-
<p>a newly allocated <a href="/
|
1668
|
+
<a name="gtk-source-buffer-get-source-marks-at-line.returns"></a><h4>Returns</h4>
|
1669
|
+
<p>a newly allocated <a href="/usr/share/gtk-doc/html/glibglib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a>. </p>
|
1552
1670
|
<p><span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GtkSource.Mark][<acronym title="Free data container after the code is done."><span class="acronym">transfer container</span></acronym>]</span></p>
|
1553
1671
|
</div>
|
1554
|
-
<p class="since">Since 2.2</p>
|
1672
|
+
<p class="since">Since: <a class="link" href="api-index-2-2.html#api-index-2.2">2.2</a></p>
|
1555
1673
|
</div>
|
1556
1674
|
<hr>
|
1557
1675
|
<div class="refsect2">
|
1558
1676
|
<a name="gtk-source-buffer-get-source-marks-at-iter"></a><h3>gtk_source_buffer_get_source_marks_at_iter ()</h3>
|
1559
|
-
<pre class="programlisting"><a href="/
|
1677
|
+
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glibglib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> *
|
1560
1678
|
gtk_source_buffer_get_source_marks_at_iter
|
1561
1679
|
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
1562
|
-
<em class="parameter"><code><a href="
|
1563
|
-
<em class="parameter"><code>const <a href="/
|
1680
|
+
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk3GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *iter</code></em>,
|
1681
|
+
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *category</code></em>);</pre>
|
1564
1682
|
<p>Returns the list of marks of the given category at <em class="parameter"><code>iter</code></em>
|
1565
1683
|
. If <em class="parameter"><code>category</code></em>
|
1566
1684
|
|
1567
|
-
is <a href="/
|
1685
|
+
is <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> it returns all marks at <em class="parameter"><code>iter</code></em>
|
1568
1686
|
.</p>
|
1569
1687
|
<div class="refsect3">
|
1570
|
-
<a name="
|
1688
|
+
<a name="gtk-source-buffer-get-source-marks-at-iter.parameters"></a><h4>Parameters</h4>
|
1571
1689
|
<div class="informaltable"><table width="100%" border="0">
|
1572
1690
|
<colgroup>
|
1573
1691
|
<col width="150px" class="parameters_name">
|
@@ -1587,27 +1705,27 @@ is <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/htm
|
|
1587
1705
|
</tr>
|
1588
1706
|
<tr>
|
1589
1707
|
<td class="parameter_name"><p>category</p></td>
|
1590
|
-
<td class="parameter_description"><p> category to search for, or <a href="/
|
1708
|
+
<td class="parameter_description"><p> category to search for, or <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1591
1709
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
1592
1710
|
</tr>
|
1593
1711
|
</tbody>
|
1594
1712
|
</table></div>
|
1595
1713
|
</div>
|
1596
1714
|
<div class="refsect3">
|
1597
|
-
<a name="
|
1598
|
-
<p>a newly allocated <a href="/
|
1715
|
+
<a name="gtk-source-buffer-get-source-marks-at-iter.returns"></a><h4>Returns</h4>
|
1716
|
+
<p>a newly allocated <a href="/usr/share/gtk-doc/html/glibglib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a>. </p>
|
1599
1717
|
<p><span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GtkSource.Mark][<acronym title="Free data container after the code is done."><span class="acronym">transfer container</span></acronym>]</span></p>
|
1600
1718
|
</div>
|
1601
|
-
<p class="since">Since 2.2</p>
|
1719
|
+
<p class="since">Since: <a class="link" href="api-index-2-2.html#api-index-2.2">2.2</a></p>
|
1602
1720
|
</div>
|
1603
1721
|
<hr>
|
1604
1722
|
<div class="refsect2">
|
1605
1723
|
<a name="gtk-source-buffer-remove-source-marks"></a><h3>gtk_source_buffer_remove_source_marks ()</h3>
|
1606
1724
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1607
1725
|
gtk_source_buffer_remove_source_marks (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
1608
|
-
<em class="parameter"><code>const <a href="
|
1609
|
-
<em class="parameter"><code>const <a href="
|
1610
|
-
<em class="parameter"><code>const <a href="/
|
1726
|
+
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/gtk3GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *start</code></em>,
|
1727
|
+
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/gtk3GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *end</code></em>,
|
1728
|
+
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *category</code></em>);</pre>
|
1611
1729
|
<p>Remove all marks of <em class="parameter"><code>category</code></em>
|
1612
1730
|
between <em class="parameter"><code>start</code></em>
|
1613
1731
|
and <em class="parameter"><code>end</code></em>
|
@@ -1615,7 +1733,7 @@ gtk_source_buffer_remove_source_marks (<em class="parameter"><code><a class="lin
|
|
1615
1733
|
If <em class="parameter"><code>category</code></em>
|
1616
1734
|
is NULL, all marks in the range will be removed.</p>
|
1617
1735
|
<div class="refsect3">
|
1618
|
-
<a name="
|
1736
|
+
<a name="gtk-source-buffer-remove-source-marks.parameters"></a><h4>Parameters</h4>
|
1619
1737
|
<div class="informaltable"><table width="100%" border="0">
|
1620
1738
|
<colgroup>
|
1621
1739
|
<col width="150px" class="parameters_name">
|
@@ -1630,23 +1748,23 @@ If <em class="parameter"><code>category</code></em>
|
|
1630
1748
|
</tr>
|
1631
1749
|
<tr>
|
1632
1750
|
<td class="parameter_name"><p>start</p></td>
|
1633
|
-
<td class="parameter_description"><p>a <a href="
|
1751
|
+
<td class="parameter_description"><p>a <a href="/usr/share/gtk-doc/html/gtk3GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a>.</p></td>
|
1634
1752
|
<td class="parameter_annotations"> </td>
|
1635
1753
|
</tr>
|
1636
1754
|
<tr>
|
1637
1755
|
<td class="parameter_name"><p>end</p></td>
|
1638
|
-
<td class="parameter_description"><p>a <a href="
|
1756
|
+
<td class="parameter_description"><p>a <a href="/usr/share/gtk-doc/html/gtk3GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a>.</p></td>
|
1639
1757
|
<td class="parameter_annotations"> </td>
|
1640
1758
|
</tr>
|
1641
1759
|
<tr>
|
1642
1760
|
<td class="parameter_name"><p>category</p></td>
|
1643
|
-
<td class="parameter_description"><p> category to search for, or <a href="/
|
1761
|
+
<td class="parameter_description"><p> category to search for, or <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1644
1762
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
1645
1763
|
</tr>
|
1646
1764
|
</tbody>
|
1647
1765
|
</table></div>
|
1648
1766
|
</div>
|
1649
|
-
<p class="since">Since 2.2</p>
|
1767
|
+
<p class="since">Since: <a class="link" href="api-index-2-2.html#api-index-2.2">2.2</a></p>
|
1650
1768
|
</div>
|
1651
1769
|
<hr>
|
1652
1770
|
<div class="refsect2">
|
@@ -1654,11 +1772,11 @@ If <em class="parameter"><code>category</code></em>
|
|
1654
1772
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1655
1773
|
gtk_source_buffer_change_case (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
1656
1774
|
<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html#GtkSourceChangeCaseType" title="enum GtkSourceChangeCaseType"><span class="type">GtkSourceChangeCaseType</span></a> case_type</code></em>,
|
1657
|
-
<em class="parameter"><code><a href="
|
1658
|
-
<em class="parameter"><code><a href="
|
1775
|
+
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk3GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *start</code></em>,
|
1776
|
+
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk3GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *end</code></em>);</pre>
|
1659
1777
|
<p>Changes the case of the text between the specified iterators.</p>
|
1660
1778
|
<div class="refsect3">
|
1661
|
-
<a name="
|
1779
|
+
<a name="gtk-source-buffer-change-case.parameters"></a><h4>Parameters</h4>
|
1662
1780
|
<div class="informaltable"><table width="100%" border="0">
|
1663
1781
|
<colgroup>
|
1664
1782
|
<col width="150px" class="parameters_name">
|
@@ -1678,29 +1796,29 @@ gtk_source_buffer_change_case (<em class="parameter"><code><a class="link" href=
|
|
1678
1796
|
</tr>
|
1679
1797
|
<tr>
|
1680
1798
|
<td class="parameter_name"><p>start</p></td>
|
1681
|
-
<td class="parameter_description"><p>a <a href="
|
1799
|
+
<td class="parameter_description"><p>a <a href="/usr/share/gtk-doc/html/gtk3GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a>.</p></td>
|
1682
1800
|
<td class="parameter_annotations"> </td>
|
1683
1801
|
</tr>
|
1684
1802
|
<tr>
|
1685
1803
|
<td class="parameter_name"><p>end</p></td>
|
1686
|
-
<td class="parameter_description"><p>a <a href="
|
1804
|
+
<td class="parameter_description"><p>a <a href="/usr/share/gtk-doc/html/gtk3GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a>.</p></td>
|
1687
1805
|
<td class="parameter_annotations"> </td>
|
1688
1806
|
</tr>
|
1689
1807
|
</tbody>
|
1690
1808
|
</table></div>
|
1691
1809
|
</div>
|
1692
|
-
<p class="since">Since 3.12</p>
|
1810
|
+
<p class="since">Since: <a class="link" href="api-index-3-12.html#api-index-3.12">3.12</a></p>
|
1693
1811
|
</div>
|
1694
1812
|
<hr>
|
1695
1813
|
<div class="refsect2">
|
1696
1814
|
<a name="gtk-source-buffer-join-lines"></a><h3>gtk_source_buffer_join_lines ()</h3>
|
1697
1815
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1698
1816
|
gtk_source_buffer_join_lines (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
1699
|
-
<em class="parameter"><code><a href="
|
1700
|
-
<em class="parameter"><code><a href="
|
1817
|
+
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk3GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *start</code></em>,
|
1818
|
+
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk3GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *end</code></em>);</pre>
|
1701
1819
|
<p>Joins the lines of text between the specified iterators.</p>
|
1702
1820
|
<div class="refsect3">
|
1703
|
-
<a name="
|
1821
|
+
<a name="gtk-source-buffer-join-lines.parameters"></a><h4>Parameters</h4>
|
1704
1822
|
<div class="informaltable"><table width="100%" border="0">
|
1705
1823
|
<colgroup>
|
1706
1824
|
<col width="150px" class="parameters_name">
|
@@ -1715,18 +1833,67 @@ gtk_source_buffer_join_lines (<em class="parameter"><code><a class="link" href="
|
|
1715
1833
|
</tr>
|
1716
1834
|
<tr>
|
1717
1835
|
<td class="parameter_name"><p>start</p></td>
|
1718
|
-
<td class="parameter_description"><p>a <a href="
|
1836
|
+
<td class="parameter_description"><p>a <a href="/usr/share/gtk-doc/html/gtk3GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a>.</p></td>
|
1719
1837
|
<td class="parameter_annotations"> </td>
|
1720
1838
|
</tr>
|
1721
1839
|
<tr>
|
1722
1840
|
<td class="parameter_name"><p>end</p></td>
|
1723
|
-
<td class="parameter_description"><p>a <a href="
|
1841
|
+
<td class="parameter_description"><p>a <a href="/usr/share/gtk-doc/html/gtk3GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a>.</p></td>
|
1724
1842
|
<td class="parameter_annotations"> </td>
|
1725
1843
|
</tr>
|
1726
1844
|
</tbody>
|
1727
1845
|
</table></div>
|
1728
1846
|
</div>
|
1729
|
-
<p class="since">Since 3.16</p>
|
1847
|
+
<p class="since">Since: <a class="link" href="api-index-3-16.html#api-index-3.16">3.16</a></p>
|
1848
|
+
</div>
|
1849
|
+
<hr>
|
1850
|
+
<div class="refsect2">
|
1851
|
+
<a name="gtk-source-buffer-sort-lines"></a><h3>gtk_source_buffer_sort_lines ()</h3>
|
1852
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1853
|
+
gtk_source_buffer_sort_lines (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
1854
|
+
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk3GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *start</code></em>,
|
1855
|
+
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk3GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *end</code></em>,
|
1856
|
+
<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html#GtkSourceSortFlags" title="enum GtkSourceSortFlags"><span class="type">GtkSourceSortFlags</span></a> flags</code></em>,
|
1857
|
+
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gint"><span class="type">gint</span></a> column</code></em>);</pre>
|
1858
|
+
<p>Sort the lines of text between the specified iterators.</p>
|
1859
|
+
<div class="refsect3">
|
1860
|
+
<a name="gtk-source-buffer-sort-lines.parameters"></a><h4>Parameters</h4>
|
1861
|
+
<div class="informaltable"><table width="100%" border="0">
|
1862
|
+
<colgroup>
|
1863
|
+
<col width="150px" class="parameters_name">
|
1864
|
+
<col class="parameters_description">
|
1865
|
+
<col width="200px" class="parameters_annotations">
|
1866
|
+
</colgroup>
|
1867
|
+
<tbody>
|
1868
|
+
<tr>
|
1869
|
+
<td class="parameter_name"><p>buffer</p></td>
|
1870
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</p></td>
|
1871
|
+
<td class="parameter_annotations"> </td>
|
1872
|
+
</tr>
|
1873
|
+
<tr>
|
1874
|
+
<td class="parameter_name"><p>start</p></td>
|
1875
|
+
<td class="parameter_description"><p>a <a href="/usr/share/gtk-doc/html/gtk3GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a>.</p></td>
|
1876
|
+
<td class="parameter_annotations"> </td>
|
1877
|
+
</tr>
|
1878
|
+
<tr>
|
1879
|
+
<td class="parameter_name"><p>end</p></td>
|
1880
|
+
<td class="parameter_description"><p>a <a href="/usr/share/gtk-doc/html/gtk3GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a>.</p></td>
|
1881
|
+
<td class="parameter_annotations"> </td>
|
1882
|
+
</tr>
|
1883
|
+
<tr>
|
1884
|
+
<td class="parameter_name"><p>flags</p></td>
|
1885
|
+
<td class="parameter_description"><p><a class="link" href="GtkSourceBuffer.html#GtkSourceSortFlags" title="enum GtkSourceSortFlags"><span class="type">GtkSourceSortFlags</span></a> specifying how the sort should behave</p></td>
|
1886
|
+
<td class="parameter_annotations"> </td>
|
1887
|
+
</tr>
|
1888
|
+
<tr>
|
1889
|
+
<td class="parameter_name"><p>column</p></td>
|
1890
|
+
<td class="parameter_description"><p>sort considering the text starting at the given column</p></td>
|
1891
|
+
<td class="parameter_annotations"> </td>
|
1892
|
+
</tr>
|
1893
|
+
</tbody>
|
1894
|
+
</table></div>
|
1895
|
+
</div>
|
1896
|
+
<p class="since">Since: <a class="link" href="api-index-3-18.html#api-index-3.18">3.18</a></p>
|
1730
1897
|
</div>
|
1731
1898
|
<hr>
|
1732
1899
|
<div class="refsect2">
|
@@ -1734,13 +1901,13 @@ gtk_source_buffer_join_lines (<em class="parameter"><code><a class="link" href="
|
|
1734
1901
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1735
1902
|
gtk_source_buffer_set_implicit_trailing_newline
|
1736
1903
|
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
1737
|
-
<em class="parameter"><code><a href="/
|
1904
|
+
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> implicit_trailing_newline</code></em>);</pre>
|
1738
1905
|
<p>Sets whether the <em class="parameter"><code>buffer</code></em>
|
1739
1906
|
has an implicit trailing newline.</p>
|
1740
|
-
<p>If an explicit trailing newline is present in a <a href="
|
1907
|
+
<p>If an explicit trailing newline is present in a <a href="/usr/share/gtk-doc/html/gtk3GtkTextBuffer.html#GtkTextBuffer-struct"><span class="type">GtkTextBuffer</span></a>, <a href="/usr/share/gtk-doc/html/gtk3GtkTextView.html#GtkTextView-struct"><span class="type">GtkTextView</span></a>
|
1741
1908
|
shows it as an empty line. This is generally not what the user expects.</p>
|
1742
1909
|
<p>If <em class="parameter"><code>implicit_trailing_newline</code></em>
|
1743
|
-
is <a href="/
|
1910
|
+
is <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> (the default value):</p>
|
1744
1911
|
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
|
1745
1912
|
<li class="listitem"><p>when a <a class="link" href="GtkSourceFileLoader.html" title="GtkSourceFileLoader"><span class="type">GtkSourceFileLoader</span></a> loads the content of a file into the <em class="parameter"><code>buffer</code></em>
|
1746
1913
|
,
|
@@ -1752,13 +1919,13 @@ the trailing newline (if present in the file) is not inserted into the
|
|
1752
1919
|
trailing newline is added to the file.</p></li>
|
1753
1920
|
</ul></div>
|
1754
1921
|
<p>On the other hand, if <em class="parameter"><code>implicit_trailing_newline</code></em>
|
1755
|
-
is <a href="/
|
1922
|
+
is <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>, the file's
|
1756
1923
|
content is not modified when loaded into the <em class="parameter"><code>buffer</code></em>
|
1757
1924
|
, and the <em class="parameter"><code>buffer</code></em>
|
1758
1925
|
's
|
1759
1926
|
content is not modified when saved into a file.</p>
|
1760
1927
|
<div class="refsect3">
|
1761
|
-
<a name="
|
1928
|
+
<a name="gtk-source-buffer-set-implicit-trailing-newline.parameters"></a><h4>Parameters</h4>
|
1762
1929
|
<div class="informaltable"><table width="100%" border="0">
|
1763
1930
|
<colgroup>
|
1764
1931
|
<col width="150px" class="parameters_name">
|
@@ -1779,16 +1946,16 @@ content is not modified when saved into a file.</p>
|
|
1779
1946
|
</tbody>
|
1780
1947
|
</table></div>
|
1781
1948
|
</div>
|
1782
|
-
<p class="since">Since 3.14</p>
|
1949
|
+
<p class="since">Since: <a class="link" href="api-index-3-14.html#api-index-3.14">3.14</a></p>
|
1783
1950
|
</div>
|
1784
1951
|
<hr>
|
1785
1952
|
<div class="refsect2">
|
1786
1953
|
<a name="gtk-source-buffer-get-implicit-trailing-newline"></a><h3>gtk_source_buffer_get_implicit_trailing_newline ()</h3>
|
1787
|
-
<pre class="programlisting"><a href="/
|
1954
|
+
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1788
1955
|
gtk_source_buffer_get_implicit_trailing_newline
|
1789
1956
|
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);</pre>
|
1790
1957
|
<div class="refsect3">
|
1791
|
-
<a name="
|
1958
|
+
<a name="gtk-source-buffer-get-implicit-trailing-newline.parameters"></a><h4>Parameters</h4>
|
1792
1959
|
<div class="informaltable"><table width="100%" border="0">
|
1793
1960
|
<colgroup>
|
1794
1961
|
<col width="150px" class="parameters_name">
|
@@ -1803,12 +1970,11 @@ gtk_source_buffer_get_implicit_trailing_newline
|
|
1803
1970
|
</table></div>
|
1804
1971
|
</div>
|
1805
1972
|
<div class="refsect3">
|
1806
|
-
<a name="
|
1973
|
+
<a name="gtk-source-buffer-get-implicit-trailing-newline.returns"></a><h4>Returns</h4>
|
1807
1974
|
<p> whether the <em class="parameter"><code>buffer</code></em>
|
1808
1975
|
has an implicit trailing newline.</p>
|
1809
|
-
<p></p>
|
1810
1976
|
</div>
|
1811
|
-
<p class="since">Since 3.14</p>
|
1977
|
+
<p class="since">Since: <a class="link" href="api-index-3-14.html#api-index-3.14">3.14</a></p>
|
1812
1978
|
</div>
|
1813
1979
|
</div>
|
1814
1980
|
<div class="refsect1">
|
@@ -1821,7 +1987,7 @@ has an implicit trailing newline.</p>
|
|
1821
1987
|
<div class="refsect2">
|
1822
1988
|
<a name="GtkSourceBracketMatchType"></a><h3>enum GtkSourceBracketMatchType</h3>
|
1823
1989
|
<div class="refsect3">
|
1824
|
-
<a name="
|
1990
|
+
<a name="GtkSourceBracketMatchType.members"></a><h4>Members</h4>
|
1825
1991
|
<div class="informaltable"><table width="100%" border="0">
|
1826
1992
|
<colgroup>
|
1827
1993
|
<col width="300px" class="enum_members_name">
|
@@ -1866,7 +2032,7 @@ has an implicit trailing newline.</p>
|
|
1866
2032
|
<div class="refsect2">
|
1867
2033
|
<a name="GtkSourceChangeCaseType"></a><h3>enum GtkSourceChangeCaseType</h3>
|
1868
2034
|
<div class="refsect3">
|
1869
|
-
<a name="
|
2035
|
+
<a name="GtkSourceChangeCaseType.members"></a><h4>Members</h4>
|
1870
2036
|
<div class="informaltable"><table width="100%" border="0">
|
1871
2037
|
<colgroup>
|
1872
2038
|
<col width="300px" class="enum_members_name">
|
@@ -1905,14 +2071,59 @@ has an implicit trailing newline.</p>
|
|
1905
2071
|
</tbody>
|
1906
2072
|
</table></div>
|
1907
2073
|
</div>
|
1908
|
-
<p class="since">Since 3.12</p>
|
2074
|
+
<p class="since">Since: <a class="link" href="api-index-3-12.html#api-index-3.12">3.12</a></p>
|
2075
|
+
</div>
|
2076
|
+
<hr>
|
2077
|
+
<div class="refsect2">
|
2078
|
+
<a name="GtkSourceSortFlags"></a><h3>enum GtkSourceSortFlags</h3>
|
2079
|
+
<div class="refsect3">
|
2080
|
+
<a name="GtkSourceSortFlags.members"></a><h4>Members</h4>
|
2081
|
+
<div class="informaltable"><table width="100%" border="0">
|
2082
|
+
<colgroup>
|
2083
|
+
<col width="300px" class="enum_members_name">
|
2084
|
+
<col class="enum_members_description">
|
2085
|
+
<col width="200px" class="enum_members_annotations">
|
2086
|
+
</colgroup>
|
2087
|
+
<tbody>
|
2088
|
+
<tr>
|
2089
|
+
<td class="enum_member_name"><p><a name="GTK-SOURCE-SORT-FLAGS-NONE:CAPS"></a>GTK_SOURCE_SORT_FLAGS_NONE</p></td>
|
2090
|
+
<td class="enum_member_description">
|
2091
|
+
<p>no flags specified</p>
|
2092
|
+
</td>
|
2093
|
+
<td class="enum_member_annotations"> </td>
|
2094
|
+
</tr>
|
2095
|
+
<tr>
|
2096
|
+
<td class="enum_member_name"><p><a name="GTK-SOURCE-SORT-FLAGS-CASE-SENSITIVE:CAPS"></a>GTK_SOURCE_SORT_FLAGS_CASE_SENSITIVE</p></td>
|
2097
|
+
<td class="enum_member_description">
|
2098
|
+
<p>case sensitive sort</p>
|
2099
|
+
</td>
|
2100
|
+
<td class="enum_member_annotations"> </td>
|
2101
|
+
</tr>
|
2102
|
+
<tr>
|
2103
|
+
<td class="enum_member_name"><p><a name="GTK-SOURCE-SORT-FLAGS-REVERSE-ORDER:CAPS"></a>GTK_SOURCE_SORT_FLAGS_REVERSE_ORDER</p></td>
|
2104
|
+
<td class="enum_member_description">
|
2105
|
+
<p>sort in reverse order</p>
|
2106
|
+
</td>
|
2107
|
+
<td class="enum_member_annotations"> </td>
|
2108
|
+
</tr>
|
2109
|
+
<tr>
|
2110
|
+
<td class="enum_member_name"><p><a name="GTK-SOURCE-SORT-FLAGS-REMOVE-DUPLICATES:CAPS"></a>GTK_SOURCE_SORT_FLAGS_REMOVE_DUPLICATES</p></td>
|
2111
|
+
<td class="enum_member_description">
|
2112
|
+
<p>remove duplicates</p>
|
2113
|
+
</td>
|
2114
|
+
<td class="enum_member_annotations"> </td>
|
2115
|
+
</tr>
|
2116
|
+
</tbody>
|
2117
|
+
</table></div>
|
2118
|
+
</div>
|
2119
|
+
<p class="since">Since: <a class="link" href="api-index-3-18.html#api-index-3.18">3.18</a></p>
|
1909
2120
|
</div>
|
1910
2121
|
</div>
|
1911
2122
|
<div class="refsect1">
|
1912
2123
|
<a name="GtkSourceBuffer.property-details"></a><h2>Property Details</h2>
|
1913
2124
|
<div class="refsect2">
|
1914
2125
|
<a name="GtkSourceBuffer--can-redo"></a><h3>The <code class="literal">“can-redo”</code> property</h3>
|
1915
|
-
<pre class="programlisting"> “can-redo” <a href="/
|
2126
|
+
<pre class="programlisting"> “can-redo” <a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
1916
2127
|
<p>Whether Redo operation is possible.</p>
|
1917
2128
|
<p>Flags: Read</p>
|
1918
2129
|
<p>Default value: FALSE</p>
|
@@ -1920,7 +2131,7 @@ has an implicit trailing newline.</p>
|
|
1920
2131
|
<hr>
|
1921
2132
|
<div class="refsect2">
|
1922
2133
|
<a name="GtkSourceBuffer--can-undo"></a><h3>The <code class="literal">“can-undo”</code> property</h3>
|
1923
|
-
<pre class="programlisting"> “can-undo” <a href="/
|
2134
|
+
<pre class="programlisting"> “can-undo” <a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
1924
2135
|
<p>Whether Undo operation is possible.</p>
|
1925
2136
|
<p>Flags: Read</p>
|
1926
2137
|
<p>Default value: FALSE</p>
|
@@ -1928,7 +2139,7 @@ has an implicit trailing newline.</p>
|
|
1928
2139
|
<hr>
|
1929
2140
|
<div class="refsect2">
|
1930
2141
|
<a name="GtkSourceBuffer--highlight-matching-brackets"></a><h3>The <code class="literal">“highlight-matching-brackets”</code> property</h3>
|
1931
|
-
<pre class="programlisting"> “highlight-matching-brackets” <a href="/
|
2142
|
+
<pre class="programlisting"> “highlight-matching-brackets” <a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
1932
2143
|
<p>Whether to highlight matching brackets in the buffer.</p>
|
1933
2144
|
<p>Flags: Read / Write</p>
|
1934
2145
|
<p>Default value: TRUE</p>
|
@@ -1936,7 +2147,7 @@ has an implicit trailing newline.</p>
|
|
1936
2147
|
<hr>
|
1937
2148
|
<div class="refsect2">
|
1938
2149
|
<a name="GtkSourceBuffer--highlight-syntax"></a><h3>The <code class="literal">“highlight-syntax”</code> property</h3>
|
1939
|
-
<pre class="programlisting"> “highlight-syntax” <a href="/
|
2150
|
+
<pre class="programlisting"> “highlight-syntax” <a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
1940
2151
|
<p>Whether to highlight syntax in the buffer.</p>
|
1941
2152
|
<p>Flags: Read / Write</p>
|
1942
2153
|
<p>Default value: TRUE</p>
|
@@ -1944,12 +2155,12 @@ has an implicit trailing newline.</p>
|
|
1944
2155
|
<hr>
|
1945
2156
|
<div class="refsect2">
|
1946
2157
|
<a name="GtkSourceBuffer--implicit-trailing-newline"></a><h3>The <code class="literal">“implicit-trailing-newline”</code> property</h3>
|
1947
|
-
<pre class="programlisting"> “implicit-trailing-newline” <a href="/
|
2158
|
+
<pre class="programlisting"> “implicit-trailing-newline” <a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
1948
2159
|
<p>Whether the buffer has an implicit trailing newline. See
|
1949
2160
|
<a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-set-implicit-trailing-newline" title="gtk_source_buffer_set_implicit_trailing_newline ()"><code class="function">gtk_source_buffer_set_implicit_trailing_newline()</code></a>.</p>
|
1950
2161
|
<p>Flags: Read / Write / Construct</p>
|
1951
2162
|
<p>Default value: TRUE</p>
|
1952
|
-
<p class="since">Since 3.14</p>
|
2163
|
+
<p class="since">Since: <a class="link" href="api-index-3-14.html#api-index-3.14">3.14</a></p>
|
1953
2164
|
</div>
|
1954
2165
|
<hr>
|
1955
2166
|
<div class="refsect2">
|
@@ -1961,7 +2172,7 @@ has an implicit trailing newline.</p>
|
|
1961
2172
|
<hr>
|
1962
2173
|
<div class="refsect2">
|
1963
2174
|
<a name="GtkSourceBuffer--max-undo-levels"></a><h3>The <code class="literal">“max-undo-levels”</code> property</h3>
|
1964
|
-
<pre class="programlisting"> “max-undo-levels” <a href="/
|
2175
|
+
<pre class="programlisting"> “max-undo-levels” <a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
|
1965
2176
|
<p>Number of undo levels for the buffer. -1 means no limit. This property
|
1966
2177
|
will only affect the default undo manager.</p>
|
1967
2178
|
<p>Flags: Read / Write</p>
|
@@ -1991,17 +2202,21 @@ brackets style.</p>
|
|
1991
2202
|
<a name="GtkSourceBuffer-bracket-matched"></a><h3>The <code class="literal">“bracket-matched”</code> signal</h3>
|
1992
2203
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1993
2204
|
user_function (<a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer,
|
1994
|
-
<a href="
|
2205
|
+
<a href="/usr/share/gtk-doc/html/gtk3GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *iter,
|
1995
2206
|
<a class="link" href="GtkSourceBuffer.html#GtkSourceBracketMatchType" title="enum GtkSourceBracketMatchType"><span class="type">GtkSourceBracketMatchType</span></a> state,
|
1996
|
-
<a href="/
|
1997
|
-
<p
|
1998
|
-
to a valid iterator pointing to the matching bracket
|
2207
|
+
<a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
2208
|
+
<p><em class="parameter"><code>iter</code></em>
|
2209
|
+
is set to a valid iterator pointing to the matching bracket
|
1999
2210
|
if <em class="parameter"><code>state</code></em>
|
2000
|
-
is <a class="link" href="GtkSourceBuffer.html#GTK-SOURCE-BRACKET-MATCH-FOUND:CAPS"><
|
2211
|
+
is <a class="link" href="GtkSourceBuffer.html#GTK-SOURCE-BRACKET-MATCH-FOUND:CAPS"><code class="literal">GTK_SOURCE_BRACKET_MATCH_FOUND</code></a>. Otherwise <em class="parameter"><code>iter</code></em>
|
2001
2212
|
is
|
2002
2213
|
meaningless.</p>
|
2214
|
+
<p>The signal is emitted only when the <em class="parameter"><code>state</code></em>
|
2215
|
+
changes, typically when
|
2216
|
+
the cursor moves.</p>
|
2217
|
+
<p>A use-case for this signal is to show messages in a <a href="/usr/share/gtk-doc/html/gtk3GtkStatusbar.html#GtkStatusbar-struct"><span class="type">GtkStatusbar</span></a>.</p>
|
2003
2218
|
<div class="refsect3">
|
2004
|
-
<a name="
|
2219
|
+
<a name="GtkSourceBuffer-bracket-matched.parameters"></a><h4>Parameters</h4>
|
2005
2220
|
<div class="informaltable"><table width="100%" border="0">
|
2006
2221
|
<colgroup>
|
2007
2222
|
<col width="150px" class="parameters_name">
|
@@ -2016,12 +2231,12 @@ meaningless.</p>
|
|
2016
2231
|
</tr>
|
2017
2232
|
<tr>
|
2018
2233
|
<td class="parameter_name"><p>iter</p></td>
|
2019
|
-
<td class="parameter_description"><p>
|
2234
|
+
<td class="parameter_description"><p>if found, the location of the matching bracket.</p></td>
|
2020
2235
|
<td class="parameter_annotations"> </td>
|
2021
2236
|
</tr>
|
2022
2237
|
<tr>
|
2023
2238
|
<td class="parameter_name"><p>state</p></td>
|
2024
|
-
<td class="parameter_description"><p>state of bracket matching
|
2239
|
+
<td class="parameter_description"><p>state of bracket matching.</p></td>
|
2025
2240
|
<td class="parameter_annotations"> </td>
|
2026
2241
|
</tr>
|
2027
2242
|
<tr>
|
@@ -2032,24 +2247,24 @@ meaningless.</p>
|
|
2032
2247
|
</tbody>
|
2033
2248
|
</table></div>
|
2034
2249
|
</div>
|
2035
|
-
<p>Flags: <a href="/
|
2036
|
-
<p class="since">Since 2.12</p>
|
2250
|
+
<p>Flags: <a href="/usr/share/gtk-doc/html/gobjectgobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
2251
|
+
<p class="since">Since: <a class="link" href="api-index-2-12.html#api-index-2.12">2.12</a></p>
|
2037
2252
|
</div>
|
2038
2253
|
<hr>
|
2039
2254
|
<div class="refsect2">
|
2040
2255
|
<a name="GtkSourceBuffer-highlight-updated"></a><h3>The <code class="literal">“highlight-updated”</code> signal</h3>
|
2041
2256
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
2042
2257
|
user_function (<a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer,
|
2043
|
-
<a href="
|
2044
|
-
<a href="
|
2045
|
-
<a href="/
|
2258
|
+
<a href="/usr/share/gtk-doc/html/gtk3GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *start,
|
2259
|
+
<a href="/usr/share/gtk-doc/html/gtk3GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *end,
|
2260
|
+
<a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
2046
2261
|
<p>The ::highlight-updated signal is emitted when the syntax
|
2047
2262
|
highlighting is updated in a certain region of the <em class="parameter"><code>buffer</code></em>
|
2048
2263
|
. This
|
2049
2264
|
signal is useful to be notified when a context class region is
|
2050
2265
|
updated (e.g. the no-spell-check context class).</p>
|
2051
2266
|
<div class="refsect3">
|
2052
|
-
<a name="
|
2267
|
+
<a name="GtkSourceBuffer-highlight-updated.parameters"></a><h4>Parameters</h4>
|
2053
2268
|
<div class="informaltable"><table width="100%" border="0">
|
2054
2269
|
<colgroup>
|
2055
2270
|
<col width="150px" class="parameters_name">
|
@@ -2080,17 +2295,17 @@ updated (e.g. the no-spell-check context class).</p>
|
|
2080
2295
|
</tbody>
|
2081
2296
|
</table></div>
|
2082
2297
|
</div>
|
2083
|
-
<p>Flags: <a href="/
|
2298
|
+
<p>Flags: <a href="/usr/share/gtk-doc/html/gobjectgobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
2084
2299
|
</div>
|
2085
2300
|
<hr>
|
2086
2301
|
<div class="refsect2">
|
2087
2302
|
<a name="GtkSourceBuffer-redo"></a><h3>The <code class="literal">“redo”</code> signal</h3>
|
2088
2303
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
2089
2304
|
user_function (<a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer,
|
2090
|
-
<a href="/
|
2305
|
+
<a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
2091
2306
|
<p>The ::redo signal is emitted to redo the last undo operation.</p>
|
2092
2307
|
<div class="refsect3">
|
2093
|
-
<a name="
|
2308
|
+
<a name="GtkSourceBuffer-redo.parameters"></a><h4>Parameters</h4>
|
2094
2309
|
<div class="informaltable"><table width="100%" border="0">
|
2095
2310
|
<colgroup>
|
2096
2311
|
<col width="150px" class="parameters_name">
|
@@ -2111,20 +2326,20 @@ user_function (<a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffe
|
|
2111
2326
|
</tbody>
|
2112
2327
|
</table></div>
|
2113
2328
|
</div>
|
2114
|
-
<p>Flags: <a href="/
|
2329
|
+
<p>Flags: <a href="/usr/share/gtk-doc/html/gobjectgobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
2115
2330
|
</div>
|
2116
2331
|
<hr>
|
2117
2332
|
<div class="refsect2">
|
2118
2333
|
<a name="GtkSourceBuffer-source-mark-updated"></a><h3>The <code class="literal">“source-mark-updated”</code> signal</h3>
|
2119
2334
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
2120
2335
|
user_function (<a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer,
|
2121
|
-
<a href="
|
2122
|
-
<a href="/
|
2336
|
+
<a href="/usr/share/gtk-doc/html/gtk3GtkTextMark.html#GtkTextMark-struct"><span class="type">GtkTextMark</span></a> *mark,
|
2337
|
+
<a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
2123
2338
|
<p>The ::source_mark_updated signal is emitted each time
|
2124
2339
|
a mark is added to, moved or removed from the <em class="parameter"><code>buffer</code></em>
|
2125
2340
|
.</p>
|
2126
2341
|
<div class="refsect3">
|
2127
|
-
<a name="
|
2342
|
+
<a name="GtkSourceBuffer-source-mark-updated.parameters"></a><h4>Parameters</h4>
|
2128
2343
|
<div class="informaltable"><table width="100%" border="0">
|
2129
2344
|
<colgroup>
|
2130
2345
|
<col width="150px" class="parameters_name">
|
@@ -2150,18 +2365,18 @@ a mark is added to, moved or removed from the <em class="parameter"><code>buffer
|
|
2150
2365
|
</tbody>
|
2151
2366
|
</table></div>
|
2152
2367
|
</div>
|
2153
|
-
<p>Flags: <a href="/
|
2368
|
+
<p>Flags: <a href="/usr/share/gtk-doc/html/gobjectgobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
2154
2369
|
</div>
|
2155
2370
|
<hr>
|
2156
2371
|
<div class="refsect2">
|
2157
2372
|
<a name="GtkSourceBuffer-undo"></a><h3>The <code class="literal">“undo”</code> signal</h3>
|
2158
2373
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
2159
2374
|
user_function (<a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer,
|
2160
|
-
<a href="/
|
2375
|
+
<a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
2161
2376
|
<p>The ::undo signal is emitted to undo the last user action which
|
2162
2377
|
modified the buffer.</p>
|
2163
2378
|
<div class="refsect3">
|
2164
|
-
<a name="
|
2379
|
+
<a name="GtkSourceBuffer-undo.parameters"></a><h4>Parameters</h4>
|
2165
2380
|
<div class="informaltable"><table width="100%" border="0">
|
2166
2381
|
<colgroup>
|
2167
2382
|
<col width="150px" class="parameters_name">
|
@@ -2182,16 +2397,15 @@ modified the buffer.</p>
|
|
2182
2397
|
</tbody>
|
2183
2398
|
</table></div>
|
2184
2399
|
</div>
|
2185
|
-
<p>Flags: <a href="/
|
2400
|
+
<p>Flags: <a href="/usr/share/gtk-doc/html/gobjectgobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
2186
2401
|
</div>
|
2187
2402
|
</div>
|
2188
2403
|
<div class="refsect1">
|
2189
2404
|
<a name="GtkSourceBuffer.see-also"></a><h2>See Also</h2>
|
2190
|
-
<p><a href="
|
2405
|
+
<p><a href="/usr/share/gtk-doc/html/gtk3GtkTextBuffer.html#GtkTextBuffer-struct"><span class="type">GtkTextBuffer</span></a>, <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a></p>
|
2191
2406
|
</div>
|
2192
2407
|
</div>
|
2193
2408
|
<div class="footer">
|
2194
|
-
<hr>
|
2195
|
-
Generated by GTK-Doc V1.21.1</div>
|
2409
|
+
<hr>Generated by GTK-Doc V1.25.1</div>
|
2196
2410
|
</body>
|
2197
2411
|
</html>
|