gtksourceview3 1.2.0-x86-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README +29 -0
- data/Rakefile +29 -0
- data/ext/gtksourceview3/depend +6 -0
- data/ext/gtksourceview3/extconf.rb +76 -0
- data/ext/gtksourceview3/gtksourceview3.def +2 -0
- data/ext/gtksourceview3/rbgtksource.c +53 -0
- data/ext/gtksourceview3/rbgtksourcebuffer.c +318 -0
- data/ext/gtksourceview3/rbgtksourcegutter.c +82 -0
- data/ext/gtksourceview3/rbgtksourcegutterrenderer.c +143 -0
- data/ext/gtksourceview3/rbgtksourcegutterrendererpixbuf.c +42 -0
- data/ext/gtksourceview3/rbgtksourcegutterrenderertext.c +64 -0
- data/ext/gtksourceview3/rbgtksourcelanguage.c +124 -0
- data/ext/gtksourceview3/rbgtksourcelanguagemanager.c +114 -0
- data/ext/gtksourceview3/rbgtksourcemark.c +85 -0
- data/ext/gtksourceview3/rbgtksourcemarkattributes.c +77 -0
- data/ext/gtksourceview3/rbgtksourceprintcompositor.c +171 -0
- data/ext/gtksourceview3/rbgtksourcestyle.c +42 -0
- data/ext/gtksourceview3/rbgtksourcestylescheme.c +72 -0
- data/ext/gtksourceview3/rbgtksourcestyleschememanager.c +140 -0
- data/ext/gtksourceview3/rbgtksourceundomanager.c +83 -0
- data/ext/gtksourceview3/rbgtksourceview.c +94 -0
- data/ext/gtksourceview3/rbgtksourceview3conversions.h +43 -0
- data/ext/gtksourceview3/rbgtksourceview3private.h +54 -0
- data/extconf.rb +49 -0
- data/lib/1.8/gtksourceview3.so +0 -0
- data/lib/1.9/gtksourceview3.so +0 -0
- data/lib/gtksourceview3.rb +20 -0
- data/lib/gtksourceview3/deprecated.rb +47 -0
- data/sample/sourcelanguagemanager.rb +21 -0
- data/sample/test.rb +32 -0
- data/test/run-test.rb +33 -0
- data/test/test_source_view.rb +17 -0
- data/vendor/local/bin/libgtksourceview-3.0-0.dll +0 -0
- data/vendor/local/bin/libxml2-2.dll +0 -0
- data/vendor/local/bin/xmlcatalog.exe +0 -0
- data/vendor/local/bin/xmllint.exe +0 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/completion-providers/words/gtksourcecompletionwords.h +66 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksource.h +46 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcebuffer.h +199 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletion.h +129 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletioncontext.h +94 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletioninfo.h +73 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletionitem.h +71 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletionproposal.h +76 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletionprovider.h +118 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutter.h +90 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutterrenderer.h +222 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutterrendererpixbuf.h +85 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutterrenderertext.h +83 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcelanguage.h +87 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcelanguagemanager.h +85 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcemark.h +71 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcemarkattributes.h +99 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceprintcompositor.h +176 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyle.h +41 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestylescheme.h +93 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyleschememanager.h +89 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcetypes.h +62 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceundomanager.h +77 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceview-typebuiltins.h +55 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceview.h +223 -0
- data/vendor/local/include/libxml2/libxml/DOCBparser.h +96 -0
- data/vendor/local/include/libxml2/libxml/HTMLparser.h +306 -0
- data/vendor/local/include/libxml2/libxml/HTMLtree.h +147 -0
- data/vendor/local/include/libxml2/libxml/SAX.h +173 -0
- data/vendor/local/include/libxml2/libxml/SAX2.h +176 -0
- data/vendor/local/include/libxml2/libxml/c14n.h +126 -0
- data/vendor/local/include/libxml2/libxml/catalog.h +182 -0
- data/vendor/local/include/libxml2/libxml/chvalid.h +230 -0
- data/vendor/local/include/libxml2/libxml/debugXML.h +217 -0
- data/vendor/local/include/libxml2/libxml/dict.h +80 -0
- data/vendor/local/include/libxml2/libxml/encoding.h +240 -0
- data/vendor/local/include/libxml2/libxml/entities.h +150 -0
- data/vendor/local/include/libxml2/libxml/globals.h +502 -0
- data/vendor/local/include/libxml2/libxml/hash.h +233 -0
- data/vendor/local/include/libxml2/libxml/list.h +137 -0
- data/vendor/local/include/libxml2/libxml/nanoftp.h +163 -0
- data/vendor/local/include/libxml2/libxml/nanohttp.h +81 -0
- data/vendor/local/include/libxml2/libxml/parser.h +1240 -0
- data/vendor/local/include/libxml2/libxml/parserInternals.h +644 -0
- data/vendor/local/include/libxml2/libxml/pattern.h +100 -0
- data/vendor/local/include/libxml2/libxml/relaxng.h +213 -0
- data/vendor/local/include/libxml2/libxml/schemasInternals.h +958 -0
- data/vendor/local/include/libxml2/libxml/schematron.h +142 -0
- data/vendor/local/include/libxml2/libxml/threads.h +84 -0
- data/vendor/local/include/libxml2/libxml/tree.h +1303 -0
- data/vendor/local/include/libxml2/libxml/uri.h +94 -0
- data/vendor/local/include/libxml2/libxml/valid.h +458 -0
- data/vendor/local/include/libxml2/libxml/xinclude.h +129 -0
- data/vendor/local/include/libxml2/libxml/xlink.h +189 -0
- data/vendor/local/include/libxml2/libxml/xmlIO.h +366 -0
- data/vendor/local/include/libxml2/libxml/xmlautomata.h +146 -0
- data/vendor/local/include/libxml2/libxml/xmlerror.h +944 -0
- data/vendor/local/include/libxml2/libxml/xmlexports.h +162 -0
- data/vendor/local/include/libxml2/libxml/xmlmemory.h +224 -0
- data/vendor/local/include/libxml2/libxml/xmlmodule.h +57 -0
- data/vendor/local/include/libxml2/libxml/xmlreader.h +428 -0
- data/vendor/local/include/libxml2/libxml/xmlregexp.h +222 -0
- data/vendor/local/include/libxml2/libxml/xmlsave.h +88 -0
- data/vendor/local/include/libxml2/libxml/xmlschemas.h +246 -0
- data/vendor/local/include/libxml2/libxml/xmlschemastypes.h +151 -0
- data/vendor/local/include/libxml2/libxml/xmlstring.h +140 -0
- data/vendor/local/include/libxml2/libxml/xmlunicode.h +202 -0
- data/vendor/local/include/libxml2/libxml/xmlversion.h +480 -0
- data/vendor/local/include/libxml2/libxml/xmlwriter.h +488 -0
- data/vendor/local/include/libxml2/libxml/xpath.h +550 -0
- data/vendor/local/include/libxml2/libxml/xpathInternals.h +632 -0
- data/vendor/local/include/libxml2/libxml/xpointer.h +114 -0
- data/vendor/local/lib/libgtksourceview-3.0.dll.a +0 -0
- data/vendor/local/lib/libgtksourceview-3.0.la +41 -0
- data/vendor/local/lib/libxml2.def +1659 -0
- data/vendor/local/lib/libxml2.dll.a +0 -0
- data/vendor/local/lib/libxml2.lib +0 -0
- 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/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/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/lib/pkgconfig/gtksourceview-3.0.pc +12 -0
- data/vendor/local/lib/pkgconfig/libxml-2.0.pc +13 -0
- data/vendor/local/manifest/libxml2-dev_2.9.0-1_win32.mft +268 -0
- data/vendor/local/manifest/libxml2_2.9.0-1_win32.mft +2 -0
- data/vendor/local/share/aclocal/libxml.m4 +188 -0
- data/vendor/local/share/doc/libxml2-2.9.0/Copyright +27 -0
- data/vendor/local/share/doc/libxml2-2.9.0/examples/testHTML.c +880 -0
- data/vendor/local/share/doc/libxml2-2.9.0/examples/testSAX.c +1198 -0
- data/vendor/local/share/doc/libxml2-2.9.0/examples/testXPath.c +229 -0
- data/vendor/local/share/doc/libxml2-2.9.0/examples/xmllint.c +3770 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/DOM.gif +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/FAQ.html +282 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/Libxml2-Logo-180x168.gif +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/Libxml2-Logo-90x34.gif +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/encoding.html +207 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/examples.xml +751 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/examples.xsl +174 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/book1.html +13 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/home.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/index.html +13 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/left.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-DOCBparser.html +51 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-HTMLparser.html +184 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-HTMLtree.html +73 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-SAX.html +125 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-SAX2.html +128 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-c14n.html +38 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-catalog.html +142 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-chvalid.html +72 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-debugXML.html +120 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-dict.html +58 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-encoding.html +124 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-entities.html +79 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-globals.html +152 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-hash.html +116 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-lib.html +13 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-list.html +120 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-nanoftp.html +94 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-nanohttp.html +65 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-parser.html +559 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-parserInternals.html +322 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-pattern.html +76 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-relaxng.html +162 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-schemasInternals.html +373 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-schematron.html +81 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-threads.html +72 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-tree.html +989 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-uri.html +73 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-valid.html +289 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xinclude.html +59 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xlink.html +82 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlIO.html +212 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlautomata.html +85 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlerror.html +864 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlexports.html +20 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlmemory.html +107 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlmodule.html +38 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlreader.html +330 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlregexp.html +143 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlsave.html +60 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlschemas.html +185 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlschemastypes.html +123 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlstring.html +108 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlunicode.html +512 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlversion.html +62 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlwriter.html +261 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xpath.html +310 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xpathInternals.html +394 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xpointer.html +83 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/right.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/up.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/index.html +14 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/io1.c +166 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/io1.res +5 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/io2.c +58 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/io2.res +2 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/libxml.gif +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/parse1.c +56 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/parse2.c +72 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/parse3.c +60 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/parse4.c +143 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/reader1.c +107 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/reader1.res +14 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/reader2.c +122 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/reader3.c +120 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/reader3.res +13 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/reader4.c +122 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/reader4.res +3 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/redhat.gif +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/smallfootonly.gif +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/structure.gif +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/test1.xml +1 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/test2.xml +13 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/test3.xml +39 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/testWriter.c +1198 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tree1.c +94 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tree1.res +4 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tree2.c +118 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tree2.res +18 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tst.xml +7 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/apa.html +8 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/apb.html +14 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/apc.html +82 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/apd.html +76 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ape.html +78 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/apf.html +67 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/apg.html +75 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/aph.html +76 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/api.html +4 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s02.html +14 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s03.html +47 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s04.html +54 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s05.html +55 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s06.html +35 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s07.html +30 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s08.html +38 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s09.html +63 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/blank.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/1.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/10.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/2.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/3.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/4.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/5.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/6.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/7.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/8.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/9.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/caution.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/draft.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/home.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/important.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/next.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/note.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/prev.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/tip.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/toc-blank.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/toc-minus.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/toc-plus.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/up.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/warning.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/includeaddattribute.c +64 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/includeaddkeyword.c +75 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/includeconvert.c +73 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/includegetattribute.c +72 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/includekeyword.c +79 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/includexpath.c +74 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/index.html +14 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ix01.html +1 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/xmltutorial.pdf +1336 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/w3c.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/writer.xml +2 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/xml.html +5715 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/xpath1.c +250 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/xpath1.res +5 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/xpath2.c +190 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/xpath2.res +30 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceBuffer.html +1346 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletion.html +756 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionContext.html +300 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionInfo.html +243 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionItem.html +282 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProposal.html +364 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProvider.html +474 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutter.html +288 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguage.html +425 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguageManager.html +414 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMark.html +250 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMarkAttributes.html +699 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourcePrintCompositor.html +1822 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyle.html +228 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleScheme.html +296 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeManager.html +357 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceUndoManager.html +346 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceView.html +1462 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/annotation-glossary.html +80 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-0.html +46 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-deprecated.html +31 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-full.html +1538 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-GtkSourceGutterRenderer.html +956 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-GtkSourceGutterRendererPixbuf.html +199 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-GtkSourceGutterRendererText.html +137 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0.devhelp2 +445 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/index.html +117 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/index.sgml +578 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-reference.html +771 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-tutorial.html +651 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/rn01.html +101 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/rn02.html +53 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/style-reference.html +252 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/style.css +266 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/libxml2/general.html +38 -0
- data/vendor/local/share/gtk-doc/html/libxml2/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/libxml2/index.html +67 -0
- data/vendor/local/share/gtk-doc/html/libxml2/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-DOCBparser.html +138 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-HTMLparser.html +373 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-HTMLtree.html +172 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-SAX.html +243 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-SAX2.html +247 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-c14n.html +91 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-catalog.html +278 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-chvalid.html +241 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-debugXML.html +225 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-dict.html +134 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-encoding.html +218 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-entities.html +166 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-globals.html +383 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-hash.html +214 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-list.html +226 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-nanoftp.html +187 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-nanohttp.html +142 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-parser.html +766 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-parserInternals.html +688 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-pattern.html +166 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-relaxng.html +278 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-schemasInternals.html +860 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-schematron.html +166 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-threads.html +161 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-tree.html +1596 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-uri.html +154 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-valid.html +528 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xinclude.html +169 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xlink.html +160 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlIO.html +347 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlautomata.html +176 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlerror.html +952 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlexports.html +87 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlmemory.html +186 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlmodule.html +97 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlreader.html +565 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlregexp.html +280 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlsave.html +133 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlschemas.html +314 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlschemastypes.html +237 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlstring.html +217 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlunicode.html +887 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlversion.html +287 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlwriter.html +479 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xpath.html +532 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xpathInternals.html +787 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xpointer.html +171 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2.devhelp +3569 -0
- data/vendor/local/share/gtk-doc/html/libxml2/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/libxml2/style.css +66 -0
- data/vendor/local/share/gtk-doc/html/libxml2/up.png +0 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/R.lang +130 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/actionscript.lang +268 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/ada.lang +221 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/asp.lang +1097 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/automake.lang +329 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/awk.lang +138 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/bennugd.lang +267 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/bibtex.lang +93 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/boo.lang +257 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/c.lang +332 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/cg.lang +232 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/changelog.lang +92 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/chdr.lang +43 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/check-language.sh +32 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/cmake.lang +408 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/cobol.lang +456 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/cpp.lang +114 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/csharp.lang +282 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/css.lang +537 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/cuda.lang +292 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/d.lang +296 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/def.lang +252 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/desktop.lang +300 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/diff.lang +85 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/docbook.lang +476 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/dosbatch.lang +167 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/dot.lang +140 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/dpatch.lang +48 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/dtd.lang +140 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/eiffel.lang +239 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/erlang.lang +258 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/fcl.lang +115 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/forth.lang +235 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/fortran.lang +512 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/fsharp.lang +325 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/gap.lang +85 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/gdb-log.lang +152 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/glsl.lang +483 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/go.lang +275 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/gtk-doc.lang +91 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/gtkrc.lang +116 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/haddock.lang +162 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/haskell-literate.lang +59 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/haskell.lang +228 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/html.lang +180 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/idl.lang +154 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/imagej.lang +784 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/ini.lang +95 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/j.lang +240 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/java.lang +190 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/javascript.lang +338 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/json.lang +123 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/language.dtd +73 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/language.rng +373 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/language2.rng +482 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/latex.lang +300 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/libtool.lang +56 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/lua.lang +157 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/m4.lang +1375 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/makefile.lang +193 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/mallard.lang +124 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/markdown.lang +402 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/matlab.lang +171 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/mxml.lang +65 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/nemerle.lang +263 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/netrexx.lang +319 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/nsis.lang +88 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/objc.lang +120 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/objj.lang +128 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/ocaml.lang +302 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/ocl.lang +139 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/octave.lang +859 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/ooc.lang +265 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/opal.lang +343 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/opencl.lang +600 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/pascal.lang +268 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/perl.lang +1028 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/php.lang +361 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/pkgconfig.lang +62 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/po.lang +94 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/prolog.lang +249 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/protobuf.lang +103 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/puppet.lang +697 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/python.lang +413 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/python3.lang +192 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/rpmspec.lang +210 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/ruby.lang +591 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/scheme.lang +302 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/scilab.lang +209 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/sh.lang +499 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/sml.lang +201 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/sparql.lang +448 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/sql.lang +618 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/systemverilog.lang +263 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/t2t.lang +150 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/tcl.lang +146 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/texinfo.lang +448 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/vala.lang +365 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/vbnet.lang +245 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/verilog.lang +464 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/vhdl.lang +248 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/xml.lang +220 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/xslt.lang +108 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/yacc.lang +177 -0
- data/vendor/local/share/gtksourceview-3.0/styles/check-style.sh +20 -0
- data/vendor/local/share/gtksourceview-3.0/styles/classic.xml +107 -0
- data/vendor/local/share/gtksourceview-3.0/styles/cobalt.xml +135 -0
- data/vendor/local/share/gtksourceview-3.0/styles/kate.xml +161 -0
- data/vendor/local/share/gtksourceview-3.0/styles/oblivion.xml +117 -0
- data/vendor/local/share/gtksourceview-3.0/styles/styles.rng +139 -0
- data/vendor/local/share/gtksourceview-3.0/styles/tango.xml +117 -0
- data/vendor/local/share/license/gtksourceview/AUTHORS +12 -0
- data/vendor/local/share/license/gtksourceview/COPYING +340 -0
- data/vendor/local/share/man/man1/xml2-config.1 +30 -0
- data/vendor/local/share/man/man1/xmlcatalog.1 +340 -0
- data/vendor/local/share/man/man1/xmllint.1 +427 -0
- data/vendor/local/share/man/man3/libxml.3 +71 -0
- data/vendor/local/src/dieterv/packaging/libxml2_2.9.0-1_win32.log +867 -0
- data/vendor/local/src/dieterv/packaging/libxml2_2.9.0-1_win32.sh +68 -0
- metadata +642 -0
@@ -0,0 +1,1346 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
+
<title>GtkSourceBuffer</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.77.1">
|
7
|
+
<link rel="home" href="index.html" title="GtkSourceView 3 Reference Manual">
|
8
|
+
<link rel="up" href="rn01.html" title="API reference">
|
9
|
+
<link rel="prev" href="rn01.html" title="API reference">
|
10
|
+
<link rel="next" href="GtkSourceCompletion.html" title="GtkSourceCompletion">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.18.1 (XML mode)">
|
12
|
+
<link rel="stylesheet" href="style.css" type="text/css">
|
13
|
+
</head>
|
14
|
+
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
|
16
|
+
<tr valign="middle">
|
17
|
+
<td><a accesskey="p" href="rn01.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
18
|
+
<td><a accesskey="u" href="rn01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
|
19
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
20
|
+
<th width="100%" align="center">GtkSourceView 3 Reference Manual</th>
|
21
|
+
<td><a accesskey="n" href="GtkSourceCompletion.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
22
|
+
</tr>
|
23
|
+
<tr><td colspan="5" class="shortcuts">
|
24
|
+
<a href="#GtkSourceBuffer.synopsis" class="shortcut">Top</a>
|
25
|
+
|
|
26
|
+
<a href="#GtkSourceBuffer.description" class="shortcut">Description</a>
|
27
|
+
|
|
28
|
+
<a href="#GtkSourceBuffer.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
29
|
+
|
|
30
|
+
<a href="#GtkSourceBuffer.properties" class="shortcut">Properties</a>
|
31
|
+
|
|
32
|
+
<a href="#GtkSourceBuffer.signals" class="shortcut">Signals</a>
|
33
|
+
</td></tr>
|
34
|
+
</table>
|
35
|
+
<div class="refentry">
|
36
|
+
<a name="GtkSourceBuffer"></a><div class="titlepage"></div>
|
37
|
+
<div class="refnamediv"><table width="100%"><tr>
|
38
|
+
<td valign="top">
|
39
|
+
<h2><span class="refentrytitle"><a name="GtkSourceBuffer.top_of_page"></a>GtkSourceBuffer</span></h2>
|
40
|
+
<p>GtkSourceBuffer — Buffer object for <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a></p>
|
41
|
+
</td>
|
42
|
+
<td valign="top" align="right"></td>
|
43
|
+
</tr></table></div>
|
44
|
+
<div class="refsynopsisdiv">
|
45
|
+
<a name="GtkSourceBuffer.synopsis"></a><h2>Synopsis</h2>
|
46
|
+
<pre class="synopsis">
|
47
|
+
#include <gtksourceview/gtksourcebuffer.h>
|
48
|
+
|
49
|
+
<a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer-struct" title="GtkSourceBuffer">GtkSourceBuffer</a>;
|
50
|
+
<a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="returnvalue">GtkSourceBuffer</span></a> * <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-new" title="gtk_source_buffer_new ()">gtk_source_buffer_new</a> (<em class="parameter"><code><span class="type">GtkTextTagTable</span> *table</code></em>);
|
51
|
+
<a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="returnvalue">GtkSourceBuffer</span></a> * <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-new-with-language" title="gtk_source_buffer_new_with_language ()">gtk_source_buffer_new_with_language</a> (<em class="parameter"><code><a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a> *language</code></em>);
|
52
|
+
<span class="returnvalue">void</span> <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-set-highlight-syntax" title="gtk_source_buffer_set_highlight_syntax ()">gtk_source_buffer_set_highlight_syntax</a>
|
53
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
54
|
+
<em class="parameter"><code><span class="type">gboolean</span> highlight</code></em>);
|
55
|
+
<span class="returnvalue">gboolean</span> <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>
|
56
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);
|
57
|
+
<span class="returnvalue">void</span> <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-set-language" title="gtk_source_buffer_set_language ()">gtk_source_buffer_set_language</a> (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
58
|
+
<em class="parameter"><code><a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a> *language</code></em>);
|
59
|
+
<a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="returnvalue">GtkSourceLanguage</span></a> * <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-get-language" title="gtk_source_buffer_get_language ()">gtk_source_buffer_get_language</a> (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);
|
60
|
+
<span class="returnvalue">void</span> <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-set-highlight-matching-brackets" title="gtk_source_buffer_set_highlight_matching_brackets ()">gtk_source_buffer_set_highlight_matching_brackets</a>
|
61
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
62
|
+
<em class="parameter"><code><span class="type">gboolean</span> highlight</code></em>);
|
63
|
+
<span class="returnvalue">gboolean</span> <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>
|
64
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);
|
65
|
+
<span class="returnvalue">void</span> <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-set-style-scheme" title="gtk_source_buffer_set_style_scheme ()">gtk_source_buffer_set_style_scheme</a> (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
66
|
+
<em class="parameter"><code><a class="link" href="GtkSourceStyleScheme.html" title="GtkSourceStyleScheme"><span class="type">GtkSourceStyleScheme</span></a> *scheme</code></em>);
|
67
|
+
<a class="link" href="GtkSourceStyleScheme.html" title="GtkSourceStyleScheme"><span class="returnvalue">GtkSourceStyleScheme</span></a> * <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-get-style-scheme" title="gtk_source_buffer_get_style_scheme ()">gtk_source_buffer_get_style_scheme</a>
|
68
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);
|
69
|
+
<span class="returnvalue">gint</span> <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>
|
70
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);
|
71
|
+
<span class="returnvalue">void</span> <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-set-max-undo-levels" title="gtk_source_buffer_set_max_undo_levels ()">gtk_source_buffer_set_max_undo_levels</a>
|
72
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
73
|
+
<em class="parameter"><code><span class="type">gint</span> max_undo_levels</code></em>);
|
74
|
+
<span class="returnvalue">void</span> <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-redo" title="gtk_source_buffer_redo ()">gtk_source_buffer_redo</a> (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);
|
75
|
+
<span class="returnvalue">void</span> <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-undo" title="gtk_source_buffer_undo ()">gtk_source_buffer_undo</a> (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);
|
76
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-can-redo" title="gtk_source_buffer_can_redo ()">gtk_source_buffer_can_redo</a> (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);
|
77
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-can-undo" title="gtk_source_buffer_can_undo ()">gtk_source_buffer_can_undo</a> (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);
|
78
|
+
<span class="returnvalue">void</span> <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-begin-not-undoable-action" title="gtk_source_buffer_begin_not_undoable_action ()">gtk_source_buffer_begin_not_undoable_action</a>
|
79
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);
|
80
|
+
<span class="returnvalue">void</span> <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-end-not-undoable-action" title="gtk_source_buffer_end_not_undoable_action ()">gtk_source_buffer_end_not_undoable_action</a>
|
81
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);
|
82
|
+
<span class="returnvalue">void</span> <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-ensure-highlight" title="gtk_source_buffer_ensure_highlight ()">gtk_source_buffer_ensure_highlight</a> (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
83
|
+
<em class="parameter"><code>const <span class="type">GtkTextIter</span> *start</code></em>,
|
84
|
+
<em class="parameter"><code>const <span class="type">GtkTextIter</span> *end</code></em>);
|
85
|
+
<a class="link" href="GtkSourceMark.html" title="GtkSourceMark"><span class="returnvalue">GtkSourceMark</span></a> * <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-create-source-mark" title="gtk_source_buffer_create_source_mark ()">gtk_source_buffer_create_source_mark</a>
|
86
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
87
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
|
88
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *category</code></em>,
|
89
|
+
<em class="parameter"><code>const <span class="type">GtkTextIter</span> *where</code></em>);
|
90
|
+
<span class="returnvalue">gboolean</span> <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>
|
91
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
92
|
+
<em class="parameter"><code><span class="type">GtkTextIter</span> *iter</code></em>,
|
93
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *category</code></em>);
|
94
|
+
<span class="returnvalue">gboolean</span> <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>
|
95
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
96
|
+
<em class="parameter"><code><span class="type">GtkTextIter</span> *iter</code></em>,
|
97
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *category</code></em>);
|
98
|
+
<span class="returnvalue">GSList</span> * <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>
|
99
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
100
|
+
<em class="parameter"><code><span class="type">gint</span> line</code></em>,
|
101
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *category</code></em>);
|
102
|
+
<span class="returnvalue">GSList</span> * <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>
|
103
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
104
|
+
<em class="parameter"><code><span class="type">GtkTextIter</span> *iter</code></em>,
|
105
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *category</code></em>);
|
106
|
+
<span class="returnvalue">void</span> <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-remove-source-marks" title="gtk_source_buffer_remove_source_marks ()">gtk_source_buffer_remove_source_marks</a>
|
107
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
108
|
+
<em class="parameter"><code>const <span class="type">GtkTextIter</span> *start</code></em>,
|
109
|
+
<em class="parameter"><code>const <span class="type">GtkTextIter</span> *end</code></em>,
|
110
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *category</code></em>);
|
111
|
+
<span class="returnvalue">gboolean</span> <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>
|
112
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
113
|
+
<em class="parameter"><code>const <span class="type">GtkTextIter</span> *iter</code></em>,
|
114
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *context_class</code></em>);
|
115
|
+
<span class="returnvalue">gchar</span> ** <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>
|
116
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
117
|
+
<em class="parameter"><code>const <span class="type">GtkTextIter</span> *iter</code></em>);
|
118
|
+
<span class="returnvalue">gboolean</span> <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>
|
119
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
120
|
+
<em class="parameter"><code><span class="type">GtkTextIter</span> *iter</code></em>,
|
121
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *context_class</code></em>);
|
122
|
+
<span class="returnvalue">gboolean</span> <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>
|
123
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
124
|
+
<em class="parameter"><code><span class="type">GtkTextIter</span> *iter</code></em>,
|
125
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *context_class</code></em>);
|
126
|
+
<a class="link" href="GtkSourceUndoManager.html" title="GtkSourceUndoManager"><span class="returnvalue">GtkSourceUndoManager</span></a> * <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-get-undo-manager" title="gtk_source_buffer_get_undo_manager ()">gtk_source_buffer_get_undo_manager</a>
|
127
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);
|
128
|
+
<span class="returnvalue">void</span> <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-set-undo-manager" title="gtk_source_buffer_set_undo_manager ()">gtk_source_buffer_set_undo_manager</a> (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
129
|
+
<em class="parameter"><code><a class="link" href="GtkSourceUndoManager.html" title="GtkSourceUndoManager"><span class="type">GtkSourceUndoManager</span></a> *manager</code></em>);
|
130
|
+
</pre>
|
131
|
+
</div>
|
132
|
+
<div class="refsect1">
|
133
|
+
<a name="GtkSourceBuffer.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
134
|
+
<pre class="synopsis">
|
135
|
+
GObject
|
136
|
+
+----GtkTextBuffer
|
137
|
+
+----GtkSourceBuffer
|
138
|
+
</pre>
|
139
|
+
</div>
|
140
|
+
<div class="refsect1">
|
141
|
+
<a name="GtkSourceBuffer.properties"></a><h2>Properties</h2>
|
142
|
+
<pre class="synopsis">
|
143
|
+
"<a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer--can-redo" title='The "can-redo" property'>can-redo</a>" <span class="type">gboolean</span> : Read
|
144
|
+
"<a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer--can-undo" title='The "can-undo" property'>can-undo</a>" <span class="type">gboolean</span> : Read
|
145
|
+
"<a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer--highlight-matching-brackets" title='The "highlight-matching-brackets" property'>highlight-matching-brackets</a>" <span class="type">gboolean</span> : Read / Write
|
146
|
+
"<a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer--highlight-syntax" title='The "highlight-syntax" property'>highlight-syntax</a>" <span class="type">gboolean</span> : Read / Write
|
147
|
+
"<a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer--language" title='The "language" property'>language</a>" <a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a>* : Read / Write
|
148
|
+
"<a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer--max-undo-levels" title='The "max-undo-levels" property'>max-undo-levels</a>" <span class="type">gint</span> : Read / Write
|
149
|
+
"<a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer--style-scheme" title='The "style-scheme" property'>style-scheme</a>" <a class="link" href="GtkSourceStyleScheme.html" title="GtkSourceStyleScheme"><span class="type">GtkSourceStyleScheme</span></a>* : Read / Write
|
150
|
+
"<a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer--undo-manager" title='The "undo-manager" property'>undo-manager</a>" <a class="link" href="GtkSourceUndoManager.html" title="GtkSourceUndoManager"><span class="type">GtkSourceUndoManager</span></a>* : Read / Write / Construct
|
151
|
+
</pre>
|
152
|
+
</div>
|
153
|
+
<div class="refsect1">
|
154
|
+
<a name="GtkSourceBuffer.signals"></a><h2>Signals</h2>
|
155
|
+
<pre class="synopsis">
|
156
|
+
"<a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer-bracket-matched" title='The "bracket-matched" signal'>bracket-matched</a>" : <code class="literal">Run Last</code>
|
157
|
+
"<a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer-highlight-updated" title='The "highlight-updated" signal'>highlight-updated</a>" : <code class="literal">Run Last</code>
|
158
|
+
"<a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer-redo" title='The "redo" signal'>redo</a>" : <code class="literal">Run Last</code>
|
159
|
+
"<a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer-source-mark-updated" title='The "source-mark-updated" signal'>source-mark-updated</a>" : <code class="literal">Run Last</code>
|
160
|
+
"<a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer-undo" title='The "undo" signal'>undo</a>" : <code class="literal">Run Last</code>
|
161
|
+
</pre>
|
162
|
+
</div>
|
163
|
+
<div class="refsect1">
|
164
|
+
<a name="GtkSourceBuffer.description"></a><h2>Description</h2>
|
165
|
+
<p>
|
166
|
+
The <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.
|
167
|
+
It extends the <span class="type">GtkTextBuffer</span> object by adding features useful to display
|
168
|
+
and edit source code as syntax highlighting and bracket matching. It
|
169
|
+
also implements support for undo/redo operations.
|
170
|
+
</p>
|
171
|
+
<p>
|
172
|
+
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
|
173
|
+
<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
|
174
|
+
function which allows you to initially set a <a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a>.
|
175
|
+
</p>
|
176
|
+
<p>
|
177
|
+
By default highlighting is enabled, but you can disable it with
|
178
|
+
<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>.
|
179
|
+
</p>
|
180
|
+
</div>
|
181
|
+
<div class="refsect1">
|
182
|
+
<a name="GtkSourceBuffer.details"></a><h2>Details</h2>
|
183
|
+
<div class="refsect2">
|
184
|
+
<a name="GtkSourceBuffer-struct"></a><h3>GtkSourceBuffer</h3>
|
185
|
+
<pre class="programlisting">typedef struct _GtkSourceBuffer GtkSourceBuffer;</pre>
|
186
|
+
</div>
|
187
|
+
<hr>
|
188
|
+
<div class="refsect2">
|
189
|
+
<a name="gtk-source-buffer-new"></a><h3>gtk_source_buffer_new ()</h3>
|
190
|
+
<pre class="programlisting"><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="returnvalue">GtkSourceBuffer</span></a> * gtk_source_buffer_new (<em class="parameter"><code><span class="type">GtkTextTagTable</span> *table</code></em>);</pre>
|
191
|
+
<p>
|
192
|
+
Creates a new source buffer.
|
193
|
+
</p>
|
194
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
195
|
+
<colgroup>
|
196
|
+
<col align="left" valign="top">
|
197
|
+
<col>
|
198
|
+
</colgroup>
|
199
|
+
<tbody>
|
200
|
+
<tr>
|
201
|
+
<td><p><span class="term"><em class="parameter"><code>table</code></em> :</span></p></td>
|
202
|
+
<td>a <span class="type">GtkTextTagTable</span>, or <code class="literal">NULL</code> to create a new one. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
203
|
+
</td>
|
204
|
+
</tr>
|
205
|
+
<tr>
|
206
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
207
|
+
<td>a new source buffer.</td>
|
208
|
+
</tr>
|
209
|
+
</tbody>
|
210
|
+
</table></div>
|
211
|
+
</div>
|
212
|
+
<hr>
|
213
|
+
<div class="refsect2">
|
214
|
+
<a name="gtk-source-buffer-new-with-language"></a><h3>gtk_source_buffer_new_with_language ()</h3>
|
215
|
+
<pre class="programlisting"><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="returnvalue">GtkSourceBuffer</span></a> * gtk_source_buffer_new_with_language (<em class="parameter"><code><a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a> *language</code></em>);</pre>
|
216
|
+
<p>
|
217
|
+
Creates a new source buffer using the highlighting patterns in
|
218
|
+
<em class="parameter"><code>language</code></em>. This is equivalent to creating a new source buffer with
|
219
|
+
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>.
|
220
|
+
</p>
|
221
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
222
|
+
<colgroup>
|
223
|
+
<col align="left" valign="top">
|
224
|
+
<col>
|
225
|
+
</colgroup>
|
226
|
+
<tbody>
|
227
|
+
<tr>
|
228
|
+
<td><p><span class="term"><em class="parameter"><code>language</code></em> :</span></p></td>
|
229
|
+
<td>a <a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a>.</td>
|
230
|
+
</tr>
|
231
|
+
<tr>
|
232
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
233
|
+
<td>a new source buffer which will highlight text
|
234
|
+
according to the highlighting patterns in <em class="parameter"><code>language</code></em>.</td>
|
235
|
+
</tr>
|
236
|
+
</tbody>
|
237
|
+
</table></div>
|
238
|
+
</div>
|
239
|
+
<hr>
|
240
|
+
<div class="refsect2">
|
241
|
+
<a name="gtk-source-buffer-set-highlight-syntax"></a><h3>gtk_source_buffer_set_highlight_syntax ()</h3>
|
242
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_source_buffer_set_highlight_syntax
|
243
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
244
|
+
<em class="parameter"><code><span class="type">gboolean</span> highlight</code></em>);</pre>
|
245
|
+
<p>
|
246
|
+
Controls whether syntax is highlighted in the buffer. If <em class="parameter"><code>highlight</code></em>
|
247
|
+
is <code class="literal">TRUE</code>, the text will be highlighted according to the syntax
|
248
|
+
patterns specified in the language set with
|
249
|
+
<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> is <code class="literal">FALSE</code>, syntax highlighting
|
250
|
+
is disabled and all the GtkTextTag objects that have been added by the
|
251
|
+
syntax highlighting engine are removed from the buffer.
|
252
|
+
</p>
|
253
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
254
|
+
<colgroup>
|
255
|
+
<col align="left" valign="top">
|
256
|
+
<col>
|
257
|
+
</colgroup>
|
258
|
+
<tbody>
|
259
|
+
<tr>
|
260
|
+
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
261
|
+
<td>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</td>
|
262
|
+
</tr>
|
263
|
+
<tr>
|
264
|
+
<td><p><span class="term"><em class="parameter"><code>highlight</code></em> :</span></p></td>
|
265
|
+
<td>
|
266
|
+
<code class="literal">TRUE</code> to enable syntax highlighting, <code class="literal">FALSE</code> to disable it.</td>
|
267
|
+
</tr>
|
268
|
+
</tbody>
|
269
|
+
</table></div>
|
270
|
+
</div>
|
271
|
+
<hr>
|
272
|
+
<div class="refsect2">
|
273
|
+
<a name="gtk-source-buffer-get-highlight-syntax"></a><h3>gtk_source_buffer_get_highlight_syntax ()</h3>
|
274
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> gtk_source_buffer_get_highlight_syntax
|
275
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);</pre>
|
276
|
+
<p>
|
277
|
+
Determines whether syntax highlighting is activated in the source
|
278
|
+
buffer.
|
279
|
+
</p>
|
280
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
281
|
+
<colgroup>
|
282
|
+
<col align="left" valign="top">
|
283
|
+
<col>
|
284
|
+
</colgroup>
|
285
|
+
<tbody>
|
286
|
+
<tr>
|
287
|
+
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
288
|
+
<td>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</td>
|
289
|
+
</tr>
|
290
|
+
<tr>
|
291
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
292
|
+
<td>
|
293
|
+
<code class="literal">TRUE</code> if syntax highlighting is enabled, <code class="literal">FALSE</code> otherwise.</td>
|
294
|
+
</tr>
|
295
|
+
</tbody>
|
296
|
+
</table></div>
|
297
|
+
</div>
|
298
|
+
<hr>
|
299
|
+
<div class="refsect2">
|
300
|
+
<a name="gtk-source-buffer-set-language"></a><h3>gtk_source_buffer_set_language ()</h3>
|
301
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_source_buffer_set_language (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
302
|
+
<em class="parameter"><code><a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a> *language</code></em>);</pre>
|
303
|
+
<p>
|
304
|
+
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> is
|
305
|
+
not-<code class="literal">NULL</code> 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>),
|
306
|
+
the syntax patterns defined in <em class="parameter"><code>language</code></em> will be used to highlight the text
|
307
|
+
contained in the buffer. If <em class="parameter"><code>language</code></em> is <code class="literal">NULL</code>, the text contained in the
|
308
|
+
buffer is not highlighted.
|
309
|
+
</p>
|
310
|
+
<p>
|
311
|
+
The buffer holds a reference to <em class="parameter"><code>language</code></em>.
|
312
|
+
</p>
|
313
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
314
|
+
<colgroup>
|
315
|
+
<col align="left" valign="top">
|
316
|
+
<col>
|
317
|
+
</colgroup>
|
318
|
+
<tbody>
|
319
|
+
<tr>
|
320
|
+
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
321
|
+
<td>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</td>
|
322
|
+
</tr>
|
323
|
+
<tr>
|
324
|
+
<td><p><span class="term"><em class="parameter"><code>language</code></em> :</span></p></td>
|
325
|
+
<td>a <a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a> to set, or <code class="literal">NULL</code>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
326
|
+
</td>
|
327
|
+
</tr>
|
328
|
+
</tbody>
|
329
|
+
</table></div>
|
330
|
+
</div>
|
331
|
+
<hr>
|
332
|
+
<div class="refsect2">
|
333
|
+
<a name="gtk-source-buffer-get-language"></a><h3>gtk_source_buffer_get_language ()</h3>
|
334
|
+
<pre class="programlisting"><a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="returnvalue">GtkSourceLanguage</span></a> * gtk_source_buffer_get_language (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);</pre>
|
335
|
+
<p>
|
336
|
+
Returns the <a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a> associated with the buffer,
|
337
|
+
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
|
338
|
+
unreferenced by the user.
|
339
|
+
</p>
|
340
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
341
|
+
<colgroup>
|
342
|
+
<col align="left" valign="top">
|
343
|
+
<col>
|
344
|
+
</colgroup>
|
345
|
+
<tbody>
|
346
|
+
<tr>
|
347
|
+
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
348
|
+
<td>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</td>
|
349
|
+
</tr>
|
350
|
+
<tr>
|
351
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
352
|
+
<td>the <a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a> associated with the buffer, or <code class="literal">NULL</code>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
353
|
+
</td>
|
354
|
+
</tr>
|
355
|
+
</tbody>
|
356
|
+
</table></div>
|
357
|
+
</div>
|
358
|
+
<hr>
|
359
|
+
<div class="refsect2">
|
360
|
+
<a name="gtk-source-buffer-set-highlight-matching-brackets"></a><h3>gtk_source_buffer_set_highlight_matching_brackets ()</h3>
|
361
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_source_buffer_set_highlight_matching_brackets
|
362
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
363
|
+
<em class="parameter"><code><span class="type">gboolean</span> highlight</code></em>);</pre>
|
364
|
+
<p>
|
365
|
+
Controls the bracket match highlighting function in the buffer. If
|
366
|
+
activated, when you position your cursor over a bracket character
|
367
|
+
(a parenthesis, a square bracket, etc.) the matching opening or
|
368
|
+
closing bracket character will be highlighted. You can specify the
|
369
|
+
style with the <code class="function">gtk_source_buffer_set_bracket_match_style()</code>
|
370
|
+
function.
|
371
|
+
</p>
|
372
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
373
|
+
<colgroup>
|
374
|
+
<col align="left" valign="top">
|
375
|
+
<col>
|
376
|
+
</colgroup>
|
377
|
+
<tbody>
|
378
|
+
<tr>
|
379
|
+
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
380
|
+
<td>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</td>
|
381
|
+
</tr>
|
382
|
+
<tr>
|
383
|
+
<td><p><span class="term"><em class="parameter"><code>highlight</code></em> :</span></p></td>
|
384
|
+
<td>
|
385
|
+
<code class="literal">TRUE</code> if you want matching brackets highlighted.</td>
|
386
|
+
</tr>
|
387
|
+
</tbody>
|
388
|
+
</table></div>
|
389
|
+
</div>
|
390
|
+
<hr>
|
391
|
+
<div class="refsect2">
|
392
|
+
<a name="gtk-source-buffer-get-highlight-matching-brackets"></a><h3>gtk_source_buffer_get_highlight_matching_brackets ()</h3>
|
393
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> gtk_source_buffer_get_highlight_matching_brackets
|
394
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);</pre>
|
395
|
+
<p>
|
396
|
+
Determines whether bracket match highlighting is activated for the
|
397
|
+
source buffer.
|
398
|
+
</p>
|
399
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
400
|
+
<colgroup>
|
401
|
+
<col align="left" valign="top">
|
402
|
+
<col>
|
403
|
+
</colgroup>
|
404
|
+
<tbody>
|
405
|
+
<tr>
|
406
|
+
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
407
|
+
<td>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</td>
|
408
|
+
</tr>
|
409
|
+
<tr>
|
410
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
411
|
+
<td>
|
412
|
+
<code class="literal">TRUE</code> if the source buffer will highlight matching
|
413
|
+
brackets.</td>
|
414
|
+
</tr>
|
415
|
+
</tbody>
|
416
|
+
</table></div>
|
417
|
+
</div>
|
418
|
+
<hr>
|
419
|
+
<div class="refsect2">
|
420
|
+
<a name="gtk-source-buffer-set-style-scheme"></a><h3>gtk_source_buffer_set_style_scheme ()</h3>
|
421
|
+
<pre class="programlisting"><span class="returnvalue">void</span> 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>,
|
422
|
+
<em class="parameter"><code><a class="link" href="GtkSourceStyleScheme.html" title="GtkSourceStyleScheme"><span class="type">GtkSourceStyleScheme</span></a> *scheme</code></em>);</pre>
|
423
|
+
<p>
|
424
|
+
Sets style scheme used by the buffer. If <em class="parameter"><code>scheme</code></em> is <code class="literal">NULL</code> no
|
425
|
+
style scheme is used.
|
426
|
+
</p>
|
427
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
428
|
+
<colgroup>
|
429
|
+
<col align="left" valign="top">
|
430
|
+
<col>
|
431
|
+
</colgroup>
|
432
|
+
<tbody>
|
433
|
+
<tr>
|
434
|
+
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
435
|
+
<td>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</td>
|
436
|
+
</tr>
|
437
|
+
<tr>
|
438
|
+
<td><p><span class="term"><em class="parameter"><code>scheme</code></em> :</span></p></td>
|
439
|
+
<td>a <a class="link" href="GtkSourceStyleScheme.html" title="GtkSourceStyleScheme"><span class="type">GtkSourceStyleScheme</span></a> or <code class="literal">NULL</code>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
440
|
+
</td>
|
441
|
+
</tr>
|
442
|
+
</tbody>
|
443
|
+
</table></div>
|
444
|
+
</div>
|
445
|
+
<hr>
|
446
|
+
<div class="refsect2">
|
447
|
+
<a name="gtk-source-buffer-get-style-scheme"></a><h3>gtk_source_buffer_get_style_scheme ()</h3>
|
448
|
+
<pre class="programlisting"><a class="link" href="GtkSourceStyleScheme.html" title="GtkSourceStyleScheme"><span class="returnvalue">GtkSourceStyleScheme</span></a> * gtk_source_buffer_get_style_scheme
|
449
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);</pre>
|
450
|
+
<p>
|
451
|
+
Returns the <a class="link" href="GtkSourceStyleScheme.html" title="GtkSourceStyleScheme"><span class="type">GtkSourceStyleScheme</span></a> associated with the buffer,
|
452
|
+
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>.
|
453
|
+
The returned object should not be unreferenced by the user.
|
454
|
+
</p>
|
455
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
456
|
+
<colgroup>
|
457
|
+
<col align="left" valign="top">
|
458
|
+
<col>
|
459
|
+
</colgroup>
|
460
|
+
<tbody>
|
461
|
+
<tr>
|
462
|
+
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
463
|
+
<td>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</td>
|
464
|
+
</tr>
|
465
|
+
<tr>
|
466
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
467
|
+
<td>the <a class="link" href="GtkSourceStyleScheme.html" title="GtkSourceStyleScheme"><span class="type">GtkSourceStyleScheme</span></a> associated
|
468
|
+
with the buffer, or <code class="literal">NULL</code>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
469
|
+
</td>
|
470
|
+
</tr>
|
471
|
+
</tbody>
|
472
|
+
</table></div>
|
473
|
+
</div>
|
474
|
+
<hr>
|
475
|
+
<div class="refsect2">
|
476
|
+
<a name="gtk-source-buffer-get-max-undo-levels"></a><h3>gtk_source_buffer_get_max_undo_levels ()</h3>
|
477
|
+
<pre class="programlisting"><span class="returnvalue">gint</span> gtk_source_buffer_get_max_undo_levels
|
478
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);</pre>
|
479
|
+
<p>
|
480
|
+
Determines the number of undo levels the buffer will track for
|
481
|
+
buffer edits.
|
482
|
+
</p>
|
483
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
484
|
+
<colgroup>
|
485
|
+
<col align="left" valign="top">
|
486
|
+
<col>
|
487
|
+
</colgroup>
|
488
|
+
<tbody>
|
489
|
+
<tr>
|
490
|
+
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
491
|
+
<td>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</td>
|
492
|
+
</tr>
|
493
|
+
<tr>
|
494
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
495
|
+
<td>the maximum number of possible undo levels or
|
496
|
+
-1 if no limit is set.</td>
|
497
|
+
</tr>
|
498
|
+
</tbody>
|
499
|
+
</table></div>
|
500
|
+
</div>
|
501
|
+
<hr>
|
502
|
+
<div class="refsect2">
|
503
|
+
<a name="gtk-source-buffer-set-max-undo-levels"></a><h3>gtk_source_buffer_set_max_undo_levels ()</h3>
|
504
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_source_buffer_set_max_undo_levels
|
505
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
506
|
+
<em class="parameter"><code><span class="type">gint</span> max_undo_levels</code></em>);</pre>
|
507
|
+
<p>
|
508
|
+
Sets the number of undo levels for user actions the buffer will
|
509
|
+
track. If the number of user actions exceeds the limit set by this
|
510
|
+
function, older actions will be discarded.
|
511
|
+
</p>
|
512
|
+
<p>
|
513
|
+
If <em class="parameter"><code>max_undo_levels</code></em> is -1, no limit is set.
|
514
|
+
</p>
|
515
|
+
<p>
|
516
|
+
A new action is started whenever the function
|
517
|
+
<code class="function">gtk_text_buffer_begin_user_action()</code> is called. In general, this
|
518
|
+
happens whenever the user presses any key which modifies the
|
519
|
+
buffer, but the undo manager will try to merge similar consecutive
|
520
|
+
actions, such as multiple character insertions into one action.
|
521
|
+
But, inserting a newline does start a new action.
|
522
|
+
</p>
|
523
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
524
|
+
<colgroup>
|
525
|
+
<col align="left" valign="top">
|
526
|
+
<col>
|
527
|
+
</colgroup>
|
528
|
+
<tbody>
|
529
|
+
<tr>
|
530
|
+
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
531
|
+
<td>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</td>
|
532
|
+
</tr>
|
533
|
+
<tr>
|
534
|
+
<td><p><span class="term"><em class="parameter"><code>max_undo_levels</code></em> :</span></p></td>
|
535
|
+
<td>the desired maximum number of undo levels.</td>
|
536
|
+
</tr>
|
537
|
+
</tbody>
|
538
|
+
</table></div>
|
539
|
+
</div>
|
540
|
+
<hr>
|
541
|
+
<div class="refsect2">
|
542
|
+
<a name="gtk-source-buffer-redo"></a><h3>gtk_source_buffer_redo ()</h3>
|
543
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_source_buffer_redo (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);</pre>
|
544
|
+
<p>
|
545
|
+
Redoes the last undo operation. Use <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-can-redo" title="gtk_source_buffer_can_redo ()"><code class="function">gtk_source_buffer_can_redo()</code></a>
|
546
|
+
to check whether a call to this function will have any effect.
|
547
|
+
</p>
|
548
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
549
|
+
<colgroup>
|
550
|
+
<col align="left" valign="top">
|
551
|
+
<col>
|
552
|
+
</colgroup>
|
553
|
+
<tbody><tr>
|
554
|
+
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
555
|
+
<td>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</td>
|
556
|
+
</tr></tbody>
|
557
|
+
</table></div>
|
558
|
+
</div>
|
559
|
+
<hr>
|
560
|
+
<div class="refsect2">
|
561
|
+
<a name="gtk-source-buffer-undo"></a><h3>gtk_source_buffer_undo ()</h3>
|
562
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_source_buffer_undo (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);</pre>
|
563
|
+
<p>
|
564
|
+
Undoes the last user action which modified the buffer. Use
|
565
|
+
<a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-can-undo" title="gtk_source_buffer_can_undo ()"><code class="function">gtk_source_buffer_can_undo()</code></a> to check whether a call to this
|
566
|
+
function will have any effect.
|
567
|
+
</p>
|
568
|
+
<p>
|
569
|
+
Actions are defined as groups of operations between a call to
|
570
|
+
<code class="function">gtk_text_buffer_begin_user_action()</code> and
|
571
|
+
<code class="function">gtk_text_buffer_end_user_action()</code>, or sequences of similar edits
|
572
|
+
(inserts or deletes) on the same line.
|
573
|
+
</p>
|
574
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
575
|
+
<colgroup>
|
576
|
+
<col align="left" valign="top">
|
577
|
+
<col>
|
578
|
+
</colgroup>
|
579
|
+
<tbody><tr>
|
580
|
+
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
581
|
+
<td>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</td>
|
582
|
+
</tr></tbody>
|
583
|
+
</table></div>
|
584
|
+
</div>
|
585
|
+
<hr>
|
586
|
+
<div class="refsect2">
|
587
|
+
<a name="gtk-source-buffer-can-redo"></a><h3>gtk_source_buffer_can_redo ()</h3>
|
588
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> 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>
|
589
|
+
<p>
|
590
|
+
Determines whether a source buffer can redo the last action
|
591
|
+
(i.e. if the last operation was an undo).
|
592
|
+
</p>
|
593
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
594
|
+
<colgroup>
|
595
|
+
<col align="left" valign="top">
|
596
|
+
<col>
|
597
|
+
</colgroup>
|
598
|
+
<tbody>
|
599
|
+
<tr>
|
600
|
+
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
601
|
+
<td>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</td>
|
602
|
+
</tr>
|
603
|
+
<tr>
|
604
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
605
|
+
<td>
|
606
|
+
<code class="literal">TRUE</code> if a redo is possible.</td>
|
607
|
+
</tr>
|
608
|
+
</tbody>
|
609
|
+
</table></div>
|
610
|
+
</div>
|
611
|
+
<hr>
|
612
|
+
<div class="refsect2">
|
613
|
+
<a name="gtk-source-buffer-can-undo"></a><h3>gtk_source_buffer_can_undo ()</h3>
|
614
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> 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>
|
615
|
+
<p>
|
616
|
+
Determines whether a source buffer can undo the last action.
|
617
|
+
</p>
|
618
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
619
|
+
<colgroup>
|
620
|
+
<col align="left" valign="top">
|
621
|
+
<col>
|
622
|
+
</colgroup>
|
623
|
+
<tbody>
|
624
|
+
<tr>
|
625
|
+
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
626
|
+
<td>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</td>
|
627
|
+
</tr>
|
628
|
+
<tr>
|
629
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
630
|
+
<td>
|
631
|
+
<code class="literal">TRUE</code> if it's possible to undo the last action.</td>
|
632
|
+
</tr>
|
633
|
+
</tbody>
|
634
|
+
</table></div>
|
635
|
+
</div>
|
636
|
+
<hr>
|
637
|
+
<div class="refsect2">
|
638
|
+
<a name="gtk-source-buffer-begin-not-undoable-action"></a><h3>gtk_source_buffer_begin_not_undoable_action ()</h3>
|
639
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_source_buffer_begin_not_undoable_action
|
640
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);</pre>
|
641
|
+
<p>
|
642
|
+
Marks the beginning of a not undoable action on the buffer,
|
643
|
+
disabling the undo manager. Typically you would call this function
|
644
|
+
before initially setting the contents of the buffer (e.g. when
|
645
|
+
loading a file in a text editor).
|
646
|
+
</p>
|
647
|
+
<p>
|
648
|
+
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> /
|
649
|
+
<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.
|
650
|
+
</p>
|
651
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
652
|
+
<colgroup>
|
653
|
+
<col align="left" valign="top">
|
654
|
+
<col>
|
655
|
+
</colgroup>
|
656
|
+
<tbody><tr>
|
657
|
+
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
658
|
+
<td>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</td>
|
659
|
+
</tr></tbody>
|
660
|
+
</table></div>
|
661
|
+
</div>
|
662
|
+
<hr>
|
663
|
+
<div class="refsect2">
|
664
|
+
<a name="gtk-source-buffer-end-not-undoable-action"></a><h3>gtk_source_buffer_end_not_undoable_action ()</h3>
|
665
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_source_buffer_end_not_undoable_action
|
666
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);</pre>
|
667
|
+
<p>
|
668
|
+
Marks the end of a not undoable action on the buffer. When the
|
669
|
+
last not undoable block is closed through the call to this
|
670
|
+
function, the list of undo actions is cleared and the undo manager
|
671
|
+
is re-enabled.
|
672
|
+
</p>
|
673
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
674
|
+
<colgroup>
|
675
|
+
<col align="left" valign="top">
|
676
|
+
<col>
|
677
|
+
</colgroup>
|
678
|
+
<tbody><tr>
|
679
|
+
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
680
|
+
<td>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</td>
|
681
|
+
</tr></tbody>
|
682
|
+
</table></div>
|
683
|
+
</div>
|
684
|
+
<hr>
|
685
|
+
<div class="refsect2">
|
686
|
+
<a name="gtk-source-buffer-ensure-highlight"></a><h3>gtk_source_buffer_ensure_highlight ()</h3>
|
687
|
+
<pre class="programlisting"><span class="returnvalue">void</span> 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>,
|
688
|
+
<em class="parameter"><code>const <span class="type">GtkTextIter</span> *start</code></em>,
|
689
|
+
<em class="parameter"><code>const <span class="type">GtkTextIter</span> *end</code></em>);</pre>
|
690
|
+
<p>
|
691
|
+
Forces buffer to analyze and highlight the given area synchronously.
|
692
|
+
</p>
|
693
|
+
<p>
|
694
|
+
</p>
|
695
|
+
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
696
|
+
<h3 class="title">Note</h3>
|
697
|
+
<p>
|
698
|
+
This is a potentially slow operation and should be used only
|
699
|
+
when you need to make sure that some text not currently
|
700
|
+
visible is highlighted, for instance before printing.
|
701
|
+
</p>
|
702
|
+
</div>
|
703
|
+
<p>
|
704
|
+
</p>
|
705
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
706
|
+
<colgroup>
|
707
|
+
<col align="left" valign="top">
|
708
|
+
<col>
|
709
|
+
</colgroup>
|
710
|
+
<tbody>
|
711
|
+
<tr>
|
712
|
+
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
713
|
+
<td>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</td>
|
714
|
+
</tr>
|
715
|
+
<tr>
|
716
|
+
<td><p><span class="term"><em class="parameter"><code>start</code></em> :</span></p></td>
|
717
|
+
<td>start of the area to highlight.</td>
|
718
|
+
</tr>
|
719
|
+
<tr>
|
720
|
+
<td><p><span class="term"><em class="parameter"><code>end</code></em> :</span></p></td>
|
721
|
+
<td>end of the area to highlight.</td>
|
722
|
+
</tr>
|
723
|
+
</tbody>
|
724
|
+
</table></div>
|
725
|
+
</div>
|
726
|
+
<hr>
|
727
|
+
<div class="refsect2">
|
728
|
+
<a name="gtk-source-buffer-create-source-mark"></a><h3>gtk_source_buffer_create_source_mark ()</h3>
|
729
|
+
<pre class="programlisting"><a class="link" href="GtkSourceMark.html" title="GtkSourceMark"><span class="returnvalue">GtkSourceMark</span></a> * gtk_source_buffer_create_source_mark
|
730
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
731
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
|
732
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *category</code></em>,
|
733
|
+
<em class="parameter"><code>const <span class="type">GtkTextIter</span> *where</code></em>);</pre>
|
734
|
+
<p>
|
735
|
+
Creates a source mark in the <em class="parameter"><code>buffer</code></em> of category <em class="parameter"><code>category</code></em>. A source mark is
|
736
|
+
a <span class="type">GtkTextMark</span> but organised into categories. Depending on the category
|
737
|
+
a pixbuf can be specified that will be displayed along the line of the mark.
|
738
|
+
</p>
|
739
|
+
<p>
|
740
|
+
Like a <span class="type">GtkTextMark</span>, a <a class="link" href="GtkSourceMark.html" title="GtkSourceMark"><span class="type">GtkSourceMark</span></a> can be anonymous if the
|
741
|
+
passed <em class="parameter"><code>name</code></em> is <code class="literal">NULL</code>. Also, the buffer owns the marks so you
|
742
|
+
shouldn't unreference it.
|
743
|
+
</p>
|
744
|
+
<p>
|
745
|
+
Marks always have left gravity and are moved to the beginning of
|
746
|
+
the line when the user deletes the line they were in.
|
747
|
+
</p>
|
748
|
+
<p>
|
749
|
+
Typical uses for a source mark are bookmarks, breakpoints, current
|
750
|
+
executing instruction indication in a source file, etc..
|
751
|
+
</p>
|
752
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
753
|
+
<colgroup>
|
754
|
+
<col align="left" valign="top">
|
755
|
+
<col>
|
756
|
+
</colgroup>
|
757
|
+
<tbody>
|
758
|
+
<tr>
|
759
|
+
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
760
|
+
<td>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</td>
|
761
|
+
</tr>
|
762
|
+
<tr>
|
763
|
+
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
|
764
|
+
<td>the name of the mark, or <code class="literal">NULL</code>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
765
|
+
</td>
|
766
|
+
</tr>
|
767
|
+
<tr>
|
768
|
+
<td><p><span class="term"><em class="parameter"><code>category</code></em> :</span></p></td>
|
769
|
+
<td>a string defining the mark category.</td>
|
770
|
+
</tr>
|
771
|
+
<tr>
|
772
|
+
<td><p><span class="term"><em class="parameter"><code>where</code></em> :</span></p></td>
|
773
|
+
<td>location to place the mark.</td>
|
774
|
+
</tr>
|
775
|
+
<tr>
|
776
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
777
|
+
<td>a new <a class="link" href="GtkSourceMark.html" title="GtkSourceMark"><span class="type">GtkSourceMark</span></a>, owned by the buffer. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
778
|
+
</td>
|
779
|
+
</tr>
|
780
|
+
</tbody>
|
781
|
+
</table></div>
|
782
|
+
<p class="since">Since 2.2</p>
|
783
|
+
</div>
|
784
|
+
<hr>
|
785
|
+
<div class="refsect2">
|
786
|
+
<a name="gtk-source-buffer-forward-iter-to-source-mark"></a><h3>gtk_source_buffer_forward_iter_to_source_mark ()</h3>
|
787
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> gtk_source_buffer_forward_iter_to_source_mark
|
788
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
789
|
+
<em class="parameter"><code><span class="type">GtkTextIter</span> *iter</code></em>,
|
790
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *category</code></em>);</pre>
|
791
|
+
<p>
|
792
|
+
Moves <em class="parameter"><code>iter</code></em> to the position of the next <a class="link" href="GtkSourceMark.html" title="GtkSourceMark"><span class="type">GtkSourceMark</span></a> of the given
|
793
|
+
<em class="parameter"><code>category</code></em>. Returns <code class="literal">TRUE</code> if <em class="parameter"><code>iter</code></em> was moved. If <em class="parameter"><code>category</code></em> is NULL, the
|
794
|
+
next source mark can be of any category.
|
795
|
+
</p>
|
796
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
797
|
+
<colgroup>
|
798
|
+
<col align="left" valign="top">
|
799
|
+
<col>
|
800
|
+
</colgroup>
|
801
|
+
<tbody>
|
802
|
+
<tr>
|
803
|
+
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
804
|
+
<td>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</td>
|
805
|
+
</tr>
|
806
|
+
<tr>
|
807
|
+
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
808
|
+
<td>an iterator.</td>
|
809
|
+
</tr>
|
810
|
+
<tr>
|
811
|
+
<td><p><span class="term"><em class="parameter"><code>category</code></em> :</span></p></td>
|
812
|
+
<td>category to search for, or <code class="literal">NULL</code>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
813
|
+
</td>
|
814
|
+
</tr>
|
815
|
+
<tr>
|
816
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
817
|
+
<td>whether <em class="parameter"><code>iter</code></em> was moved.</td>
|
818
|
+
</tr>
|
819
|
+
</tbody>
|
820
|
+
</table></div>
|
821
|
+
<p class="since">Since 2.2</p>
|
822
|
+
</div>
|
823
|
+
<hr>
|
824
|
+
<div class="refsect2">
|
825
|
+
<a name="gtk-source-buffer-backward-iter-to-source-mark"></a><h3>gtk_source_buffer_backward_iter_to_source_mark ()</h3>
|
826
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> gtk_source_buffer_backward_iter_to_source_mark
|
827
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
828
|
+
<em class="parameter"><code><span class="type">GtkTextIter</span> *iter</code></em>,
|
829
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *category</code></em>);</pre>
|
830
|
+
<p>
|
831
|
+
Moves <em class="parameter"><code>iter</code></em> to the position of the previous <a class="link" href="GtkSourceMark.html" title="GtkSourceMark"><span class="type">GtkSourceMark</span></a> of the given
|
832
|
+
category. Returns <code class="literal">TRUE</code> if <em class="parameter"><code>iter</code></em> was moved. If <em class="parameter"><code>category</code></em> is NULL, the
|
833
|
+
previous source mark can be of any category.
|
834
|
+
</p>
|
835
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
836
|
+
<colgroup>
|
837
|
+
<col align="left" valign="top">
|
838
|
+
<col>
|
839
|
+
</colgroup>
|
840
|
+
<tbody>
|
841
|
+
<tr>
|
842
|
+
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
843
|
+
<td>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</td>
|
844
|
+
</tr>
|
845
|
+
<tr>
|
846
|
+
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
847
|
+
<td>an iterator.</td>
|
848
|
+
</tr>
|
849
|
+
<tr>
|
850
|
+
<td><p><span class="term"><em class="parameter"><code>category</code></em> :</span></p></td>
|
851
|
+
<td>category to search for, or <code class="literal">NULL</code>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
852
|
+
</td>
|
853
|
+
</tr>
|
854
|
+
<tr>
|
855
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
856
|
+
<td>whether <em class="parameter"><code>iter</code></em> was moved.</td>
|
857
|
+
</tr>
|
858
|
+
</tbody>
|
859
|
+
</table></div>
|
860
|
+
<p class="since">Since 2.2</p>
|
861
|
+
</div>
|
862
|
+
<hr>
|
863
|
+
<div class="refsect2">
|
864
|
+
<a name="gtk-source-buffer-get-source-marks-at-line"></a><h3>gtk_source_buffer_get_source_marks_at_line ()</h3>
|
865
|
+
<pre class="programlisting"><span class="returnvalue">GSList</span> * gtk_source_buffer_get_source_marks_at_line
|
866
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
867
|
+
<em class="parameter"><code><span class="type">gint</span> line</code></em>,
|
868
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *category</code></em>);</pre>
|
869
|
+
<p>
|
870
|
+
Returns the list of marks of the given category at <em class="parameter"><code>line</code></em>.
|
871
|
+
If <em class="parameter"><code>category</code></em> is NULL, all marks at <em class="parameter"><code>line</code></em> are returned.
|
872
|
+
</p>
|
873
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
874
|
+
<colgroup>
|
875
|
+
<col align="left" valign="top">
|
876
|
+
<col>
|
877
|
+
</colgroup>
|
878
|
+
<tbody>
|
879
|
+
<tr>
|
880
|
+
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
881
|
+
<td>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</td>
|
882
|
+
</tr>
|
883
|
+
<tr>
|
884
|
+
<td><p><span class="term"><em class="parameter"><code>line</code></em> :</span></p></td>
|
885
|
+
<td>a line number.</td>
|
886
|
+
</tr>
|
887
|
+
<tr>
|
888
|
+
<td><p><span class="term"><em class="parameter"><code>category</code></em> :</span></p></td>
|
889
|
+
<td>category to search for, or <code class="literal">NULL</code>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
890
|
+
</td>
|
891
|
+
</tr>
|
892
|
+
<tr>
|
893
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
894
|
+
<td>a newly allocated <span class="type">GSList</span>. <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>
|
895
|
+
</td>
|
896
|
+
</tr>
|
897
|
+
</tbody>
|
898
|
+
</table></div>
|
899
|
+
<p class="since">Since 2.2</p>
|
900
|
+
</div>
|
901
|
+
<hr>
|
902
|
+
<div class="refsect2">
|
903
|
+
<a name="gtk-source-buffer-get-source-marks-at-iter"></a><h3>gtk_source_buffer_get_source_marks_at_iter ()</h3>
|
904
|
+
<pre class="programlisting"><span class="returnvalue">GSList</span> * gtk_source_buffer_get_source_marks_at_iter
|
905
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
906
|
+
<em class="parameter"><code><span class="type">GtkTextIter</span> *iter</code></em>,
|
907
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *category</code></em>);</pre>
|
908
|
+
<p>
|
909
|
+
Returns the list of marks of the given category at <em class="parameter"><code>iter</code></em>. If <em class="parameter"><code>category</code></em>
|
910
|
+
is <code class="literal">NULL</code> it returns all marks at <em class="parameter"><code>iter</code></em>.
|
911
|
+
</p>
|
912
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
913
|
+
<colgroup>
|
914
|
+
<col align="left" valign="top">
|
915
|
+
<col>
|
916
|
+
</colgroup>
|
917
|
+
<tbody>
|
918
|
+
<tr>
|
919
|
+
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
920
|
+
<td>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</td>
|
921
|
+
</tr>
|
922
|
+
<tr>
|
923
|
+
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
924
|
+
<td>an iterator.</td>
|
925
|
+
</tr>
|
926
|
+
<tr>
|
927
|
+
<td><p><span class="term"><em class="parameter"><code>category</code></em> :</span></p></td>
|
928
|
+
<td>category to search for, or <code class="literal">NULL</code>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
929
|
+
</td>
|
930
|
+
</tr>
|
931
|
+
<tr>
|
932
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
933
|
+
<td>a newly allocated <span class="type">GSList</span>. <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>
|
934
|
+
</td>
|
935
|
+
</tr>
|
936
|
+
</tbody>
|
937
|
+
</table></div>
|
938
|
+
<p class="since">Since 2.2</p>
|
939
|
+
</div>
|
940
|
+
<hr>
|
941
|
+
<div class="refsect2">
|
942
|
+
<a name="gtk-source-buffer-remove-source-marks"></a><h3>gtk_source_buffer_remove_source_marks ()</h3>
|
943
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_source_buffer_remove_source_marks
|
944
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
945
|
+
<em class="parameter"><code>const <span class="type">GtkTextIter</span> *start</code></em>,
|
946
|
+
<em class="parameter"><code>const <span class="type">GtkTextIter</span> *end</code></em>,
|
947
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *category</code></em>);</pre>
|
948
|
+
<p>
|
949
|
+
Remove all marks of <em class="parameter"><code>category</code></em> between <em class="parameter"><code>start</code></em> and <em class="parameter"><code>end</code></em> from the buffer.
|
950
|
+
If <em class="parameter"><code>category</code></em> is NULL, all marks in the range will be removed.
|
951
|
+
</p>
|
952
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
953
|
+
<colgroup>
|
954
|
+
<col align="left" valign="top">
|
955
|
+
<col>
|
956
|
+
</colgroup>
|
957
|
+
<tbody>
|
958
|
+
<tr>
|
959
|
+
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
960
|
+
<td>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</td>
|
961
|
+
</tr>
|
962
|
+
<tr>
|
963
|
+
<td><p><span class="term"><em class="parameter"><code>start</code></em> :</span></p></td>
|
964
|
+
<td>a <span class="type">GtkTextIter</span>.</td>
|
965
|
+
</tr>
|
966
|
+
<tr>
|
967
|
+
<td><p><span class="term"><em class="parameter"><code>end</code></em> :</span></p></td>
|
968
|
+
<td>a <span class="type">GtkTextIter</span>.</td>
|
969
|
+
</tr>
|
970
|
+
<tr>
|
971
|
+
<td><p><span class="term"><em class="parameter"><code>category</code></em> :</span></p></td>
|
972
|
+
<td>category to search for, or <code class="literal">NULL</code>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
973
|
+
</td>
|
974
|
+
</tr>
|
975
|
+
</tbody>
|
976
|
+
</table></div>
|
977
|
+
<p class="since">Since 2.2</p>
|
978
|
+
</div>
|
979
|
+
<hr>
|
980
|
+
<div class="refsect2">
|
981
|
+
<a name="gtk-source-buffer-iter-has-context-class"></a><h3>gtk_source_buffer_iter_has_context_class ()</h3>
|
982
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> gtk_source_buffer_iter_has_context_class
|
983
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
984
|
+
<em class="parameter"><code>const <span class="type">GtkTextIter</span> *iter</code></em>,
|
985
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *context_class</code></em>);</pre>
|
986
|
+
<p>
|
987
|
+
Check if the class <em class="parameter"><code>context_klass</code></em> is set on <em class="parameter"><code>iter</code></em>.
|
988
|
+
</p>
|
989
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
990
|
+
<colgroup>
|
991
|
+
<col align="left" valign="top">
|
992
|
+
<col>
|
993
|
+
</colgroup>
|
994
|
+
<tbody>
|
995
|
+
<tr>
|
996
|
+
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
997
|
+
<td>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</td>
|
998
|
+
</tr>
|
999
|
+
<tr>
|
1000
|
+
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
1001
|
+
<td>a <span class="type">GtkTextIter</span>.</td>
|
1002
|
+
</tr>
|
1003
|
+
<tr>
|
1004
|
+
<td><p><span class="term"><em class="parameter"><code>context_class</code></em> :</span></p></td>
|
1005
|
+
<td>class to search for.</td>
|
1006
|
+
</tr>
|
1007
|
+
</tbody>
|
1008
|
+
</table></div>
|
1009
|
+
<p class="since">Since 2.10</p>
|
1010
|
+
</div>
|
1011
|
+
<hr>
|
1012
|
+
<div class="refsect2">
|
1013
|
+
<a name="gtk-source-buffer-get-context-classes-at-iter"></a><h3>gtk_source_buffer_get_context_classes_at_iter ()</h3>
|
1014
|
+
<pre class="programlisting"><span class="returnvalue">gchar</span> ** gtk_source_buffer_get_context_classes_at_iter
|
1015
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
1016
|
+
<em class="parameter"><code>const <span class="type">GtkTextIter</span> *iter</code></em>);</pre>
|
1017
|
+
<p>
|
1018
|
+
Get all defined context classes at <em class="parameter"><code>iter</code></em>.
|
1019
|
+
</p>
|
1020
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1021
|
+
<colgroup>
|
1022
|
+
<col align="left" valign="top">
|
1023
|
+
<col>
|
1024
|
+
</colgroup>
|
1025
|
+
<tbody>
|
1026
|
+
<tr>
|
1027
|
+
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
1028
|
+
<td>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</td>
|
1029
|
+
</tr>
|
1030
|
+
<tr>
|
1031
|
+
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
1032
|
+
<td>a <span class="type">GtkTextIter</span>.</td>
|
1033
|
+
</tr>
|
1034
|
+
<tr>
|
1035
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1036
|
+
<td>a new <code class="literal">NULL</code>
|
1037
|
+
terminated array of context class names.
|
1038
|
+
Use <code class="function">g_strfreev()</code> to free the array if it is no longer needed. <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>
|
1039
|
+
</td>
|
1040
|
+
</tr>
|
1041
|
+
</tbody>
|
1042
|
+
</table></div>
|
1043
|
+
<p class="since">Since 2.10</p>
|
1044
|
+
</div>
|
1045
|
+
<hr>
|
1046
|
+
<div class="refsect2">
|
1047
|
+
<a name="gtk-source-buffer-iter-forward-to-context-class-toggle"></a><h3>gtk_source_buffer_iter_forward_to_context_class_toggle ()</h3>
|
1048
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> gtk_source_buffer_iter_forward_to_context_class_toggle
|
1049
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
1050
|
+
<em class="parameter"><code><span class="type">GtkTextIter</span> *iter</code></em>,
|
1051
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *context_class</code></em>);</pre>
|
1052
|
+
<p>
|
1053
|
+
Moves forward to the next toggle (on or off) of the context class. If no
|
1054
|
+
matching context class toggles are found, returns <code class="literal">FALSE</code>, otherwise <code class="literal">TRUE</code>.
|
1055
|
+
Does not return toggles located at <em class="parameter"><code>iter</code></em>, only toggles after <em class="parameter"><code>iter</code></em>. Sets
|
1056
|
+
<em class="parameter"><code>iter</code></em> to the location of the toggle, or to the end of the buffer if no
|
1057
|
+
toggle is found.
|
1058
|
+
</p>
|
1059
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1060
|
+
<colgroup>
|
1061
|
+
<col align="left" valign="top">
|
1062
|
+
<col>
|
1063
|
+
</colgroup>
|
1064
|
+
<tbody>
|
1065
|
+
<tr>
|
1066
|
+
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
1067
|
+
<td>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</td>
|
1068
|
+
</tr>
|
1069
|
+
<tr>
|
1070
|
+
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
1071
|
+
<td>a <span class="type">GtkTextIter</span>.</td>
|
1072
|
+
</tr>
|
1073
|
+
<tr>
|
1074
|
+
<td><p><span class="term"><em class="parameter"><code>context_class</code></em> :</span></p></td>
|
1075
|
+
<td>the context class.</td>
|
1076
|
+
</tr>
|
1077
|
+
<tr>
|
1078
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1079
|
+
<td>whether we found a context class toggle after <em class="parameter"><code>iter</code></em>
|
1080
|
+
</td>
|
1081
|
+
</tr>
|
1082
|
+
</tbody>
|
1083
|
+
</table></div>
|
1084
|
+
<p class="since">Since 2.10</p>
|
1085
|
+
</div>
|
1086
|
+
<hr>
|
1087
|
+
<div class="refsect2">
|
1088
|
+
<a name="gtk-source-buffer-iter-backward-to-context-class-toggle"></a><h3>gtk_source_buffer_iter_backward_to_context_class_toggle ()</h3>
|
1089
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> gtk_source_buffer_iter_backward_to_context_class_toggle
|
1090
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
1091
|
+
<em class="parameter"><code><span class="type">GtkTextIter</span> *iter</code></em>,
|
1092
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *context_class</code></em>);</pre>
|
1093
|
+
<p>
|
1094
|
+
Moves backward to the next toggle (on or off) of the context class. If no
|
1095
|
+
matching context class toggles are found, returns <code class="literal">FALSE</code>, otherwise <code class="literal">TRUE</code>.
|
1096
|
+
Does not return toggles located at <em class="parameter"><code>iter</code></em>, only toggles after <em class="parameter"><code>iter</code></em>. Sets
|
1097
|
+
<em class="parameter"><code>iter</code></em> to the location of the toggle, or to the end of the buffer if no
|
1098
|
+
toggle is found.
|
1099
|
+
</p>
|
1100
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1101
|
+
<colgroup>
|
1102
|
+
<col align="left" valign="top">
|
1103
|
+
<col>
|
1104
|
+
</colgroup>
|
1105
|
+
<tbody>
|
1106
|
+
<tr>
|
1107
|
+
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
1108
|
+
<td>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</td>
|
1109
|
+
</tr>
|
1110
|
+
<tr>
|
1111
|
+
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
1112
|
+
<td>a <span class="type">GtkTextIter</span>.</td>
|
1113
|
+
</tr>
|
1114
|
+
<tr>
|
1115
|
+
<td><p><span class="term"><em class="parameter"><code>context_class</code></em> :</span></p></td>
|
1116
|
+
<td>the context class.</td>
|
1117
|
+
</tr>
|
1118
|
+
<tr>
|
1119
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1120
|
+
<td>whether we found a context class toggle before <em class="parameter"><code>iter</code></em>
|
1121
|
+
</td>
|
1122
|
+
</tr>
|
1123
|
+
</tbody>
|
1124
|
+
</table></div>
|
1125
|
+
<p class="since">Since 2.10</p>
|
1126
|
+
</div>
|
1127
|
+
<hr>
|
1128
|
+
<div class="refsect2">
|
1129
|
+
<a name="gtk-source-buffer-get-undo-manager"></a><h3>gtk_source_buffer_get_undo_manager ()</h3>
|
1130
|
+
<pre class="programlisting"><a class="link" href="GtkSourceUndoManager.html" title="GtkSourceUndoManager"><span class="returnvalue">GtkSourceUndoManager</span></a> * gtk_source_buffer_get_undo_manager
|
1131
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);</pre>
|
1132
|
+
<p>
|
1133
|
+
Returns the <a class="link" href="GtkSourceUndoManager.html" title="GtkSourceUndoManager"><span class="type">GtkSourceUndoManager</span></a> associated with the buffer,
|
1134
|
+
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
|
1135
|
+
unreferenced by the user.
|
1136
|
+
</p>
|
1137
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1138
|
+
<colgroup>
|
1139
|
+
<col align="left" valign="top">
|
1140
|
+
<col>
|
1141
|
+
</colgroup>
|
1142
|
+
<tbody>
|
1143
|
+
<tr>
|
1144
|
+
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
1145
|
+
<td>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</td>
|
1146
|
+
</tr>
|
1147
|
+
<tr>
|
1148
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1149
|
+
<td>the <a class="link" href="GtkSourceUndoManager.html" title="GtkSourceUndoManager"><span class="type">GtkSourceUndoManager</span></a> associated with the buffer, or <code class="literal">NULL</code>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
1150
|
+
</td>
|
1151
|
+
</tr>
|
1152
|
+
</tbody>
|
1153
|
+
</table></div>
|
1154
|
+
</div>
|
1155
|
+
<hr>
|
1156
|
+
<div class="refsect2">
|
1157
|
+
<a name="gtk-source-buffer-set-undo-manager"></a><h3>gtk_source_buffer_set_undo_manager ()</h3>
|
1158
|
+
<pre class="programlisting"><span class="returnvalue">void</span> 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>,
|
1159
|
+
<em class="parameter"><code><a class="link" href="GtkSourceUndoManager.html" title="GtkSourceUndoManager"><span class="type">GtkSourceUndoManager</span></a> *manager</code></em>);</pre>
|
1160
|
+
<p>
|
1161
|
+
Set the buffer undo manager. If <em class="parameter"><code>manager</code></em> is <code class="literal">NULL</code> the default undo manager
|
1162
|
+
will be set.
|
1163
|
+
</p>
|
1164
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1165
|
+
<colgroup>
|
1166
|
+
<col align="left" valign="top">
|
1167
|
+
<col>
|
1168
|
+
</colgroup>
|
1169
|
+
<tbody>
|
1170
|
+
<tr>
|
1171
|
+
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
1172
|
+
<td>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</td>
|
1173
|
+
</tr>
|
1174
|
+
<tr>
|
1175
|
+
<td><p><span class="term"><em class="parameter"><code>manager</code></em> :</span></p></td>
|
1176
|
+
<td>A <a class="link" href="GtkSourceUndoManager.html" title="GtkSourceUndoManager"><span class="type">GtkSourceUndoManager</span></a> or <code class="literal">NULL</code>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1177
|
+
</td>
|
1178
|
+
</tr>
|
1179
|
+
</tbody>
|
1180
|
+
</table></div>
|
1181
|
+
</div>
|
1182
|
+
</div>
|
1183
|
+
<div class="refsect1">
|
1184
|
+
<a name="GtkSourceBuffer.property-details"></a><h2>Property Details</h2>
|
1185
|
+
<div class="refsect2">
|
1186
|
+
<a name="GtkSourceBuffer--can-redo"></a><h3>The <code class="literal">"can-redo"</code> property</h3>
|
1187
|
+
<pre class="programlisting"> "can-redo" <span class="type">gboolean</span> : Read</pre>
|
1188
|
+
<p>Whether Redo operation is possible.</p>
|
1189
|
+
<p>Default value: FALSE</p>
|
1190
|
+
</div>
|
1191
|
+
<hr>
|
1192
|
+
<div class="refsect2">
|
1193
|
+
<a name="GtkSourceBuffer--can-undo"></a><h3>The <code class="literal">"can-undo"</code> property</h3>
|
1194
|
+
<pre class="programlisting"> "can-undo" <span class="type">gboolean</span> : Read</pre>
|
1195
|
+
<p>Whether Undo operation is possible.</p>
|
1196
|
+
<p>Default value: FALSE</p>
|
1197
|
+
</div>
|
1198
|
+
<hr>
|
1199
|
+
<div class="refsect2">
|
1200
|
+
<a name="GtkSourceBuffer--highlight-matching-brackets"></a><h3>The <code class="literal">"highlight-matching-brackets"</code> property</h3>
|
1201
|
+
<pre class="programlisting"> "highlight-matching-brackets" <span class="type">gboolean</span> : Read / Write</pre>
|
1202
|
+
<p>
|
1203
|
+
Whether to highlight matching brackets in the buffer.
|
1204
|
+
</p>
|
1205
|
+
<p>Default value: TRUE</p>
|
1206
|
+
</div>
|
1207
|
+
<hr>
|
1208
|
+
<div class="refsect2">
|
1209
|
+
<a name="GtkSourceBuffer--highlight-syntax"></a><h3>The <code class="literal">"highlight-syntax"</code> property</h3>
|
1210
|
+
<pre class="programlisting"> "highlight-syntax" <span class="type">gboolean</span> : Read / Write</pre>
|
1211
|
+
<p>
|
1212
|
+
Whether to highlight syntax in the buffer.
|
1213
|
+
</p>
|
1214
|
+
<p>Default value: TRUE</p>
|
1215
|
+
</div>
|
1216
|
+
<hr>
|
1217
|
+
<div class="refsect2">
|
1218
|
+
<a name="GtkSourceBuffer--language"></a><h3>The <code class="literal">"language"</code> property</h3>
|
1219
|
+
<pre class="programlisting"> "language" <a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a>* : Read / Write</pre>
|
1220
|
+
<p>Language object to get highlighting patterns from.</p>
|
1221
|
+
</div>
|
1222
|
+
<hr>
|
1223
|
+
<div class="refsect2">
|
1224
|
+
<a name="GtkSourceBuffer--max-undo-levels"></a><h3>The <code class="literal">"max-undo-levels"</code> property</h3>
|
1225
|
+
<pre class="programlisting"> "max-undo-levels" <span class="type">gint</span> : Read / Write</pre>
|
1226
|
+
<p>
|
1227
|
+
Number of undo levels for the buffer. -1 means no limit. This property
|
1228
|
+
will only affect the default undo manager.
|
1229
|
+
</p>
|
1230
|
+
<p>Allowed values: >= G_MAXULONG</p>
|
1231
|
+
<p>Default value: 1000</p>
|
1232
|
+
</div>
|
1233
|
+
<hr>
|
1234
|
+
<div class="refsect2">
|
1235
|
+
<a name="GtkSourceBuffer--style-scheme"></a><h3>The <code class="literal">"style-scheme"</code> property</h3>
|
1236
|
+
<pre class="programlisting"> "style-scheme" <a class="link" href="GtkSourceStyleScheme.html" title="GtkSourceStyleScheme"><span class="type">GtkSourceStyleScheme</span></a>* : Read / Write</pre>
|
1237
|
+
<p>
|
1238
|
+
Style scheme. It contains styles for syntax highlighting, optionally
|
1239
|
+
foreground, background, cursor color, current line color, and matching
|
1240
|
+
brackets style.
|
1241
|
+
</p>
|
1242
|
+
</div>
|
1243
|
+
<hr>
|
1244
|
+
<div class="refsect2">
|
1245
|
+
<a name="GtkSourceBuffer--undo-manager"></a><h3>The <code class="literal">"undo-manager"</code> property</h3>
|
1246
|
+
<pre class="programlisting"> "undo-manager" <a class="link" href="GtkSourceUndoManager.html" title="GtkSourceUndoManager"><span class="type">GtkSourceUndoManager</span></a>* : Read / Write / Construct</pre>
|
1247
|
+
<p>The buffer undo manager.</p>
|
1248
|
+
</div>
|
1249
|
+
</div>
|
1250
|
+
<div class="refsect1">
|
1251
|
+
<a name="GtkSourceBuffer.signal-details"></a><h2>Signal Details</h2>
|
1252
|
+
<div class="refsect2">
|
1253
|
+
<a name="GtkSourceBuffer-bracket-matched"></a><h3>The <code class="literal">"bracket-matched"</code> signal</h3>
|
1254
|
+
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer,
|
1255
|
+
<span class="type">GtkTextIter</span> *iter,
|
1256
|
+
<span class="type">GtkSourceBracketMatchType</span> state,
|
1257
|
+
<span class="type">gpointer</span> user_data) : <code class="literal">Run Last</code></pre>
|
1258
|
+
<p>
|
1259
|
+
Sets <em class="parameter"><code>iter</code></em> to a valid iterator pointing to the matching bracket
|
1260
|
+
if <em class="parameter"><code>state</code></em> is <span class="type">GTK_SOURCE_BRACKET_MATCH_FOUND</span>. Otherwise <em class="parameter"><code>iter</code></em> is
|
1261
|
+
meaningless.
|
1262
|
+
</p>
|
1263
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1264
|
+
<colgroup>
|
1265
|
+
<col align="left" valign="top">
|
1266
|
+
<col>
|
1267
|
+
</colgroup>
|
1268
|
+
<tbody>
|
1269
|
+
<tr>
|
1270
|
+
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
1271
|
+
<td>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</td>
|
1272
|
+
</tr>
|
1273
|
+
<tr>
|
1274
|
+
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
1275
|
+
<td>iterator to initialize.</td>
|
1276
|
+
</tr>
|
1277
|
+
<tr>
|
1278
|
+
<td><p><span class="term"><em class="parameter"><code>state</code></em> :</span></p></td>
|
1279
|
+
<td>state of bracket matching</td>
|
1280
|
+
</tr>
|
1281
|
+
<tr>
|
1282
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
1283
|
+
<td>user data set when the signal handler was connected.</td>
|
1284
|
+
</tr>
|
1285
|
+
</tbody>
|
1286
|
+
</table></div>
|
1287
|
+
<p class="since">Since 2.12</p>
|
1288
|
+
</div>
|
1289
|
+
<hr>
|
1290
|
+
<div class="refsect2">
|
1291
|
+
<a name="GtkSourceBuffer-highlight-updated"></a><h3>The <code class="literal">"highlight-updated"</code> signal</h3>
|
1292
|
+
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *sourcebuffer,
|
1293
|
+
<span class="type">GtkTextIter</span> *arg1,
|
1294
|
+
<span class="type">GtkTextIter</span> *arg2,
|
1295
|
+
<span class="type">gpointer</span> user_data) : <code class="literal">Run Last</code></pre>
|
1296
|
+
</div>
|
1297
|
+
<hr>
|
1298
|
+
<div class="refsect2">
|
1299
|
+
<a name="GtkSourceBuffer-redo"></a><h3>The <code class="literal">"redo"</code> signal</h3>
|
1300
|
+
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *sourcebuffer,
|
1301
|
+
<span class="type">gpointer</span> user_data) : <code class="literal">Run Last</code></pre>
|
1302
|
+
</div>
|
1303
|
+
<hr>
|
1304
|
+
<div class="refsect2">
|
1305
|
+
<a name="GtkSourceBuffer-source-mark-updated"></a><h3>The <code class="literal">"source-mark-updated"</code> signal</h3>
|
1306
|
+
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer,
|
1307
|
+
<span class="type">GtkTextMark</span> *arg1,
|
1308
|
+
<span class="type">gpointer</span> user_data) : <code class="literal">Run Last</code></pre>
|
1309
|
+
<p>
|
1310
|
+
The ::source_mark_updated signal is emitted each time
|
1311
|
+
a mark is added to, moved or removed from the <em class="parameter"><code>buffer</code></em>.
|
1312
|
+
</p>
|
1313
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1314
|
+
<colgroup>
|
1315
|
+
<col align="left" valign="top">
|
1316
|
+
<col>
|
1317
|
+
</colgroup>
|
1318
|
+
<tbody>
|
1319
|
+
<tr>
|
1320
|
+
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
1321
|
+
<td>the buffer that received the signal</td>
|
1322
|
+
</tr>
|
1323
|
+
<tr>
|
1324
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
1325
|
+
<td>user data set when the signal handler was connected.</td>
|
1326
|
+
</tr>
|
1327
|
+
</tbody>
|
1328
|
+
</table></div>
|
1329
|
+
</div>
|
1330
|
+
<hr>
|
1331
|
+
<div class="refsect2">
|
1332
|
+
<a name="GtkSourceBuffer-undo"></a><h3>The <code class="literal">"undo"</code> signal</h3>
|
1333
|
+
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *sourcebuffer,
|
1334
|
+
<span class="type">gpointer</span> user_data) : <code class="literal">Run Last</code></pre>
|
1335
|
+
</div>
|
1336
|
+
</div>
|
1337
|
+
<div class="refsect1">
|
1338
|
+
<a name="GtkSourceBuffer.see-also"></a><h2>See Also</h2>
|
1339
|
+
<span class="type">GtkTextBuffer</span>,<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>
|
1340
|
+
</div>
|
1341
|
+
</div>
|
1342
|
+
<div class="footer">
|
1343
|
+
<hr>
|
1344
|
+
Generated by GTK-Doc V1.18.1</div>
|
1345
|
+
</body>
|
1346
|
+
</html>
|