gtksourceview3 2.0.2-x86-mingw32 → 2.0.3-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Rakefile +15 -2
- data/ext/gtksourceview3/extconf.rb +7 -2
- data/lib/1.9/gtksourceview3.so +0 -0
- data/lib/2.0/gtksourceview3.so +0 -0
- data/vendor/local/bin/libgtksourceview-3.0-1.dll +0 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/completion-providers/words/gtksourcecompletionwords.h +4 -4
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksource.h +4 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcebuffer.h +80 -90
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletioninfo.h +4 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletionitem.h +2 -2
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutterrenderer.h +9 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutterrendererpixbuf.h +2 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcemarkattributes.h +3 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcesearchcontext.h +133 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcesearchsettings.h +85 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyle.h +8 -4
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestylescheme.h +52 -35
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyleschememanager.h +2 -6
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcetypes.h +2 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceutils.h +34 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceview-typebuiltins.h +6 -6
- data/vendor/local/lib/girepository-1.0/GtkSource-3.0.typelib +0 -0
- data/vendor/local/lib/libgtksourceview-3.0.dll.a +0 -0
- data/vendor/local/lib/libgtksourceview-3.0.la +5 -5
- data/vendor/local/lib/locale/as/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/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/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/es/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/he/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/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/nb/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/ru/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/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/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 +2 -2
- data/vendor/local/share/gir-1.0/GtkSource-3.0.gir +9479 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceBuffer.html +311 -252
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletion.html +13 -16
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionContext.html +26 -15
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionInfo.html +24 -22
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionItem.html +16 -15
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProposal.html +12 -15
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProvider.html +22 -20
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionWords.html +24 -16
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutter.html +14 -17
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRenderer.html +25 -21
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererPixbuf.html +118 -18
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererText.html +14 -17
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguage.html +13 -16
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguageManager.html +14 -17
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMark.html +19 -23
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMarkAttributes.html +27 -18
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourcePrintCompositor.html +22 -25
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSearchContext.html +895 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSearchSettings.html +465 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyle.html +13 -16
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleScheme.html +16 -19
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeManager.html +15 -15
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceUndoManager.html +13 -16
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceView.html +15 -18
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/annotation-glossary.html +43 -40
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-0.html +11 -14
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-10.html +195 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-4.html +35 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-deprecated.html +42 -13
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-full.html +182 -13
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch01.html +26 -17
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch02.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-GtkSourceUtils.html +140 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0.devhelp2 +155 -105
- 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 +23 -12
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/index.sgml +213 -150
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-reference.html +18 -10
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-tutorial.html +202 -196
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/left-insensitive.png +0 -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/object-tree.html +11 -9
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/right-insensitive.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/style-reference.html +11 -11
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/style.css +71 -16
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/up.png +0 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/changelog.lang +1 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/cpp.lang +6 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/javascript.lang +1 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/julia.lang +378 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/mediawiki.lang +323 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/perl.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/scala.lang +384 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/xml.lang +2 -2
- data/vendor/local/share/gtksourceview-3.0/styles/classic.xml +1 -1
- data/vendor/local/share/gtksourceview-3.0/styles/cobalt.xml +2 -1
- data/vendor/local/share/gtksourceview-3.0/styles/kate.xml +1 -1
- data/vendor/local/share/gtksourceview-3.0/styles/oblivion.xml +2 -2
- data/vendor/local/share/gtksourceview-3.0/styles/tango.xml +2 -2
- metadata +26 -293
- data/README +0 -29
- 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/libxml2/libxml/DOCBparser.h +0 -96
- data/vendor/local/include/libxml2/libxml/HTMLparser.h +0 -306
- data/vendor/local/include/libxml2/libxml/HTMLtree.h +0 -147
- data/vendor/local/include/libxml2/libxml/SAX.h +0 -173
- data/vendor/local/include/libxml2/libxml/SAX2.h +0 -176
- data/vendor/local/include/libxml2/libxml/c14n.h +0 -126
- data/vendor/local/include/libxml2/libxml/catalog.h +0 -182
- data/vendor/local/include/libxml2/libxml/chvalid.h +0 -230
- data/vendor/local/include/libxml2/libxml/debugXML.h +0 -217
- data/vendor/local/include/libxml2/libxml/dict.h +0 -80
- data/vendor/local/include/libxml2/libxml/encoding.h +0 -240
- data/vendor/local/include/libxml2/libxml/entities.h +0 -150
- data/vendor/local/include/libxml2/libxml/globals.h +0 -502
- data/vendor/local/include/libxml2/libxml/hash.h +0 -233
- data/vendor/local/include/libxml2/libxml/list.h +0 -137
- data/vendor/local/include/libxml2/libxml/nanoftp.h +0 -163
- data/vendor/local/include/libxml2/libxml/nanohttp.h +0 -81
- data/vendor/local/include/libxml2/libxml/parser.h +0 -1240
- data/vendor/local/include/libxml2/libxml/parserInternals.h +0 -644
- data/vendor/local/include/libxml2/libxml/pattern.h +0 -100
- data/vendor/local/include/libxml2/libxml/relaxng.h +0 -213
- data/vendor/local/include/libxml2/libxml/schemasInternals.h +0 -958
- data/vendor/local/include/libxml2/libxml/schematron.h +0 -142
- data/vendor/local/include/libxml2/libxml/threads.h +0 -84
- data/vendor/local/include/libxml2/libxml/tree.h +0 -1303
- data/vendor/local/include/libxml2/libxml/uri.h +0 -94
- data/vendor/local/include/libxml2/libxml/valid.h +0 -458
- data/vendor/local/include/libxml2/libxml/xinclude.h +0 -129
- data/vendor/local/include/libxml2/libxml/xlink.h +0 -189
- data/vendor/local/include/libxml2/libxml/xmlIO.h +0 -366
- data/vendor/local/include/libxml2/libxml/xmlautomata.h +0 -146
- data/vendor/local/include/libxml2/libxml/xmlerror.h +0 -944
- data/vendor/local/include/libxml2/libxml/xmlexports.h +0 -162
- data/vendor/local/include/libxml2/libxml/xmlmemory.h +0 -224
- data/vendor/local/include/libxml2/libxml/xmlmodule.h +0 -57
- data/vendor/local/include/libxml2/libxml/xmlreader.h +0 -428
- data/vendor/local/include/libxml2/libxml/xmlregexp.h +0 -222
- data/vendor/local/include/libxml2/libxml/xmlsave.h +0 -88
- data/vendor/local/include/libxml2/libxml/xmlschemas.h +0 -246
- data/vendor/local/include/libxml2/libxml/xmlschemastypes.h +0 -151
- data/vendor/local/include/libxml2/libxml/xmlstring.h +0 -140
- data/vendor/local/include/libxml2/libxml/xmlunicode.h +0 -202
- data/vendor/local/include/libxml2/libxml/xmlversion.h +0 -480
- data/vendor/local/include/libxml2/libxml/xmlwriter.h +0 -488
- data/vendor/local/include/libxml2/libxml/xpath.h +0 -550
- data/vendor/local/include/libxml2/libxml/xpathInternals.h +0 -632
- data/vendor/local/include/libxml2/libxml/xpointer.h +0 -114
- data/vendor/local/lib/libxml2.def +0 -1659
- data/vendor/local/lib/libxml2.dll.a +0 -0
- data/vendor/local/lib/libxml2.lib +0 -0
- data/vendor/local/lib/pkgconfig/libxml-2.0.pc +0 -13
- data/vendor/local/manifest/libxml2-dev_2.9.0-1_win32.mft +0 -268
- data/vendor/local/manifest/libxml2_2.9.0-1_win32.mft +0 -2
- data/vendor/local/share/aclocal/libxml.m4 +0 -188
- data/vendor/local/share/doc/libxml2-2.9.0/Copyright +0 -27
- data/vendor/local/share/doc/libxml2-2.9.0/examples/testHTML.c +0 -880
- data/vendor/local/share/doc/libxml2-2.9.0/examples/testSAX.c +0 -1198
- data/vendor/local/share/doc/libxml2-2.9.0/examples/testXPath.c +0 -229
- data/vendor/local/share/doc/libxml2-2.9.0/examples/xmllint.c +0 -3770
- 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 +0 -282
- 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 +0 -207
- data/vendor/local/share/doc/libxml2-2.9.0/html/examples.xml +0 -751
- data/vendor/local/share/doc/libxml2-2.9.0/html/examples.xsl +0 -174
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/book1.html +0 -13
- 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 +0 -13
- 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 +0 -51
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-HTMLparser.html +0 -184
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-HTMLtree.html +0 -73
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-SAX.html +0 -125
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-SAX2.html +0 -128
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-c14n.html +0 -38
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-catalog.html +0 -142
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-chvalid.html +0 -72
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-debugXML.html +0 -120
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-dict.html +0 -58
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-encoding.html +0 -124
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-entities.html +0 -79
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-globals.html +0 -152
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-hash.html +0 -116
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-lib.html +0 -13
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-list.html +0 -120
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-nanoftp.html +0 -94
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-nanohttp.html +0 -65
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-parser.html +0 -559
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-parserInternals.html +0 -322
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-pattern.html +0 -76
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-relaxng.html +0 -162
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-schemasInternals.html +0 -373
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-schematron.html +0 -81
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-threads.html +0 -72
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-tree.html +0 -989
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-uri.html +0 -73
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-valid.html +0 -289
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xinclude.html +0 -59
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xlink.html +0 -82
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlIO.html +0 -212
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlautomata.html +0 -85
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlerror.html +0 -864
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlexports.html +0 -20
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlmemory.html +0 -107
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlmodule.html +0 -38
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlreader.html +0 -330
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlregexp.html +0 -143
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlsave.html +0 -60
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlschemas.html +0 -185
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlschemastypes.html +0 -123
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlstring.html +0 -108
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlunicode.html +0 -512
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlversion.html +0 -62
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlwriter.html +0 -261
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xpath.html +0 -310
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xpathInternals.html +0 -394
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xpointer.html +0 -83
- 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 +0 -14
- data/vendor/local/share/doc/libxml2-2.9.0/html/io1.c +0 -166
- data/vendor/local/share/doc/libxml2-2.9.0/html/io1.res +0 -5
- data/vendor/local/share/doc/libxml2-2.9.0/html/io2.c +0 -58
- data/vendor/local/share/doc/libxml2-2.9.0/html/io2.res +0 -2
- 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 +0 -56
- data/vendor/local/share/doc/libxml2-2.9.0/html/parse2.c +0 -72
- data/vendor/local/share/doc/libxml2-2.9.0/html/parse3.c +0 -60
- data/vendor/local/share/doc/libxml2-2.9.0/html/parse4.c +0 -143
- data/vendor/local/share/doc/libxml2-2.9.0/html/reader1.c +0 -107
- data/vendor/local/share/doc/libxml2-2.9.0/html/reader1.res +0 -14
- data/vendor/local/share/doc/libxml2-2.9.0/html/reader2.c +0 -122
- data/vendor/local/share/doc/libxml2-2.9.0/html/reader3.c +0 -120
- data/vendor/local/share/doc/libxml2-2.9.0/html/reader3.res +0 -13
- data/vendor/local/share/doc/libxml2-2.9.0/html/reader4.c +0 -122
- data/vendor/local/share/doc/libxml2-2.9.0/html/reader4.res +0 -3
- 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 +0 -1
- data/vendor/local/share/doc/libxml2-2.9.0/html/test2.xml +0 -13
- data/vendor/local/share/doc/libxml2-2.9.0/html/test3.xml +0 -39
- data/vendor/local/share/doc/libxml2-2.9.0/html/testWriter.c +0 -1198
- data/vendor/local/share/doc/libxml2-2.9.0/html/tree1.c +0 -94
- data/vendor/local/share/doc/libxml2-2.9.0/html/tree1.res +0 -4
- data/vendor/local/share/doc/libxml2-2.9.0/html/tree2.c +0 -118
- data/vendor/local/share/doc/libxml2-2.9.0/html/tree2.res +0 -18
- data/vendor/local/share/doc/libxml2-2.9.0/html/tst.xml +0 -7
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/apa.html +0 -8
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/apb.html +0 -14
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/apc.html +0 -82
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/apd.html +0 -76
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ape.html +0 -78
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/apf.html +0 -67
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/apg.html +0 -75
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/aph.html +0 -76
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/api.html +0 -4
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s02.html +0 -14
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s03.html +0 -47
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s04.html +0 -54
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s05.html +0 -55
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s06.html +0 -35
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s07.html +0 -30
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s08.html +0 -38
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s09.html +0 -63
- 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 +0 -64
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/includeaddkeyword.c +0 -75
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/includeconvert.c +0 -73
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/includegetattribute.c +0 -72
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/includekeyword.c +0 -79
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/includexpath.c +0 -74
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/index.html +0 -14
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ix01.html +0 -1
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/xmltutorial.pdf +0 -1336
- 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 +0 -2
- data/vendor/local/share/doc/libxml2-2.9.0/html/xml.html +0 -5715
- data/vendor/local/share/doc/libxml2-2.9.0/html/xpath1.c +0 -250
- data/vendor/local/share/doc/libxml2-2.9.0/html/xpath1.res +0 -5
- data/vendor/local/share/doc/libxml2-2.9.0/html/xpath2.c +0 -190
- data/vendor/local/share/doc/libxml2-2.9.0/html/xpath2.res +0 -30
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-GtkSourceGutterRenderer.html +0 -956
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-GtkSourceGutterRendererPixbuf.html +0 -199
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-GtkSourceGutterRendererText.html +0 -137
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/rn01.html +0 -101
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/rn02.html +0 -53
- data/vendor/local/share/gtk-doc/html/libxml2/general.html +0 -38
- data/vendor/local/share/gtk-doc/html/libxml2/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/libxml2/index.html +0 -67
- data/vendor/local/share/gtk-doc/html/libxml2/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-DOCBparser.html +0 -138
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-HTMLparser.html +0 -373
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-HTMLtree.html +0 -172
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-SAX.html +0 -243
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-SAX2.html +0 -247
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-c14n.html +0 -91
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-catalog.html +0 -278
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-chvalid.html +0 -241
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-debugXML.html +0 -225
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-dict.html +0 -134
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-encoding.html +0 -218
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-entities.html +0 -166
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-globals.html +0 -383
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-hash.html +0 -214
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-list.html +0 -226
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-nanoftp.html +0 -187
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-nanohttp.html +0 -142
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-parser.html +0 -766
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-parserInternals.html +0 -688
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-pattern.html +0 -166
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-relaxng.html +0 -278
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-schemasInternals.html +0 -860
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-schematron.html +0 -166
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-threads.html +0 -161
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-tree.html +0 -1596
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-uri.html +0 -154
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-valid.html +0 -528
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xinclude.html +0 -169
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xlink.html +0 -160
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlIO.html +0 -347
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlautomata.html +0 -176
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlerror.html +0 -952
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlexports.html +0 -87
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlmemory.html +0 -186
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlmodule.html +0 -97
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlreader.html +0 -565
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlregexp.html +0 -280
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlsave.html +0 -133
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlschemas.html +0 -314
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlschemastypes.html +0 -237
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlstring.html +0 -217
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlunicode.html +0 -887
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlversion.html +0 -287
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlwriter.html +0 -479
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xpath.html +0 -532
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xpathInternals.html +0 -787
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xpointer.html +0 -171
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2.devhelp +0 -3569
- data/vendor/local/share/gtk-doc/html/libxml2/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/libxml2/style.css +0 -66
- data/vendor/local/share/gtk-doc/html/libxml2/up.png +0 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/check-language.sh +0 -32
- data/vendor/local/share/gtksourceview-3.0/styles/check-style.sh +0 -20
- data/vendor/local/share/man/man1/xml2-config.1 +0 -30
- data/vendor/local/share/man/man1/xmlcatalog.1 +0 -340
- data/vendor/local/share/man/man1/xmllint.1 +0 -427
- data/vendor/local/share/man/man3/libxml.3 +0 -71
- data/vendor/local/src/dieterv/packaging/libxml2_2.9.0-1_win32.log +0 -867
- data/vendor/local/src/dieterv/packaging/libxml2_2.9.0-1_win32.sh +0 -68
@@ -2,22 +2,22 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
-
<title>Language Definition v2.0 Reference</title>
|
5
|
+
<title>GtkSourceView 3 Reference Manual: Language Definition v2.0 Reference</title>
|
6
6
|
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
7
7
|
<link rel="home" href="index.html" title="GtkSourceView 3 Reference Manual">
|
8
8
|
<link rel="up" href="ch02.html" title="Syntax highlighting reference">
|
9
9
|
<link rel="prev" href="lang-tutorial.html" title="Language Definition v2.0 Tutorial">
|
10
10
|
<link rel="next" href="style-reference.html" title="Style Scheme Definition Reference">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.19.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
|
-
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="
|
16
|
-
<td
|
17
|
-
<td><a accesskey="
|
18
|
-
<td><a accesskey="
|
19
|
-
<
|
20
|
-
<td><a accesskey="n" href="style-reference.html"><img src="right.png" width="
|
15
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><tr valign="middle">
|
16
|
+
<td width="100%" align="left"></td>
|
17
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
18
|
+
<td><a accesskey="u" href="ch02.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
19
|
+
<td><a accesskey="p" href="lang-tutorial.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
20
|
+
<td><a accesskey="n" href="style-reference.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
21
21
|
</tr></table>
|
22
22
|
<div class="refentry">
|
23
23
|
<a name="lang-reference"></a><div class="titlepage"></div>
|
@@ -32,12 +32,20 @@ Reference to the GtkSourceView language definition file format
|
|
32
32
|
</tr></table></div>
|
33
33
|
<div class="refsect1">
|
34
34
|
<a name="id-1.3.3.3"></a><h2>Overview</h2>
|
35
|
+
<div class="note">
|
36
|
+
<h3 class="title">Note</h3>
|
37
|
+
<p>
|
38
|
+
The version 2 here refers to the language definition file format,
|
39
|
+
not to the version of GtkSourceView. So this reference is suitable
|
40
|
+
for GtkSourceView 2 and 3.
|
41
|
+
</p>
|
42
|
+
</div>
|
35
43
|
<p>
|
36
44
|
This is an overview of the Language Definition XML format, describing the
|
37
45
|
meaning and usage of every element and attribute. The formal definition is
|
38
46
|
stored in the RelaxNG schema file <code class="filename">language2.rng</code> which
|
39
47
|
should be installed on your system in the directory
|
40
|
-
<code class="filename">${PREFIX}/share/gtksourceview-
|
48
|
+
<code class="filename">${PREFIX}/share/gtksourceview-3.0/</code> (where
|
41
49
|
<code class="filename">${PREFIX}</code> can be <code class="filename">/usr/</code> or
|
42
50
|
<code class="filename">/usr/local/</code> if you have installed from source.
|
43
51
|
</p>
|
@@ -766,6 +774,6 @@ The id of the context to put in place of the context being replaced. Ex: <code c
|
|
766
774
|
</div>
|
767
775
|
<div class="footer">
|
768
776
|
<hr>
|
769
|
-
Generated by GTK-Doc V1.
|
777
|
+
Generated by GTK-Doc V1.19.1</div>
|
770
778
|
</body>
|
771
779
|
</html>
|
@@ -2,22 +2,22 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
-
<title>Language Definition v2.0 Tutorial</title>
|
5
|
+
<title>GtkSourceView 3 Reference Manual: Language Definition v2.0 Tutorial</title>
|
6
6
|
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
7
7
|
<link rel="home" href="index.html" title="GtkSourceView 3 Reference Manual">
|
8
8
|
<link rel="up" href="ch02.html" title="Syntax highlighting reference">
|
9
9
|
<link rel="prev" href="ch02.html" title="Syntax highlighting reference">
|
10
10
|
<link rel="next" href="lang-reference.html" title="Language Definition v2.0 Reference">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.19.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
|
-
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="
|
16
|
-
<td
|
17
|
-
<td><a accesskey="
|
18
|
-
<td><a accesskey="
|
19
|
-
<
|
20
|
-
<td><a accesskey="n" href="lang-reference.html"><img src="right.png" width="
|
15
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><tr valign="middle">
|
16
|
+
<td width="100%" align="left"></td>
|
17
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
18
|
+
<td><a accesskey="u" href="ch02.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
19
|
+
<td><a accesskey="p" href="ch02.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
20
|
+
<td><a accesskey="n" href="lang-reference.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
21
21
|
</tr></table>
|
22
22
|
<div class="refentry">
|
23
23
|
<a name="lang-tutorial"></a><div class="titlepage"></div>
|
@@ -32,6 +32,14 @@ Guide to the GtkSourceView language definition file format
|
|
32
32
|
</tr></table></div>
|
33
33
|
<div class="refsect1">
|
34
34
|
<a name="tutorial"></a><h2>A language definition for the C language</h2>
|
35
|
+
<div class="note">
|
36
|
+
<h3 class="title">Note</h3>
|
37
|
+
<p>
|
38
|
+
The version 2 here refers to the language definition file format,
|
39
|
+
not to the version of GtkSourceView. So this tutorial is suitable
|
40
|
+
for GtkSourceView 2 and 3.
|
41
|
+
</p>
|
42
|
+
</div>
|
35
43
|
<p>
|
36
44
|
To describe the syntax of a language GtkSourceView uses an XML format which
|
37
45
|
defines nested context to be highlighted. Each context roughly corresponds
|
@@ -157,8 +165,8 @@ start with a double slash <code class="code">//</code> and end at the end of the
|
|
157
165
|
</p>
|
158
166
|
<pre class="programlisting">
|
159
167
|
<context id="comment" style-ref="comment">
|
160
|
-
|
161
|
-
|
168
|
+
<start>\/\/</start>
|
169
|
+
<end>$</end>
|
162
170
|
</context>
|
163
171
|
</pre>
|
164
172
|
<p>
|
@@ -225,8 +233,7 @@ quote but they can contain escaped double quotes, so we sould make sure
|
|
225
233
|
we don't end the string prematurely:
|
226
234
|
</p>
|
227
235
|
<pre class="programlisting">
|
228
|
-
<context id="string" end-at-line-end="true"
|
229
|
-
style-ref="string">
|
236
|
+
<context id="string" end-at-line-end="true" style-ref="string">
|
230
237
|
</pre>
|
231
238
|
<p>
|
232
239
|
The <code class="code">end-at-line-end</code> attribute tells the engine that the current context
|
@@ -242,9 +249,9 @@ regular expression is not found, and that an error should be displayed.
|
|
242
249
|
To implement the escape handling we include a <code class="code">escape</code> context:
|
243
250
|
</p>
|
244
251
|
<pre class="programlisting">
|
245
|
-
|
246
|
-
|
247
|
-
|
252
|
+
<context id="escape" style-ref="escaped-character">
|
253
|
+
<match>\\.</match>
|
254
|
+
</context>
|
248
255
|
</pre>
|
249
256
|
<p>
|
250
257
|
This is a simple context matching a single regular expression, contained in
|
@@ -263,20 +270,19 @@ internet address contained:
|
|
263
270
|
</p>
|
264
271
|
<pre class="programlisting">
|
265
272
|
<context id="comment-multiline" style-ref="comment">
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
extend-parent="false">
|
273
|
+
<start>\/\*</start>
|
274
|
+
<end>\*\/</end>
|
275
|
+
<include>
|
276
|
+
<context id="net-address" style-ref="net-address" extend-parent="false">
|
271
277
|
</pre>
|
272
278
|
<p>
|
273
279
|
In this case, the child should be terminated if the end of the parent is
|
274
280
|
found, so we use <code class="code">false</code> in the <code class="code">extend-parent</code> attribute.
|
275
281
|
</p>
|
276
282
|
<pre class="programlisting">
|
277
|
-
|
278
|
-
|
279
|
-
|
283
|
+
<match>http:\/\/[^\s]*</match>
|
284
|
+
</context>
|
285
|
+
</include>
|
280
286
|
</context>
|
281
287
|
</pre>
|
282
288
|
<p>
|
@@ -296,10 +302,10 @@ contain escaped characters:
|
|
296
302
|
</p>
|
297
303
|
<pre class="programlisting">
|
298
304
|
<context id="char" end-at-line-end="true" style-ref="string">
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
305
|
+
<start>'</start>
|
306
|
+
<end>'</end>
|
307
|
+
<include>
|
308
|
+
<context ref="escape"/>
|
303
309
|
</pre>
|
304
310
|
<p>
|
305
311
|
The <code class="code">ref</code> attribute is used when we want to reuse a previously defined
|
@@ -307,7 +313,7 @@ context. Here we reuse the <code class="code">escape</code> context defined in t
|
|
307
313
|
context, without repeating its definition.
|
308
314
|
</p>
|
309
315
|
<pre class="programlisting">
|
310
|
-
|
316
|
+
</include>
|
311
317
|
</context>
|
312
318
|
</pre>
|
313
319
|
<p>
|
@@ -331,13 +337,13 @@ our <code class="code">comment-multiline</code> context that uses the definition
|
|
331
337
|
</p>
|
332
338
|
<pre class="programlisting">
|
333
339
|
<context id="comment-multiline" style-ref="comment">
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
340
|
+
<start>\/\*</start>
|
341
|
+
<end>\*\/</end>
|
342
|
+
<include>
|
343
|
+
<context ref="def:in-comment"/>
|
338
344
|
</pre>
|
339
345
|
<pre class="programlisting">
|
340
|
-
|
346
|
+
</include>
|
341
347
|
</context>
|
342
348
|
</pre>
|
343
349
|
<p>
|
@@ -346,19 +352,19 @@ elements:
|
|
346
352
|
</p>
|
347
353
|
<pre class="programlisting">
|
348
354
|
<context id="keywords" style-ref="keyword">
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
355
|
+
<keyword>if</keyword>
|
356
|
+
<keyword>else</keyword>
|
357
|
+
<keyword>for</keyword>
|
358
|
+
<keyword>while</keyword>
|
359
|
+
<keyword>return</keyword>
|
360
|
+
<keyword>break</keyword>
|
361
|
+
<keyword>switch</keyword>
|
362
|
+
<keyword>case</keyword>
|
363
|
+
<keyword>default</keyword>
|
364
|
+
<keyword>do</keyword>
|
365
|
+
<keyword>continue</keyword>
|
366
|
+
<keyword>goto</keyword>
|
367
|
+
<keyword>sizeof</keyword>
|
362
368
|
</context>
|
363
369
|
</pre>
|
364
370
|
<p>
|
@@ -367,21 +373,21 @@ possible to highlight them differently:
|
|
367
373
|
</p>
|
368
374
|
<pre class="programlisting">
|
369
375
|
<context id="types" style-ref="type">
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
376
|
+
<keyword>char</keyword>
|
377
|
+
<keyword>const</keyword>
|
378
|
+
<keyword>double</keyword>
|
379
|
+
<keyword>enum</keyword>
|
380
|
+
<keyword>float</keyword>
|
381
|
+
<keyword>int</keyword>
|
382
|
+
<keyword>long</keyword>
|
383
|
+
<keyword>short</keyword>
|
384
|
+
<keyword>signed</keyword>
|
385
|
+
<keyword>static</keyword>
|
386
|
+
<keyword>struct</keyword>
|
387
|
+
<keyword>typedef</keyword>
|
388
|
+
<keyword>union</keyword>
|
389
|
+
<keyword>unsigned</keyword>
|
390
|
+
<keyword>void</keyword>
|
385
391
|
</context>
|
386
392
|
</pre>
|
387
393
|
<p>
|
@@ -390,7 +396,7 @@ You can also set a prefix (or a suffix) common to every keyword using the
|
|
390
396
|
</p>
|
391
397
|
<pre class="programlisting">
|
392
398
|
<context id="preprocessor" style-ref="preprocessor">
|
393
|
-
|
399
|
+
<prefix>^#</prefix>
|
394
400
|
</pre>
|
395
401
|
<p>
|
396
402
|
If not specified, <code class="code"><prefix></code> and <code class="code"><suffix></code>
|
@@ -398,17 +404,17 @@ are set to, respectively, <code class="code">\%[</code> and
|
|
398
404
|
<code class="code">\%]</code>.
|
399
405
|
</p>
|
400
406
|
<pre class="programlisting">
|
401
|
-
|
402
|
-
|
407
|
+
<keyword>define</keyword>
|
408
|
+
<keyword>undef</keyword>
|
403
409
|
</pre>
|
404
410
|
<p>
|
405
411
|
Keep in mind that every keyword is a regular expression:
|
406
412
|
</p>
|
407
413
|
<pre class="programlisting">
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
414
|
+
<keyword>if(n?def)?</keyword>
|
415
|
+
<keyword>else</keyword>
|
416
|
+
<keyword>elif</keyword>
|
417
|
+
<keyword>endif</keyword>
|
412
418
|
</context>
|
413
419
|
</pre>
|
414
420
|
<p>
|
@@ -418,9 +424,9 @@ these pseudo-comments as comments:
|
|
418
424
|
</p>
|
419
425
|
<pre class="programlisting">
|
420
426
|
<context id="if0-comment" style-ref="comment">
|
421
|
-
|
422
|
-
|
423
|
-
|
427
|
+
<start>^#if 0\b</start>
|
428
|
+
<end>^#(endif|else|elif)\b</end>
|
429
|
+
<include>
|
424
430
|
</pre>
|
425
431
|
<p>
|
426
432
|
As <code class="code">#if 0</code> comments are nesting, we should consider that inside a comment
|
@@ -430,19 +436,19 @@ nested context, that will extend the parent on every nested
|
|
430
436
|
<code class="code">#if</code>/<code class="code">#endif</code>:
|
431
437
|
</p>
|
432
438
|
<pre class="programlisting">
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
439
|
+
<context id="if-in-if0">
|
440
|
+
<start>^#if(n?def)?\b</start>
|
441
|
+
<end>^#endif\b</end>
|
442
|
+
<include>
|
437
443
|
</pre>
|
438
444
|
<p>
|
439
445
|
Nested contexts can be recursive:
|
440
446
|
</p>
|
441
447
|
<pre class="programlisting">
|
442
|
-
|
443
|
-
</include>
|
444
|
-
</context>
|
448
|
+
<context ref="if-in-if0"/>
|
445
449
|
</include>
|
450
|
+
</context>
|
451
|
+
</include>
|
446
452
|
</context>
|
447
453
|
</pre>
|
448
454
|
<p>
|
@@ -456,16 +462,16 @@ differently the included file:
|
|
456
462
|
</p>
|
457
463
|
<pre class="programlisting">
|
458
464
|
<context id="include" style-ref="preprocessor">
|
459
|
-
|
460
|
-
|
465
|
+
<match>^#include (".*"|&lt;.*&gt;)</match>
|
466
|
+
<include>
|
461
467
|
</pre>
|
462
468
|
<p>
|
463
469
|
To do this we use grouping sub-patterns in the regular expression,
|
464
470
|
associating them with a context with the <code class="code">sub-pattern</code> attribute:
|
465
471
|
</p>
|
466
472
|
<pre class="programlisting">
|
467
|
-
|
468
|
-
|
473
|
+
<context id="included-file" sub-pattern="1"
|
474
|
+
style-ref="included-file"/>
|
469
475
|
</pre>
|
470
476
|
<p>
|
471
477
|
In the <code class="code">sub-pattern</code> attribute we could use:
|
@@ -496,7 +502,7 @@ specify the regular expression the context is referring, when we have both
|
|
496
502
|
the <code class="code"><start></code> and <code class="code"><end></code> element.
|
497
503
|
</p>
|
498
504
|
<pre class="programlisting">
|
499
|
-
|
505
|
+
</include>
|
500
506
|
</context>
|
501
507
|
</pre>
|
502
508
|
<p>
|
@@ -517,135 +523,135 @@ for this tutorial:
|
|
517
523
|
</p>
|
518
524
|
<pre class="programlisting">
|
519
525
|
<?xml version="1.0" encoding="UTF-8"?>
|
520
|
-
<language id="c" _name="C" version="2.0" _section="Sources"
|
521
|
-
|
522
|
-
<
|
523
|
-
|
524
|
-
|
525
|
-
|
526
|
-
|
527
|
-
|
528
|
-
|
529
|
-
|
530
|
-
<
|
531
|
-
<
|
532
|
-
|
533
|
-
|
534
|
-
|
535
|
-
|
536
|
-
|
537
|
-
|
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>
|
526
|
+
<language id="c" _name="C" version="2.0" _section="Sources">
|
527
|
+
<metadata>
|
528
|
+
<property name="mimetypes">text/x-c;text/x-csrc</property>
|
529
|
+
<property name="globs">*.c</property>
|
530
|
+
</metadata>
|
531
|
+
<styles>
|
532
|
+
<style id="comment" _name="Comment" map-to="def:comment"/>
|
533
|
+
<style id="string" _name="String" map-to="def:string"/>
|
534
|
+
<style id="escaped-character" _name="Escaped Character" map-to="def:special-char"/>
|
535
|
+
<style id="preprocessor" _name="Preprocessor" map-to="def:preprocessor"/>
|
536
|
+
<style id="included-file" _name="Included File" map-to="def:string"/>
|
537
|
+
<style id="char" _name="Character" map-to="def:character"/>
|
538
|
+
<style id="keyword" _name="Keyword" map-to="def:keyword"/>
|
539
|
+
<style id="type" _name="Data Type" map-to="def:type"/>
|
540
|
+
</styles>
|
541
|
+
<definitions>
|
542
|
+
<context id="c">
|
543
|
+
<include>
|
550
544
|
|
551
|
-
|
552
|
-
|
553
|
-
|
554
|
-
|
555
|
-
<include>
|
556
|
-
<context ref="def:in-comment"/>
|
557
|
-
</include>
|
558
|
-
</context>
|
545
|
+
<context id="comment" style-ref="comment">
|
546
|
+
<start>\/\/</start>
|
547
|
+
<end>$</end>
|
548
|
+
</context>
|
559
549
|
|
560
|
-
|
561
|
-
|
562
|
-
|
563
|
-
|
564
|
-
|
565
|
-
|
566
|
-
|
550
|
+
<context id="string" end-at-line-end="true" style-ref="string">
|
551
|
+
<start>"</start>
|
552
|
+
<end>"</end>
|
553
|
+
<include>
|
554
|
+
<context id="escape" style-ref="escaped-character">
|
555
|
+
<match>\\.</match>
|
556
|
+
</context>
|
557
|
+
</include>
|
558
|
+
</context>
|
567
559
|
|
568
|
-
|
569
|
-
|
560
|
+
<context id="comment-multiline" style-ref="comment">
|
561
|
+
<start>\/\*</start>
|
562
|
+
<end>\*\/</end>
|
563
|
+
<include>
|
564
|
+
<context ref="def:in-comment"/>
|
565
|
+
</include>
|
566
|
+
</context>
|
570
567
|
|
571
|
-
|
572
|
-
|
573
|
-
|
574
|
-
|
575
|
-
|
576
|
-
|
577
|
-
|
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>
|
568
|
+
<context id="char" end-at-line-end="true" style-ref="string">
|
569
|
+
<start>'</start>
|
570
|
+
<end>'</end>
|
571
|
+
<include>
|
572
|
+
<context ref="escape"/>
|
573
|
+
</include>
|
574
|
+
</context>
|
586
575
|
|
587
|
-
|
588
|
-
|
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>
|
576
|
+
<context ref="def:decimal"/>
|
577
|
+
<context ref="def:float"/>
|
604
578
|
|
605
|
-
|
606
|
-
|
607
|
-
|
579
|
+
<context id="keywords" style-ref="keyword">
|
580
|
+
<keyword>if</keyword>
|
581
|
+
<keyword>else</keyword>
|
582
|
+
<keyword>for</keyword>
|
583
|
+
<keyword>while</keyword>
|
584
|
+
<keyword>return</keyword>
|
585
|
+
<keyword>break</keyword>
|
586
|
+
<keyword>switch</keyword>
|
587
|
+
<keyword>case</keyword>
|
588
|
+
<keyword>default</keyword>
|
589
|
+
<keyword>do</keyword>
|
590
|
+
<keyword>continue</keyword>
|
591
|
+
<keyword>goto</keyword>
|
592
|
+
<keyword>sizeof</keyword>
|
593
|
+
</context>
|
608
594
|
|
609
|
-
|
610
|
-
|
611
|
-
|
612
|
-
|
613
|
-
|
614
|
-
|
615
|
-
|
595
|
+
<context id="types" style-ref="type">
|
596
|
+
<keyword>char</keyword>
|
597
|
+
<keyword>const</keyword>
|
598
|
+
<keyword>double</keyword>
|
599
|
+
<keyword>enum</keyword>
|
600
|
+
<keyword>float</keyword>
|
601
|
+
<keyword>int</keyword>
|
602
|
+
<keyword>long</keyword>
|
603
|
+
<keyword>short</keyword>
|
604
|
+
<keyword>signed</keyword>
|
605
|
+
<keyword>static</keyword>
|
606
|
+
<keyword>struct</keyword>
|
607
|
+
<keyword>typedef</keyword>
|
608
|
+
<keyword>union</keyword>
|
609
|
+
<keyword>unsigned</keyword>
|
610
|
+
<keyword>void</keyword>
|
611
|
+
</context>
|
616
612
|
|
617
|
-
|
618
|
-
|
619
|
-
|
620
|
-
|
621
|
-
|
622
|
-
|
623
|
-
|
624
|
-
|
625
|
-
|
626
|
-
|
627
|
-
|
628
|
-
|
629
|
-
|
613
|
+
<context id="if0-comment" style-ref="comment">
|
614
|
+
<start>^#if 0\b</start>
|
615
|
+
<end>^#(endif|else|elif)\b</end>
|
616
|
+
<include>
|
617
|
+
<context id="if-in-if0">
|
618
|
+
<start>^#if(n?def)?\b</start>
|
619
|
+
<end>^#endif\b</end>
|
620
|
+
<include>
|
621
|
+
<context ref="if-in-if0"/>
|
622
|
+
</include>
|
623
|
+
</context>
|
624
|
+
</include>
|
625
|
+
</context>
|
630
626
|
|
631
|
-
|
632
|
-
|
633
|
-
|
634
|
-
|
635
|
-
|
636
|
-
|
637
|
-
|
638
|
-
|
627
|
+
<context id="preprocessor" style-ref="preprocessor">
|
628
|
+
<prefix>^#</prefix>
|
629
|
+
<keyword>define</keyword>
|
630
|
+
<keyword>undef</keyword>
|
631
|
+
<keyword>if(n?def)?</keyword>
|
632
|
+
<keyword>else</keyword>
|
633
|
+
<keyword>elif</keyword>
|
634
|
+
<keyword>endif</keyword>
|
635
|
+
</context>
|
639
636
|
|
640
|
-
|
637
|
+
<context id="include" style-ref="preprocessor">
|
638
|
+
<match>^#include (".*"|&lt;.*&gt;)</match>
|
639
|
+
<include>
|
640
|
+
<context id="included-file"
|
641
|
+
sub-pattern="1"
|
642
|
+
style-ref="included-file"/>
|
643
|
+
</include>
|
641
644
|
</context>
|
642
|
-
|
645
|
+
|
646
|
+
</include>
|
647
|
+
</context>
|
648
|
+
</definitions>
|
643
649
|
</language>
|
644
650
|
</pre>
|
645
651
|
</div>
|
646
652
|
</div>
|
647
653
|
<div class="footer">
|
648
654
|
<hr>
|
649
|
-
Generated by GTK-Doc V1.
|
655
|
+
Generated by GTK-Doc V1.19.1</div>
|
650
656
|
</body>
|
651
657
|
</html>
|