gtksourceview3 1.2.0-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- 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,651 @@
|
|
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>Language Definition v2.0 Tutorial</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="rn02.html" title="Syntax highlighting reference">
|
9
|
+
<link rel="prev" href="rn02.html" title="Syntax highlighting reference">
|
10
|
+
<link rel="next" href="lang-reference.html" title="Language Definition v2.0 Reference">
|
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"><tr valign="middle">
|
16
|
+
<td><a accesskey="p" href="rn02.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
17
|
+
<td><a accesskey="u" href="rn02.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
|
18
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
19
|
+
<th width="100%" align="center">GtkSourceView 3 Reference Manual</th>
|
20
|
+
<td><a accesskey="n" href="lang-reference.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
21
|
+
</tr></table>
|
22
|
+
<div class="refentry">
|
23
|
+
<a name="lang-tutorial"></a><div class="titlepage"></div>
|
24
|
+
<div class="refnamediv"><table width="100%"><tr>
|
25
|
+
<td valign="top">
|
26
|
+
<h2><span class="refentrytitle">Language Definition v2.0 Tutorial</span></h2>
|
27
|
+
<p>Language Definition v2.0 Tutorial —
|
28
|
+
Guide to the GtkSourceView language definition file format
|
29
|
+
</p>
|
30
|
+
</td>
|
31
|
+
<td valign="top" align="right"></td>
|
32
|
+
</tr></table></div>
|
33
|
+
<div class="refsect1">
|
34
|
+
<a name="tutorial"></a><h2>A language definition for the C language</h2>
|
35
|
+
<p>
|
36
|
+
To describe the syntax of a language GtkSourceView uses an XML format which
|
37
|
+
defines nested context to be highlighted. Each context roughly corresponds
|
38
|
+
to a portion of the syntax which has to be highlighted (e.g. keywords,
|
39
|
+
strings, comments), and can contain nested contexts (e.g. escaped
|
40
|
+
characters.)
|
41
|
+
</p>
|
42
|
+
<p>
|
43
|
+
In this tutorial we will analyze a simple example to highlight a subset of
|
44
|
+
C, based on the full C language definition.
|
45
|
+
</p>
|
46
|
+
<p>
|
47
|
+
Like every well formed XML document, the language description starts with a
|
48
|
+
XML declaration:
|
49
|
+
</p>
|
50
|
+
<pre class="programlisting">
|
51
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
52
|
+
</pre>
|
53
|
+
<p>
|
54
|
+
After the usual preamble, the main tag is the <code class="code"><language></code> element:
|
55
|
+
</p>
|
56
|
+
<pre class="programlisting">
|
57
|
+
<language id="c" _name="C" version="2.0" _section="Sources">
|
58
|
+
</pre>
|
59
|
+
<p>
|
60
|
+
The attribute <code class="code">id</code> is used in external references and defines a standard
|
61
|
+
way to refer to this language definition, while the <code class="code">name</code> attribute is
|
62
|
+
the name presented to the user (it is translatable using gettext prepending a
|
63
|
+
<code class="code">_</code>.)
|
64
|
+
</p>
|
65
|
+
<p>
|
66
|
+
The attribute <code class="code">section</code>, also translatable, tells the category where
|
67
|
+
this language should be grouped when it is presented to the user. Currently
|
68
|
+
available categories in GtkSourceView are "Sources", "Scripts", "Markup",
|
69
|
+
"Scientific" and "Others".
|
70
|
+
</p>
|
71
|
+
<p>
|
72
|
+
The attribute <code class="code">version</code> specifies the version of the xml syntax
|
73
|
+
used in your language definition file, so it should always be <code class="code">2.0</code>.
|
74
|
+
</p>
|
75
|
+
<p>
|
76
|
+
The <code class="code"><language></code> element contains three sections:
|
77
|
+
<code class="code"><metadata></code>, <code class="code"><styles></code> and
|
78
|
+
<code class="code"><definitions></code>
|
79
|
+
</p>
|
80
|
+
<pre class="programlisting">
|
81
|
+
<metadata>
|
82
|
+
</pre>
|
83
|
+
<p>
|
84
|
+
The <code class="code"><metadata></code> element is optional and provides a collection
|
85
|
+
of properties which specify arbitrary information about the language definition
|
86
|
+
file itself. It is particularly important to specify the conventional
|
87
|
+
<code class="code">mimetypes</code> and <code class="code">globs</code> properties that
|
88
|
+
GtkSourceView uses to automatically detect which syntax highlighting to use
|
89
|
+
for a given file. They respectively contain a semi-colon separated list of
|
90
|
+
mimetypes and filename extensions.
|
91
|
+
</p>
|
92
|
+
<pre class="programlisting">
|
93
|
+
<metadata>
|
94
|
+
<property name="mimetypes">text/x-c;text/x-csrc</property>
|
95
|
+
<property name="globs">*.c</property>
|
96
|
+
</metadata>
|
97
|
+
</pre>
|
98
|
+
<pre class="programlisting">
|
99
|
+
<styles>
|
100
|
+
</pre>
|
101
|
+
<p>
|
102
|
+
This element contains every association between the styles used in the
|
103
|
+
description and the defaults stored internally in GtkSourceView.
|
104
|
+
For each style there is a <code class="code"><style></code> element:
|
105
|
+
</p>
|
106
|
+
<pre class="programlisting">
|
107
|
+
<style id="comment" _name="Comment" map-to="def:comment"/>
|
108
|
+
</pre>
|
109
|
+
<p>
|
110
|
+
This defines a <code class="code">comment</code> style, which inherits the font
|
111
|
+
properties from the defaults style <code class="code">def:comment</code>.
|
112
|
+
The <code class="code">name</code> attribute contains the translatable name for this
|
113
|
+
style, which is the name to show to the user.
|
114
|
+
</p>
|
115
|
+
<p>
|
116
|
+
For each style used in the language definition there is a corresponding
|
117
|
+
<code class="code"><style></code> element; every style can be used in different
|
118
|
+
contexts, so they will share the same appearance.
|
119
|
+
</p>
|
120
|
+
<pre class="programlisting">
|
121
|
+
<style id="string" _name="String" map-to="def:string"/>
|
122
|
+
<style id="escaped-character" _name="Escaped Character" map-to="def:special-char"/>
|
123
|
+
<style id="preprocessor" _name="Preprocessor" map-to="def:preprocessor"/>
|
124
|
+
<style id="included-file" _name="Included File" map-to="def:string"/>
|
125
|
+
<style id="char" _name="Character" map-to="def:character"/>
|
126
|
+
<style id="keyword" _name="Keyword" map-to="def:keyword"/>
|
127
|
+
<style id="type" _name="Data Type" map-to="def:type"/>
|
128
|
+
</pre>
|
129
|
+
<p>
|
130
|
+
Following the <code class="code"><styles></code> element there is the
|
131
|
+
<code class="code"><definitions></code> element, which contains the
|
132
|
+
description proper of the syntax:
|
133
|
+
</p>
|
134
|
+
<pre class="programlisting">
|
135
|
+
<definitions>
|
136
|
+
</pre>
|
137
|
+
<p>
|
138
|
+
Here we should define a main context, the one we enter at the beginning of
|
139
|
+
the file: to do so we use the <code class="code"><context></code> tag, with an
|
140
|
+
<code class="code">id</code> equal to the <code class="code">id</code> of the
|
141
|
+
<code class="code"><language></code> element:
|
142
|
+
</p>
|
143
|
+
<pre class="programlisting">
|
144
|
+
<context id="c">
|
145
|
+
</pre>
|
146
|
+
<p>
|
147
|
+
The element <code class="code"><include></code> contains the list of sub-contexts
|
148
|
+
for the current context: as we are in the main context we should put here
|
149
|
+
the top level contexts for the C language:
|
150
|
+
</p>
|
151
|
+
<pre class="programlisting">
|
152
|
+
<include>
|
153
|
+
</pre>
|
154
|
+
<p>
|
155
|
+
The first context defined is the one for single-line C style comments: they
|
156
|
+
start with a double slash <code class="code">//</code> and end at the end of the line:
|
157
|
+
</p>
|
158
|
+
<pre class="programlisting">
|
159
|
+
<context id="comment" style-ref="comment">
|
160
|
+
<start>\/\/</start>
|
161
|
+
<end>$</end>
|
162
|
+
</context>
|
163
|
+
</pre>
|
164
|
+
<p>
|
165
|
+
The <code class="code"><start></code> element contains the regular expression telling
|
166
|
+
the highlighting engine to enter in the defined context, until the terminating
|
167
|
+
regular expression contained in the <code class="code"><end></code> element is found.
|
168
|
+
</p>
|
169
|
+
<p>
|
170
|
+
Those regular expressions are PCRE regular expressions in the form
|
171
|
+
<code class="code">/regex/options</code> (see the documentation of PCRE for details.) If
|
172
|
+
there are no options to be specified and you don't need to match the spaces at
|
173
|
+
the start and at the end of the regular expression, you can omit the slashes,
|
174
|
+
putting here only <code class="code">regex</code>.
|
175
|
+
</p>
|
176
|
+
<p>
|
177
|
+
The possible options are:
|
178
|
+
</p>
|
179
|
+
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
|
180
|
+
<li class="listitem"><p>
|
181
|
+
<code class="code">i</code>: case insensitive;
|
182
|
+
</p></li>
|
183
|
+
<li class="listitem"><p>
|
184
|
+
<code class="code">x</code>: extended (spaces are ignored and it is possible to put comments
|
185
|
+
starting with <code class="code">#</code> and ending at the end of the line);
|
186
|
+
</p></li>
|
187
|
+
<li class="listitem"><p>
|
188
|
+
<code class="code">s</code>: the metacharacter <code class="code">.</code> matches the <code class="code">\n</code>.
|
189
|
+
</p></li>
|
190
|
+
</ul></div>
|
191
|
+
<p>
|
192
|
+
You can set the default options using the <code class="code"><default-regex-options</code> tag
|
193
|
+
before the <code class="code"><definitions></code> element. To disable a group of options,
|
194
|
+
instead, you have to preced them with a hyphen (<code class="code">-</code>).
|
195
|
+
[FIXME: add an example]
|
196
|
+
</p>
|
197
|
+
<p>
|
198
|
+
In GtkSourceView are available also some extensions to the standard perl
|
199
|
+
style regular expressions:
|
200
|
+
</p>
|
201
|
+
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
|
202
|
+
<li class="listitem"><p>
|
203
|
+
<code class="code">\%[</code> and <code class="code">\%]</code> are custom word boundaries, which can
|
204
|
+
be redefined with the <code class="code"><keyword-char-class></code> tag (in
|
205
|
+
contrast with <code class="code">\b</code>);
|
206
|
+
</p></li>
|
207
|
+
<li class="listitem"><p>
|
208
|
+
<code class="code">\%{id}</code> will include the regular expression defined in the
|
209
|
+
<code class="code"><define-regex></code> tag with the same id, useful if you have
|
210
|
+
common portions of regular expressions used in different contexts;
|
211
|
+
</p></li>
|
212
|
+
<li class="listitem"><p>
|
213
|
+
<code class="code">\%{subpattern@start}</code> can be used only inside the
|
214
|
+
<code class="code"><end></code> tag and will be substituted with the
|
215
|
+
string matched in the corresponding
|
216
|
+
sub-pattern (can be a number or a name if named sub-patterns are
|
217
|
+
used) in the preceding <code class="code"><start></code> element. For an example
|
218
|
+
see the implementation of here-documents in the <code class="filename">sh.lang</code>
|
219
|
+
language description distribuited with GtkSourceView.
|
220
|
+
</p></li>
|
221
|
+
</ul></div>
|
222
|
+
<p>
|
223
|
+
The next context is for C-style strings. They start and end with a double
|
224
|
+
quote but they can contain escaped double quotes, so we sould make sure
|
225
|
+
we don't end the string prematurely:
|
226
|
+
</p>
|
227
|
+
<pre class="programlisting">
|
228
|
+
<context id="string" end-at-line-end="true"
|
229
|
+
style-ref="string">
|
230
|
+
</pre>
|
231
|
+
<p>
|
232
|
+
The <code class="code">end-at-line-end</code> attribute tells the engine that the current context
|
233
|
+
should be forced to terminate at the end of the line, even if the ending
|
234
|
+
regular expression is not found, and that an error should be displayed.
|
235
|
+
</p>
|
236
|
+
<pre class="programlisting">
|
237
|
+
<start>"</start>
|
238
|
+
<end>"</end>
|
239
|
+
<include>
|
240
|
+
</pre>
|
241
|
+
<p>
|
242
|
+
To implement the escape handling we include a <code class="code">escape</code> context:
|
243
|
+
</p>
|
244
|
+
<pre class="programlisting">
|
245
|
+
<context id="escape" style-ref="escaped-character">
|
246
|
+
<match>\\.</match>
|
247
|
+
</context>
|
248
|
+
</pre>
|
249
|
+
<p>
|
250
|
+
This is a simple context matching a single regular expression, contained in
|
251
|
+
the <code class="code"><match></code> element. This context will extend its parent, causing the
|
252
|
+
ending regular expression of the <code class="code">"string"</code> context to not match the escaped
|
253
|
+
double quote.
|
254
|
+
</p>
|
255
|
+
<pre class="programlisting">
|
256
|
+
</include>
|
257
|
+
</context>
|
258
|
+
</pre>
|
259
|
+
<p>
|
260
|
+
Multiline C-style comment can span over multiple lines and cannot be
|
261
|
+
escaped, but to make things more interesting we want to highlight every
|
262
|
+
internet address contained:
|
263
|
+
</p>
|
264
|
+
<pre class="programlisting">
|
265
|
+
<context id="comment-multiline" style-ref="comment">
|
266
|
+
<start>\/\*</start>
|
267
|
+
<end>\*\/</end>
|
268
|
+
<include>
|
269
|
+
<context id="net-address" style-ref="net-address"
|
270
|
+
extend-parent="false">
|
271
|
+
</pre>
|
272
|
+
<p>
|
273
|
+
In this case, the child should be terminated if the end of the parent is
|
274
|
+
found, so we use <code class="code">false</code> in the <code class="code">extend-parent</code> attribute.
|
275
|
+
</p>
|
276
|
+
<pre class="programlisting">
|
277
|
+
<match>http:\/\/[^\s]*</match>
|
278
|
+
</context>
|
279
|
+
</include>
|
280
|
+
</context>
|
281
|
+
</pre>
|
282
|
+
<p>
|
283
|
+
For instance in the following comment the string <code class="code">http://www.gnome.org*/</code>
|
284
|
+
matches the <code class="code">net-address</code> context but it contains the end of the parent
|
285
|
+
context (<code class="code">*/</code>.) As <code class="code">extend-parent</code> is false,
|
286
|
+
only <code class="code">http://www.gnome.org</code> is
|
287
|
+
highlighted as an address and <code class="code">*/</code> is correctly recognized as the end of
|
288
|
+
the comment.
|
289
|
+
</p>
|
290
|
+
<pre class="programlisting">
|
291
|
+
/* This is a comment http://www.gnome.org */
|
292
|
+
</pre>
|
293
|
+
<p>
|
294
|
+
Character constants in C are delimited by single quotes (<code class="code">'</code>) and can
|
295
|
+
contain escaped characters:
|
296
|
+
</p>
|
297
|
+
<pre class="programlisting">
|
298
|
+
<context id="char" end-at-line-end="true" style-ref="string">
|
299
|
+
<start>'</start>
|
300
|
+
<end>'</end>
|
301
|
+
<include>
|
302
|
+
<context ref="escape"/>
|
303
|
+
</pre>
|
304
|
+
<p>
|
305
|
+
The <code class="code">ref</code> attribute is used when we want to reuse a previously defined
|
306
|
+
context. Here we reuse the <code class="code">escape</code> context defined in the <code class="code">string</code>
|
307
|
+
context, without repeating its definition.
|
308
|
+
</p>
|
309
|
+
<pre class="programlisting">
|
310
|
+
</include>
|
311
|
+
</context>
|
312
|
+
</pre>
|
313
|
+
<p>
|
314
|
+
Using <code class="code">ref</code> it is also possible to refer to contexts defined in other
|
315
|
+
languages, preceding the id of the context with the id of the containing
|
316
|
+
language, separating them with a colon:
|
317
|
+
</p>
|
318
|
+
<pre class="programlisting">
|
319
|
+
<context ref="def:decimal"/>
|
320
|
+
<context ref="def:float"/>
|
321
|
+
</pre>
|
322
|
+
<p>
|
323
|
+
The definitions for decimal and float constants are in a external file,
|
324
|
+
with id <code class="code">def</code>, which is not associated with any language but contains
|
325
|
+
reusable contexts wich every language definition can import.
|
326
|
+
</p>
|
327
|
+
<p>
|
328
|
+
The <code class="code">def</code> language file contains an <code class="code">in-comment</code> context that can contain
|
329
|
+
addresses and tags such as FIXME and TODO, so we can write a new version of
|
330
|
+
our <code class="code">comment-multiline</code> context that uses the definitions from <code class="code">def.lang</code>.
|
331
|
+
</p>
|
332
|
+
<pre class="programlisting">
|
333
|
+
<context id="comment-multiline" style-ref="comment">
|
334
|
+
<start>\/\*</start>
|
335
|
+
<end>\*\/</end>
|
336
|
+
<include>
|
337
|
+
<context ref="def:in-comment"/>
|
338
|
+
</pre>
|
339
|
+
<pre class="programlisting">
|
340
|
+
</include>
|
341
|
+
</context>
|
342
|
+
</pre>
|
343
|
+
<p>
|
344
|
+
Keywords can be grouped in a context using a list of <code class="code"><keyword></code>
|
345
|
+
elements:
|
346
|
+
</p>
|
347
|
+
<pre class="programlisting">
|
348
|
+
<context id="keywords" style-ref="keyword">
|
349
|
+
<keyword>if</keyword>
|
350
|
+
<keyword>else</keyword>
|
351
|
+
<keyword>for</keyword>
|
352
|
+
<keyword>while</keyword>
|
353
|
+
<keyword>return</keyword>
|
354
|
+
<keyword>break</keyword>
|
355
|
+
<keyword>switch</keyword>
|
356
|
+
<keyword>case</keyword>
|
357
|
+
<keyword>default</keyword>
|
358
|
+
<keyword>do</keyword>
|
359
|
+
<keyword>continue</keyword>
|
360
|
+
<keyword>goto</keyword>
|
361
|
+
<keyword>sizeof</keyword>
|
362
|
+
</context>
|
363
|
+
</pre>
|
364
|
+
<p>
|
365
|
+
Keywords with different meaning can be grouped in different context, making
|
366
|
+
possible to highlight them differently:
|
367
|
+
</p>
|
368
|
+
<pre class="programlisting">
|
369
|
+
<context id="types" style-ref="type">
|
370
|
+
<keyword>char</keyword>
|
371
|
+
<keyword>const</keyword>
|
372
|
+
<keyword>double</keyword>
|
373
|
+
<keyword>enum</keyword>
|
374
|
+
<keyword>float</keyword>
|
375
|
+
<keyword>int</keyword>
|
376
|
+
<keyword>long</keyword>
|
377
|
+
<keyword>short</keyword>
|
378
|
+
<keyword>signed</keyword>
|
379
|
+
<keyword>static</keyword>
|
380
|
+
<keyword>struct</keyword>
|
381
|
+
<keyword>typedef</keyword>
|
382
|
+
<keyword>union</keyword>
|
383
|
+
<keyword>unsigned</keyword>
|
384
|
+
<keyword>void</keyword>
|
385
|
+
</context>
|
386
|
+
</pre>
|
387
|
+
<p>
|
388
|
+
You can also set a prefix (or a suffix) common to every keyword using the
|
389
|
+
<code class="code"><prefix></code> and <code class="code"><suffix></code> tags:
|
390
|
+
</p>
|
391
|
+
<pre class="programlisting">
|
392
|
+
<context id="preprocessor" style-ref="preprocessor">
|
393
|
+
<prefix>^#</prefix>
|
394
|
+
</pre>
|
395
|
+
<p>
|
396
|
+
If not specified, <code class="code"><prefix></code> and <code class="code"><suffix></code>
|
397
|
+
are set to, respectively, <code class="code">\%[</code> and
|
398
|
+
<code class="code">\%]</code>.
|
399
|
+
</p>
|
400
|
+
<pre class="programlisting">
|
401
|
+
<keyword>define</keyword>
|
402
|
+
<keyword>undef</keyword>
|
403
|
+
</pre>
|
404
|
+
<p>
|
405
|
+
Keep in mind that every keyword is a regular expression:
|
406
|
+
</p>
|
407
|
+
<pre class="programlisting">
|
408
|
+
<keyword>if(n?def)?</keyword>
|
409
|
+
<keyword>else</keyword>
|
410
|
+
<keyword>elif</keyword>
|
411
|
+
<keyword>endif</keyword>
|
412
|
+
</context>
|
413
|
+
</pre>
|
414
|
+
<p>
|
415
|
+
In C, there is a common pratice to use <code class="code">#if 0</code> to express multi-line
|
416
|
+
nesting comments. To make things easier to the user, we want to highlight
|
417
|
+
these pseudo-comments as comments:
|
418
|
+
</p>
|
419
|
+
<pre class="programlisting">
|
420
|
+
<context id="if0-comment" style-ref="comment">
|
421
|
+
<start>^#if 0\b</start>
|
422
|
+
<end>^#(endif|else|elif)\b</end>
|
423
|
+
<include>
|
424
|
+
</pre>
|
425
|
+
<p>
|
426
|
+
As <code class="code">#if 0</code> comments are nesting, we should consider that inside a comment
|
427
|
+
we can find other <code class="code">#if</code>s with the corresponding <code class="code">#endif</code>s, avoiding
|
428
|
+
the termination of the comment on the wrong <code class="code">#endif</code>. To do so we use a
|
429
|
+
nested context, that will extend the parent on every nested
|
430
|
+
<code class="code">#if</code>/<code class="code">#endif</code>:
|
431
|
+
</p>
|
432
|
+
<pre class="programlisting">
|
433
|
+
<context id="if-in-if0">
|
434
|
+
<start>^#if(n?def)?\b</start>
|
435
|
+
<end>^#endif\b</end>
|
436
|
+
<include>
|
437
|
+
</pre>
|
438
|
+
<p>
|
439
|
+
Nested contexts can be recursive:
|
440
|
+
</p>
|
441
|
+
<pre class="programlisting">
|
442
|
+
<context ref="if-in-if0"/>
|
443
|
+
</include>
|
444
|
+
</context>
|
445
|
+
</include>
|
446
|
+
</context>
|
447
|
+
</pre>
|
448
|
+
<p>
|
449
|
+
Because contexts defined before have higher priority, <code class="code">if0-comment</code> will
|
450
|
+
never be matched. To make things work we should move it before the
|
451
|
+
<code class="code">preprocessor</code> context, thus giving <code class="code">if0-comment</code> a higher priority.
|
452
|
+
</p>
|
453
|
+
<p>
|
454
|
+
For the <code class="code">#include</code> preprocessor directive it could be useful to highlight
|
455
|
+
differently the included file:
|
456
|
+
</p>
|
457
|
+
<pre class="programlisting">
|
458
|
+
<context id="include" style-ref="preprocessor">
|
459
|
+
<match>^#include (".*"|<.*>)</match>
|
460
|
+
<include>
|
461
|
+
</pre>
|
462
|
+
<p>
|
463
|
+
To do this we use grouping sub-patterns in the regular expression,
|
464
|
+
associating them with a context with the <code class="code">sub-pattern</code> attribute:
|
465
|
+
</p>
|
466
|
+
<pre class="programlisting">
|
467
|
+
<context id="included-file" sub-pattern="1"
|
468
|
+
style-ref="package"/>
|
469
|
+
</pre>
|
470
|
+
<p>
|
471
|
+
In the <code class="code">sub-pattern</code> attribute we could use:
|
472
|
+
</p>
|
473
|
+
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
|
474
|
+
<li class="listitem"><p>
|
475
|
+
0: the whole regular expression;
|
476
|
+
</p></li>
|
477
|
+
<li class="listitem"><p>
|
478
|
+
1: the first sub-pattern (a sub-espression enclosed in
|
479
|
+
parenthesis);
|
480
|
+
</p></li>
|
481
|
+
<li class="listitem"><p>
|
482
|
+
2: the second;
|
483
|
+
</p></li>
|
484
|
+
<li class="listitem"><p>
|
485
|
+
...
|
486
|
+
</p></li>
|
487
|
+
<li class="listitem"><p>
|
488
|
+
<code class="code">name</code>: a named sub-pattern with name <code class="code">name</code> (see the PCRE
|
489
|
+
documentation.)
|
490
|
+
</p></li>
|
491
|
+
</ul></div>
|
492
|
+
<p>
|
493
|
+
We could also use a <code class="code">where</code> attribute with value
|
494
|
+
<code class="code">start</code> or <code class="code">end</code> to
|
495
|
+
specify the regular expression the context is referring, when we have both
|
496
|
+
the <code class="code"><start></code> and <code class="code"><end></code> element.
|
497
|
+
</p>
|
498
|
+
<pre class="programlisting">
|
499
|
+
</include>
|
500
|
+
</context>
|
501
|
+
</pre>
|
502
|
+
<p>
|
503
|
+
Having defined a good subset of the C syntax we close every tag still open:
|
504
|
+
</p>
|
505
|
+
<pre class="programlisting">
|
506
|
+
</include>
|
507
|
+
</context>
|
508
|
+
</definitions>
|
509
|
+
</language>
|
510
|
+
</pre>
|
511
|
+
</div>
|
512
|
+
<div class="refsect1">
|
513
|
+
<a name="idp4578608"></a><h2>The full language definition</h2>
|
514
|
+
<p>
|
515
|
+
This is the full language definition for the subset of C taken in consideration
|
516
|
+
for this tutorial:
|
517
|
+
</p>
|
518
|
+
<pre class="programlisting">
|
519
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
520
|
+
<language id="c" _name="C" version="2.0" _section="Sources"
|
521
|
+
mimetypes="text/x-c;text/x-chdr;text/x-csrc">
|
522
|
+
<styles>
|
523
|
+
<style id="string" _name="String" map-to="def:string"/>
|
524
|
+
<style id="escaped-character" _name="Escaped Character" map-to="def:special-char"/>
|
525
|
+
<style id="preprocessor" _name="Preprocessor" map-to="def:preprocessor"/>
|
526
|
+
<style id="included-file" _name="Included File" map-to="def:string"/>
|
527
|
+
<style id="char" _name="Character" map-to="def:character"/>
|
528
|
+
<style id="keyword" _name="Keyword" map-to="def:keyword"/>
|
529
|
+
<style id="type" _name="Data Type" map-to="def:type"/>
|
530
|
+
</styles>
|
531
|
+
<definitions>
|
532
|
+
<context id="c">
|
533
|
+
<include>
|
534
|
+
|
535
|
+
<context id="comment" style-ref="comment">
|
536
|
+
<start>\/\/</start>
|
537
|
+
<end>$</end>
|
538
|
+
</context>
|
539
|
+
|
540
|
+
<context id="string" end-at-line-end="true"
|
541
|
+
style-ref="string">
|
542
|
+
<start>"</start>
|
543
|
+
<end>"</end>
|
544
|
+
<include>
|
545
|
+
<context id="escaped-character" style-ref="escaped-character">
|
546
|
+
<match>\\.</match>
|
547
|
+
</context>
|
548
|
+
</include>
|
549
|
+
</context>
|
550
|
+
|
551
|
+
<context id="comment-multiline"
|
552
|
+
style-ref="comment">
|
553
|
+
<start>\/\*</start>
|
554
|
+
<end>\*\/</end>
|
555
|
+
<include>
|
556
|
+
<context ref="def:in-comment"/>
|
557
|
+
</include>
|
558
|
+
</context>
|
559
|
+
|
560
|
+
<context id="char" end-at-line-end="true" style-ref="char">
|
561
|
+
<start>'</start>
|
562
|
+
<end>'</end>
|
563
|
+
<include>
|
564
|
+
<context ref="escaped-character"/>
|
565
|
+
</include>
|
566
|
+
</context>
|
567
|
+
|
568
|
+
<context ref="def:decimal"/>
|
569
|
+
<context ref="def:float"/>
|
570
|
+
|
571
|
+
<context id="keywords" style-ref="keyword">
|
572
|
+
<keyword>if</keyword>
|
573
|
+
<keyword>else</keyword>
|
574
|
+
<keyword>for</keyword>
|
575
|
+
<keyword>while</keyword>
|
576
|
+
<keyword>return</keyword>
|
577
|
+
<keyword>break</keyword>
|
578
|
+
<keyword>switch</keyword>
|
579
|
+
<keyword>case</keyword>
|
580
|
+
<keyword>default</keyword>
|
581
|
+
<keyword>do</keyword>
|
582
|
+
<keyword>continue</keyword>
|
583
|
+
<keyword>goto</keyword>
|
584
|
+
<keyword>sizeof</keyword>
|
585
|
+
</context>
|
586
|
+
|
587
|
+
<context id="types" style-ref="type">
|
588
|
+
<keyword>char</keyword>
|
589
|
+
<keyword>const</keyword>
|
590
|
+
<keyword>double</keyword>
|
591
|
+
<keyword>enum</keyword>
|
592
|
+
<keyword>float</keyword>
|
593
|
+
<keyword>int</keyword>
|
594
|
+
<keyword>long</keyword>
|
595
|
+
<keyword>short</keyword>
|
596
|
+
<keyword>signed</keyword>
|
597
|
+
<keyword>static</keyword>
|
598
|
+
<keyword>struct</keyword>
|
599
|
+
<keyword>typedef</keyword>
|
600
|
+
<keyword>union</keyword>
|
601
|
+
<keyword>unsigned</keyword>
|
602
|
+
<keyword>void</keyword>
|
603
|
+
</context>
|
604
|
+
|
605
|
+
<context id="preprocessor"
|
606
|
+
style-ref="preprocessor">
|
607
|
+
<prefix>^#</prefix>
|
608
|
+
|
609
|
+
<keyword>define</keyword>
|
610
|
+
<keyword>undef</keyword>
|
611
|
+
<keyword>if(n?def)?</keyword>
|
612
|
+
<keyword>else</keyword>
|
613
|
+
<keyword>elif</keyword>
|
614
|
+
<keyword>endif</keyword>
|
615
|
+
</context>
|
616
|
+
|
617
|
+
<context id="if0-comment" style-ref="comment">
|
618
|
+
<start>^#if 0\b</start>
|
619
|
+
<end>^#(endif|else|elif)\b</end>
|
620
|
+
<include>
|
621
|
+
<context id="if-in-if0">
|
622
|
+
<start>^#if(n?def)?\b</start>
|
623
|
+
<end>^#endif\b</end>
|
624
|
+
<include>
|
625
|
+
<context ref="if-in-if0"/>
|
626
|
+
</include>
|
627
|
+
</context>
|
628
|
+
</include>
|
629
|
+
</context>
|
630
|
+
|
631
|
+
<context id="include" style-ref="preprocessor">
|
632
|
+
<match>^#include (".*"|<.*>)</match>
|
633
|
+
<include>
|
634
|
+
<context id="included-file"
|
635
|
+
sub-pattern="1"
|
636
|
+
style-ref="inlcuded-file"/>
|
637
|
+
</include>
|
638
|
+
</context>
|
639
|
+
|
640
|
+
</include>
|
641
|
+
</context>
|
642
|
+
</definitions>
|
643
|
+
</language>
|
644
|
+
</pre>
|
645
|
+
</div>
|
646
|
+
</div>
|
647
|
+
<div class="footer">
|
648
|
+
<hr>
|
649
|
+
Generated by GTK-Doc V1.18.1</div>
|
650
|
+
</body>
|
651
|
+
</html>
|