gtksourceview3 2.2.4-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Rakefile +59 -0
- data/ext/gtksourceview3/depend +6 -0
- data/ext/gtksourceview3/extconf.rb +67 -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 +40 -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 +50 -0
- data/ext/gtksourceview3/rbgtksourceview3private.h +53 -0
- data/extconf.rb +49 -0
- data/lib/2.0/gtksourceview3.so +0 -0
- data/lib/2.1/gtksourceview3.so +0 -0
- data/lib/2.2/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 +44 -0
- data/test/test_mark_attributes.rb +26 -0
- data/test/test_source_gutter_renderer.rb +33 -0
- data/test/test_source_language_manager.rb +46 -0
- data/test/test_source_view.rb +57 -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 +65 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksource.h +54 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcebuffer.h +213 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletion.h +142 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletioncontext.h +95 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletioninfo.h +78 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletionitem.h +70 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletionproposal.h +97 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletionprovider.h +137 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceencoding.h +54 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcefile.h +115 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcefileloader.h +122 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcefilesaver.h +147 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutter.h +90 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutterrenderer.h +229 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutterrendererpixbuf.h +87 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutterrenderertext.h +83 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcelanguage.h +85 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcelanguagemanager.h +84 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcemark.h +71 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcemarkattributes.h +100 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceprintcompositor.h +175 -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 +45 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestylescheme.h +109 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyleschememanager.h +86 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcetypes.h +101 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceundomanager.h +75 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceutils.h +34 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceview-typebuiltins.h +88 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceview.h +213 -0
- 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 +41 -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/tg/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/th/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/tr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ug/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/uk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/vi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/xh/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/zh_CN/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/zh_HK/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/zh_TW/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/pkgconfig/gtksourceview-3.0.pc +12 -0
- data/vendor/local/share/gir-1.0/GtkSource-3.0.gir +11360 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceBuffer.html +2143 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletion.html +1129 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionContext.html +397 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionInfo.html +348 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionItem.html +367 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProposal.html +572 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProvider.html +750 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionWords.html +345 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceEncoding.html +366 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFile.html +563 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFileLoader.html +769 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFileSaver.html +962 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutter.html +490 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRenderer.html +1700 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererPixbuf.html +468 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererText.html +228 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguage.html +584 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguageManager.html +476 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMark.html +310 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMarkAttributes.html +897 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourcePrintCompositor.html +2149 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSearchContext.html +1116 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSearchSettings.html +606 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyle.html +358 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleScheme.html +398 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeManager.html +463 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceUndoManager.html +462 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceView.html +1990 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/annotation-glossary.html +81 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-0.html +43 -0
- 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-12.html +39 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-14.html +299 -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 +95 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-full.html +2187 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch01.html +119 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch02.html +47 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-GtkSourceUtils.html +154 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0.devhelp2 +601 -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 +146 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/index.sgml +882 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-reference.html +873 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-tutorial.html +654 -0
- 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 +71 -0
- 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 +283 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/style.css +476 -0
- 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/R.lang +2199 -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/ansforth94.lang +729 -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 +330 -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/bluespec.lang +188 -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 +93 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/chdr.lang +43 -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 +647 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/cpp.lang +120 -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 +542 -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 +318 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/def.lang +262 -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 +113 -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 +591 -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 +281 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/idl-exelis.lang +620 -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 +339 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/json.lang +123 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/julia.lang +378 -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 +600 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/lex.lang +209 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/libtool.lang +56 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/llvm.lang +315 -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/mediawiki.lang +327 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/modelica.lang +262 -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 +1045 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/php.lang +363 -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 +101 -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 +472 -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 +212 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/rst.lang +142 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/ruby.lang +750 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/scala.lang +384 -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/sweave.lang +67 -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 +476 -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/language-specs/yaml.lang +214 -0
- data/vendor/local/share/gtksourceview-3.0/styles/classic.xml +121 -0
- data/vendor/local/share/gtksourceview-3.0/styles/cobalt.xml +148 -0
- data/vendor/local/share/gtksourceview-3.0/styles/kate.xml +171 -0
- data/vendor/local/share/gtksourceview-3.0/styles/oblivion.xml +129 -0
- data/vendor/local/share/gtksourceview-3.0/styles/solarized-dark.xml +101 -0
- data/vendor/local/share/gtksourceview-3.0/styles/solarized-light.xml +101 -0
- data/vendor/local/share/gtksourceview-3.0/styles/styles.rng +142 -0
- data/vendor/local/share/gtksourceview-3.0/styles/tango.xml +130 -0
- data/vendor/local/share/license/gtksourceview/AUTHORS +13 -0
- data/vendor/local/share/license/gtksourceview/COPYING +504 -0
- metadata +389 -0
@@ -0,0 +1,257 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!--
|
3
|
+
|
4
|
+
This file is part of GtkSourceView
|
5
|
+
|
6
|
+
Author: Sebastian Dröge <slomo@circular-chaos.org>
|
7
|
+
Copyright (C) 2006 Sebastian Dröge <slomo@circular-chaos.org>
|
8
|
+
|
9
|
+
GtkSourceView is free software; you can redistribute it and/or
|
10
|
+
modify it under the terms of the GNU Lesser General Public
|
11
|
+
License as published by the Free Software Foundation; either
|
12
|
+
version 2.1 of the License, or (at your option) any later version.
|
13
|
+
|
14
|
+
GtkSourceView is distributed in the hope that it will be useful,
|
15
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
16
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
17
|
+
Lesser General Public License for more details.
|
18
|
+
|
19
|
+
You should have received a copy of the GNU Lesser General Public
|
20
|
+
License along with this library; if not, write to the Free Software
|
21
|
+
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
22
|
+
|
23
|
+
-->
|
24
|
+
<language id="boo" _name="Boo" version="2.0" _section="Source">
|
25
|
+
<metadata>
|
26
|
+
<property name="mimetypes">text/x-boo</property>
|
27
|
+
<property name="globs">*.boo</property>
|
28
|
+
<property name="line-comment-start">#</property>
|
29
|
+
<property name="block-comment-start">/*</property>
|
30
|
+
<property name="block-comment-end">*/</property>
|
31
|
+
</metadata>
|
32
|
+
|
33
|
+
<styles>
|
34
|
+
<style id="comment" _name="Comment" map-to="def:comment"/>
|
35
|
+
<style id="multiline-string" _name="Multiline string" map-to="def:string"/>
|
36
|
+
<style id="string" _name="String" map-to="def:string"/>
|
37
|
+
<style id="regex" _name="Regular Expression" map-to="def:string"/>
|
38
|
+
<style id="namespace" _name="Namespace" map-to="def:preprocessor"/>
|
39
|
+
<style id="type" _name="Data Type" map-to="def:type"/>
|
40
|
+
<style id="definition" _name="Definition" map-to="def:keyword"/>
|
41
|
+
<style id="keyword" _name="Keyword" map-to="def:keyword"/>
|
42
|
+
<style id="special-variable" _name="Special Variable" map-to="def:identifier"/>
|
43
|
+
<style id="null-value" _name="Null Value" map-to="def:special-constant"/>
|
44
|
+
<style id="boolean" _name="Boolean" map-to="def:boolean"/>
|
45
|
+
<style id="number" _name="Number" map-to="def:number"/>
|
46
|
+
<style id="builtin" _name="Builtin Function" map-to="def:builtin"/>
|
47
|
+
</styles>
|
48
|
+
|
49
|
+
<definitions>
|
50
|
+
|
51
|
+
<context id="c-style-line-comment" style-ref="comment" end-at-line-end="true" class="comment" class-disabled="no-spell-check">
|
52
|
+
<start>//</start>
|
53
|
+
<include>
|
54
|
+
<context ref="def:in-line-comment"/>
|
55
|
+
</include>
|
56
|
+
</context>
|
57
|
+
|
58
|
+
<context id="block-comment" style-ref="comment" class="comment" class-disabled="no-spell-check">
|
59
|
+
<start>/\*</start>
|
60
|
+
<end>\*/</end>
|
61
|
+
<include>
|
62
|
+
<context ref="def:in-comment"/>
|
63
|
+
</include>
|
64
|
+
</context>
|
65
|
+
|
66
|
+
<context id="multiline-string" style-ref="multiline-string" class="string" class-disabled="no-spell-check">
|
67
|
+
<start>"""</start>
|
68
|
+
<end>"""</end>
|
69
|
+
<include>
|
70
|
+
<context ref="def:escape"/>
|
71
|
+
</include>
|
72
|
+
</context>
|
73
|
+
|
74
|
+
<context id="double-quoted-string" style-ref="string" end-at-line-end="true" class="string" class-disabled="no-spell-check">
|
75
|
+
<start>"</start>
|
76
|
+
<end>"</end>
|
77
|
+
<include>
|
78
|
+
<context ref="def:escape"/>
|
79
|
+
<context ref="def:line-continue"/>
|
80
|
+
</include>
|
81
|
+
</context>
|
82
|
+
|
83
|
+
<context id="single-quoted-string" style-ref="string" end-at-line-end="true" class="string" class-disabled="no-spell-check">
|
84
|
+
<start>'</start>
|
85
|
+
<end>'</end>
|
86
|
+
<include>
|
87
|
+
<context ref="def:escape"/>
|
88
|
+
<context ref="def:line-continue"/>
|
89
|
+
</include>
|
90
|
+
</context>
|
91
|
+
|
92
|
+
<context id="regex" style-ref="regex" end-at-line-end="true">
|
93
|
+
<start>/(?!/)</start>
|
94
|
+
<end>/</end>
|
95
|
+
</context>
|
96
|
+
|
97
|
+
<context id="namespace" style-ref="namespace">
|
98
|
+
<keyword>as</keyword>
|
99
|
+
<keyword>from</keyword>
|
100
|
+
<keyword>import</keyword>
|
101
|
+
<keyword>namespace</keyword>
|
102
|
+
</context>
|
103
|
+
|
104
|
+
<context id="primitives" style-ref="type">
|
105
|
+
<keyword>bool</keyword>
|
106
|
+
<keyword>byte</keyword>
|
107
|
+
<keyword>char</keyword>
|
108
|
+
<keyword>date</keyword>
|
109
|
+
<keyword>decimal</keyword>
|
110
|
+
<keyword>double</keyword>
|
111
|
+
<keyword>duck</keyword>
|
112
|
+
<keyword>float</keyword>
|
113
|
+
<keyword>int</keyword>
|
114
|
+
<keyword>long</keyword>
|
115
|
+
<keyword>object</keyword>
|
116
|
+
<keyword>operator</keyword>
|
117
|
+
<keyword>regex</keyword>
|
118
|
+
<keyword>sbyte</keyword>
|
119
|
+
<keyword>short</keyword>
|
120
|
+
<keyword>single</keyword>
|
121
|
+
<keyword>string</keyword>
|
122
|
+
<keyword>timespan</keyword>
|
123
|
+
<keyword>uint</keyword>
|
124
|
+
<keyword>ulong</keyword>
|
125
|
+
<keyword>ushort</keyword>
|
126
|
+
</context>
|
127
|
+
|
128
|
+
<context id="definitions" style-ref="definition">
|
129
|
+
<keyword>abstract</keyword>
|
130
|
+
<keyword>callable</keyword>
|
131
|
+
<keyword>class</keyword>
|
132
|
+
<keyword>constructor</keyword>
|
133
|
+
<keyword>def</keyword>
|
134
|
+
<keyword>destructor</keyword>
|
135
|
+
<keyword>do</keyword>
|
136
|
+
<keyword>enum</keyword>
|
137
|
+
<keyword>event</keyword>
|
138
|
+
<keyword>final</keyword>
|
139
|
+
<keyword>get</keyword>
|
140
|
+
<keyword>interface</keyword>
|
141
|
+
<keyword>internal</keyword>
|
142
|
+
<keyword>of</keyword>
|
143
|
+
<keyword>override</keyword>
|
144
|
+
<keyword>partial</keyword>
|
145
|
+
<keyword>private</keyword>
|
146
|
+
<keyword>protected</keyword>
|
147
|
+
<keyword>public</keyword>
|
148
|
+
<keyword>return</keyword>
|
149
|
+
<keyword>set</keyword>
|
150
|
+
<keyword>static</keyword>
|
151
|
+
<keyword>struct</keyword>
|
152
|
+
<keyword>transient</keyword>
|
153
|
+
<keyword>virtual</keyword>
|
154
|
+
<keyword>yield</keyword>
|
155
|
+
</context>
|
156
|
+
|
157
|
+
<context id="keywords" style-ref="keyword">
|
158
|
+
<keyword>and</keyword>
|
159
|
+
<keyword>break</keyword>
|
160
|
+
<keyword>cast</keyword>
|
161
|
+
<keyword>continue</keyword>
|
162
|
+
<keyword>elif</keyword>
|
163
|
+
<keyword>else</keyword>
|
164
|
+
<keyword>ensure</keyword>
|
165
|
+
<keyword>except</keyword>
|
166
|
+
<keyword>for</keyword>
|
167
|
+
<keyword>given</keyword>
|
168
|
+
<keyword>goto</keyword>
|
169
|
+
<keyword>if</keyword>
|
170
|
+
<keyword>in</keyword>
|
171
|
+
<keyword>isa</keyword>
|
172
|
+
<keyword>is</keyword>
|
173
|
+
<keyword>not</keyword>
|
174
|
+
<keyword>or</keyword>
|
175
|
+
<keyword>otherwise</keyword>
|
176
|
+
<keyword>pass</keyword>
|
177
|
+
<keyword>raise</keyword>
|
178
|
+
<keyword>ref</keyword>
|
179
|
+
<keyword>try</keyword>
|
180
|
+
<keyword>unless</keyword>
|
181
|
+
<keyword>when</keyword>
|
182
|
+
<keyword>while</keyword>
|
183
|
+
</context>
|
184
|
+
|
185
|
+
<context id="special-variables" style-ref="special-variable">
|
186
|
+
<keyword>self</keyword>
|
187
|
+
<keyword>super</keyword>
|
188
|
+
</context>
|
189
|
+
|
190
|
+
<context id="null-value" style-ref="null-value">
|
191
|
+
<keyword>null</keyword>
|
192
|
+
</context>
|
193
|
+
|
194
|
+
<context id="boolean" style-ref="boolean">
|
195
|
+
<keyword>false</keyword>
|
196
|
+
<keyword>true</keyword>
|
197
|
+
</context>
|
198
|
+
|
199
|
+
<context id="numbers" style-ref="number">
|
200
|
+
<match extended="true">
|
201
|
+
(?<![\w\.])
|
202
|
+
[0-9][0-9\.]*(m|ms|d|h|s|f|F|l|L)?
|
203
|
+
(?![\w\.])
|
204
|
+
</match>
|
205
|
+
</context>
|
206
|
+
|
207
|
+
<context id="builtins" style-ref="builtin">
|
208
|
+
<keyword>array</keyword>
|
209
|
+
<keyword>assert</keyword>
|
210
|
+
<keyword>checked</keyword>
|
211
|
+
<keyword>enumerate</keyword>
|
212
|
+
<keyword>__eval__</keyword>
|
213
|
+
<keyword>filter</keyword>
|
214
|
+
<keyword>getter</keyword>
|
215
|
+
<keyword>len</keyword>
|
216
|
+
<keyword>lock</keyword>
|
217
|
+
<keyword>map</keyword>
|
218
|
+
<keyword>matrix</keyword>
|
219
|
+
<keyword>max</keyword>
|
220
|
+
<keyword>min</keyword>
|
221
|
+
<keyword>normalArrayIndexing</keyword>
|
222
|
+
<keyword>print</keyword>
|
223
|
+
<keyword>property</keyword>
|
224
|
+
<keyword>range</keyword>
|
225
|
+
<keyword>rawArrayIndexing</keyword>
|
226
|
+
<keyword>required</keyword>
|
227
|
+
<keyword>__switch__</keyword>
|
228
|
+
<keyword>typeof</keyword>
|
229
|
+
<keyword>unchecked</keyword>
|
230
|
+
<keyword>using</keyword>
|
231
|
+
<keyword>yieldAll</keyword>
|
232
|
+
<keyword>zip</keyword>
|
233
|
+
</context>
|
234
|
+
|
235
|
+
<context id="boo" class="no-spell-check">
|
236
|
+
<include>
|
237
|
+
<context ref="def:shell-like-comment"/>
|
238
|
+
<context ref="c-style-line-comment"/>
|
239
|
+
<context ref="block-comment"/>
|
240
|
+
<context ref="multiline-string"/>
|
241
|
+
<context ref="double-quoted-string"/>
|
242
|
+
<context ref="single-quoted-string"/>
|
243
|
+
<context ref="regex"/>
|
244
|
+
<context ref="namespace"/>
|
245
|
+
<context ref="primitives"/>
|
246
|
+
<context ref="definitions"/>
|
247
|
+
<context ref="keywords"/>
|
248
|
+
<context ref="special-variables"/>
|
249
|
+
<context ref="null-value"/>
|
250
|
+
<context ref="boolean"/>
|
251
|
+
<context ref="numbers"/>
|
252
|
+
<context ref="builtins"/>
|
253
|
+
</include>
|
254
|
+
</context>
|
255
|
+
|
256
|
+
</definitions>
|
257
|
+
</language>
|
@@ -0,0 +1,332 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!--
|
3
|
+
|
4
|
+
This file is part of GtkSourceView
|
5
|
+
|
6
|
+
Authors: Marco Barisione, Emanuele Aina
|
7
|
+
Copyright (C) 2005-2007 Marco Barisione <barisione@gmail.com>
|
8
|
+
Copyright (C) 2005-2007 Emanuele Aina
|
9
|
+
|
10
|
+
GtkSourceView is free software; you can redistribute it and/or
|
11
|
+
modify it under the terms of the GNU Lesser General Public
|
12
|
+
License as published by the Free Software Foundation; either
|
13
|
+
version 2.1 of the License, or (at your option) any later version.
|
14
|
+
|
15
|
+
GtkSourceView is distributed in the hope that it will be useful,
|
16
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
17
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
18
|
+
Lesser General Public License for more details.
|
19
|
+
|
20
|
+
You should have received a copy of the GNU Lesser General Public
|
21
|
+
License along with this library; if not, write to the Free Software
|
22
|
+
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
23
|
+
|
24
|
+
-->
|
25
|
+
<language id="c" _name="C" version="2.0" _section="Source">
|
26
|
+
<metadata>
|
27
|
+
<property name="mimetypes">text/x-c;text/x-csrc;image/x-xpixmap</property>
|
28
|
+
<property name="globs">*.c</property>
|
29
|
+
<property name="line-comment-start">//</property>
|
30
|
+
<property name="block-comment-start">/*</property>
|
31
|
+
<property name="block-comment-end">*/</property>
|
32
|
+
</metadata>
|
33
|
+
|
34
|
+
<styles>
|
35
|
+
<style id="comment" _name="Comment" map-to="def:comment"/>
|
36
|
+
<style id="string" _name="String" map-to="def:string"/>
|
37
|
+
<style id="preprocessor" _name="Preprocessor" map-to="def:preprocessor"/>
|
38
|
+
<style id="common-defines" _name="Common Defines" map-to="def:special-constant"/>
|
39
|
+
<style id="included-file" _name="Included File" map-to="def:string"/>
|
40
|
+
<style id="char" _name="Character" map-to="def:character"/>
|
41
|
+
<style id="keyword" _name="Keyword" map-to="def:keyword"/>
|
42
|
+
<style id="operator" _name="Operator" map-to="def:operator"/>
|
43
|
+
<style id="type" _name="Data Type" map-to="def:type"/>
|
44
|
+
<style id="storage-class" _name="Storage Class" map-to="def:type"/>
|
45
|
+
<style id="printf" _name="printf Conversion" map-to="def:special-char"/>
|
46
|
+
<style id="escaped-character" _name="Escaped Character" map-to="def:special-char"/>
|
47
|
+
<style id="floating-point" _name="Floating point number" map-to="def:floating-point"/>
|
48
|
+
<style id="decimal" _name="Decimal number" map-to="def:decimal"/>
|
49
|
+
<style id="octal" _name="Octal number" map-to="def:base-n-integer"/>
|
50
|
+
<style id="hexadecimal" _name="Hexadecimal number" map-to="def:base-n-integer"/>
|
51
|
+
<style id="boolean" _name="Boolean value" map-to="def:boolean"/>
|
52
|
+
<style id="standard-stream" _name="Standard stream" map-to="def:constant"/>
|
53
|
+
<style id="signal-name" _name="Signal name" map-to="def:constant"/>
|
54
|
+
<style id="error" _name="Error" map-to="def:error"/>
|
55
|
+
</styles>
|
56
|
+
|
57
|
+
<definitions>
|
58
|
+
|
59
|
+
<!--regexs-->
|
60
|
+
<define-regex id="preproc-start">^\s*#\s*</define-regex>
|
61
|
+
<define-regex id="escaped-character" extended="true">
|
62
|
+
\\( # leading backslash
|
63
|
+
[\\\"\'nrbtfav\?] | # escaped character
|
64
|
+
[0-7]{1,3} | # one, two, or three octal digits
|
65
|
+
x[0-9A-Fa-f]+ # 'x' followed by hex digits
|
66
|
+
)
|
67
|
+
</define-regex>
|
68
|
+
|
69
|
+
<!--contexts NOT used on the main context-->
|
70
|
+
<!-- TODO: what about scanf ? -->
|
71
|
+
<!-- man 3 printf -->
|
72
|
+
<context id="printf" style-ref="printf" extend-parent="false">
|
73
|
+
<match extended="true">
|
74
|
+
\%\%|\%
|
75
|
+
(?:[1-9][0-9]*\$)? # argument
|
76
|
+
[#0\-\ \+\'I]* # flags
|
77
|
+
(?:[1-9][0-9]*|\*)? # width
|
78
|
+
(?:\.\-?(?:[0-9]+|\*))? # precision
|
79
|
+
(?:hh|ll|[hlLqjzt])? # length modifier
|
80
|
+
[diouxXeEfFgGaAcsCSpnm] # conversion specifier
|
81
|
+
</match>
|
82
|
+
</context>
|
83
|
+
|
84
|
+
<!--contexts used on the main context-->
|
85
|
+
<!-- Preprocessor -->
|
86
|
+
<context id="if0-comment" style-ref="comment">
|
87
|
+
<start>\%{preproc-start}if\b\s*0\b</start>
|
88
|
+
<end>\%{preproc-start}(endif|else|elif)\b</end>
|
89
|
+
<include>
|
90
|
+
<context id="if-in-if0">
|
91
|
+
<start>\%{preproc-start}if(n?def)?\b</start>
|
92
|
+
<end>\%{preproc-start}endif\b</end>
|
93
|
+
<include>
|
94
|
+
<context ref="if-in-if0"/>
|
95
|
+
<context ref="def:in-comment"/>
|
96
|
+
</include>
|
97
|
+
</context>
|
98
|
+
<context ref="def:in-comment"/>
|
99
|
+
</include>
|
100
|
+
</context>
|
101
|
+
|
102
|
+
<context id="include" style-ref="preprocessor">
|
103
|
+
<match extended="true">
|
104
|
+
\%{preproc-start}
|
105
|
+
(include|import)\s*
|
106
|
+
(".*?"|<.*>)
|
107
|
+
</match>
|
108
|
+
<include>
|
109
|
+
<context id="included-file" sub-pattern="2" style-ref="included-file"/>
|
110
|
+
</include>
|
111
|
+
</context>
|
112
|
+
|
113
|
+
<context id="preprocessor" style-ref="preprocessor" end-at-line-end="true">
|
114
|
+
<start extended="true">
|
115
|
+
\%{preproc-start}
|
116
|
+
(define|undef|error|pragma|ident|if(n?def)?|else|elif|endif|line|warning)
|
117
|
+
\b
|
118
|
+
</start>
|
119
|
+
<include>
|
120
|
+
<context ref="def:line-continue" ignore-style="true"/>
|
121
|
+
<context ref="string" ignore-style="true"/>
|
122
|
+
<context ref="def:c-like-comment"/>
|
123
|
+
<context ref="def:c-like-comment-multiline"/>
|
124
|
+
</include>
|
125
|
+
</context>
|
126
|
+
|
127
|
+
<context id="string" style-ref="string" end-at-line-end="true" class="string" class-disabled="no-spell-check">
|
128
|
+
<start>L?"</start>
|
129
|
+
<end>"</end>
|
130
|
+
<include>
|
131
|
+
<context ref="printf"/>
|
132
|
+
<context id="escaped-character" style-ref="escaped-character">
|
133
|
+
<match>\%{escaped-character}</match>
|
134
|
+
</context>
|
135
|
+
<context ref="def:line-continue"/>
|
136
|
+
</include>
|
137
|
+
</context>
|
138
|
+
|
139
|
+
<context id="char" style-ref="char">
|
140
|
+
<match>L?'(\%{escaped-character}|.)'</match>
|
141
|
+
</context>
|
142
|
+
|
143
|
+
<!-- http://www.lysator.liu.se/c/ANSI-C-grammar-l.html -->
|
144
|
+
<context id="float" style-ref="floating-point">
|
145
|
+
<match extended="true">
|
146
|
+
(?<![\w\.])
|
147
|
+
((\.[0-9]+ | [0-9]+\.[0-9]*) ([Ee][+-]?[0-9]*)? |
|
148
|
+
([0-9]+[Ee][+-]?[0-9]*))
|
149
|
+
[fFlL]?
|
150
|
+
(?![\w\.])
|
151
|
+
</match>
|
152
|
+
</context>
|
153
|
+
|
154
|
+
<context id="hexadecimal" style-ref="hexadecimal">
|
155
|
+
<match extended="true">
|
156
|
+
(?<![\w\.])
|
157
|
+
0[xX][a-fA-F0-9]+[uUlL]*
|
158
|
+
(?![\w\.])
|
159
|
+
</match>
|
160
|
+
</context>
|
161
|
+
|
162
|
+
<context id="invalid-hexadecimal" style-ref="error">
|
163
|
+
<match extended="true">
|
164
|
+
(?<![\w\.])
|
165
|
+
0[xX][a-fA-F0-9]*[g-zG-Z][a-zA-Z0-9]*[uUlL]*
|
166
|
+
(?![\w\.])
|
167
|
+
</match>
|
168
|
+
</context>
|
169
|
+
|
170
|
+
<context id="octal" style-ref="octal">
|
171
|
+
<match extended="true">
|
172
|
+
(?<![\w\.])
|
173
|
+
0[0-7]+[uUlL]*
|
174
|
+
(?![\w\.])
|
175
|
+
</match>
|
176
|
+
</context>
|
177
|
+
|
178
|
+
<context id="invalid-octal" style-ref="error">
|
179
|
+
<match extended="true">
|
180
|
+
(?<![\w\.])
|
181
|
+
0[0-7]*[89][0-9]*[uUlL]*
|
182
|
+
(?![\w\.])
|
183
|
+
</match>
|
184
|
+
</context>
|
185
|
+
|
186
|
+
<context id="decimal" style-ref="decimal">
|
187
|
+
<match extended="true">
|
188
|
+
(?<![\w\.])
|
189
|
+
(0|[1-9][0-9]*)[uUlL]*
|
190
|
+
(?![\w\.])
|
191
|
+
</match>
|
192
|
+
</context>
|
193
|
+
|
194
|
+
<context id="keywords" style-ref="keyword">
|
195
|
+
<keyword>asm</keyword>
|
196
|
+
<keyword>break</keyword>
|
197
|
+
<keyword>case</keyword>
|
198
|
+
<keyword>continue</keyword>
|
199
|
+
<keyword>default</keyword>
|
200
|
+
<keyword>do</keyword>
|
201
|
+
<keyword>else</keyword>
|
202
|
+
<keyword>enum</keyword>
|
203
|
+
<keyword>for</keyword>
|
204
|
+
<keyword>fortran</keyword>
|
205
|
+
<keyword>goto</keyword>
|
206
|
+
<keyword>if</keyword>
|
207
|
+
<keyword>return</keyword>
|
208
|
+
<keyword>struct</keyword>
|
209
|
+
<keyword>switch</keyword>
|
210
|
+
<keyword>typedef</keyword>
|
211
|
+
<keyword>union</keyword>
|
212
|
+
<keyword>while</keyword>
|
213
|
+
</context>
|
214
|
+
|
215
|
+
<context id="operators" style-ref="operator">
|
216
|
+
<keyword>sizeof</keyword>
|
217
|
+
</context>
|
218
|
+
|
219
|
+
<context id="types" style-ref="type">
|
220
|
+
<keyword>_Bool</keyword>
|
221
|
+
<keyword>_Complex</keyword>
|
222
|
+
<keyword>_Imaginary</keyword>
|
223
|
+
<keyword>bool</keyword>
|
224
|
+
<keyword>char</keyword>
|
225
|
+
<keyword>double</keyword>
|
226
|
+
<keyword>float</keyword>
|
227
|
+
<keyword>int</keyword>
|
228
|
+
<keyword>(u)?int(8|16|32|64)_t</keyword>
|
229
|
+
<keyword>long</keyword>
|
230
|
+
<keyword>ptrdiff_t</keyword>
|
231
|
+
<keyword>off(64)?_t</keyword>
|
232
|
+
<keyword>short</keyword>
|
233
|
+
<keyword>signed</keyword>
|
234
|
+
<keyword>size_t</keyword>
|
235
|
+
<keyword>ssize_t</keyword>
|
236
|
+
<keyword>unsigned</keyword>
|
237
|
+
<keyword>void</keyword>
|
238
|
+
<keyword>wchar_t</keyword>
|
239
|
+
<keyword>wint_t</keyword>
|
240
|
+
</context>
|
241
|
+
|
242
|
+
<context id="storage-class" style-ref="storage-class">
|
243
|
+
<keyword>auto</keyword>
|
244
|
+
<keyword>const</keyword>
|
245
|
+
<keyword>extern</keyword>
|
246
|
+
<keyword>inline</keyword>
|
247
|
+
<keyword>register</keyword>
|
248
|
+
<keyword>restrict</keyword>
|
249
|
+
<keyword>static</keyword>
|
250
|
+
<keyword>volatile</keyword>
|
251
|
+
</context>
|
252
|
+
|
253
|
+
<!-- C99 booleans -->
|
254
|
+
<context id="boolean" style-ref="boolean">
|
255
|
+
<keyword>true</keyword>
|
256
|
+
<keyword>false</keyword>
|
257
|
+
</context>
|
258
|
+
|
259
|
+
<context id="common-defines" style-ref="common-defines">
|
260
|
+
<keyword>NULL</keyword>
|
261
|
+
<keyword>MAX</keyword>
|
262
|
+
<keyword>MIN</keyword>
|
263
|
+
<keyword>TRUE</keyword>
|
264
|
+
<keyword>FALSE</keyword>
|
265
|
+
<keyword>__LINE__</keyword>
|
266
|
+
<keyword>__DATA__</keyword>
|
267
|
+
<keyword>__FILE__</keyword>
|
268
|
+
<keyword>__func__</keyword>
|
269
|
+
<keyword>__TIME__</keyword>
|
270
|
+
<keyword>__STDC__</keyword>
|
271
|
+
</context>
|
272
|
+
|
273
|
+
<context id="standard-streams" style-ref="standard-stream">
|
274
|
+
<keyword>stdin</keyword>
|
275
|
+
<keyword>stdout</keyword>
|
276
|
+
<keyword>stderr</keyword>
|
277
|
+
</context>
|
278
|
+
|
279
|
+
<context id="signals" style-ref="signal-name">
|
280
|
+
<keyword>SIGABRT</keyword>
|
281
|
+
<keyword>SIGALRM</keyword>
|
282
|
+
<keyword>SIGCHLD</keyword>
|
283
|
+
<keyword>SIGCONT</keyword>
|
284
|
+
<keyword>SIGFPE</keyword>
|
285
|
+
<keyword>SIGHUP</keyword>
|
286
|
+
<keyword>SIGILL</keyword>
|
287
|
+
<keyword>SIGINT</keyword>
|
288
|
+
<keyword>SIGKILL</keyword>
|
289
|
+
<keyword>SIGPIPE</keyword>
|
290
|
+
<keyword>SIGQUIT</keyword>
|
291
|
+
<keyword>SIGSEGV</keyword>
|
292
|
+
<keyword>SIGSTOP</keyword>
|
293
|
+
<keyword>SIGTERM</keyword>
|
294
|
+
<keyword>SIGTRAP</keyword>
|
295
|
+
<keyword>SIGTSTP</keyword>
|
296
|
+
<keyword>SIGTTIN</keyword>
|
297
|
+
<keyword>SIGTTOU</keyword>
|
298
|
+
<keyword>SIGUSR1</keyword>
|
299
|
+
<keyword>SIGUSR2</keyword>
|
300
|
+
</context>
|
301
|
+
|
302
|
+
<!--Main context-->
|
303
|
+
<context id="c" class="no-spell-check">
|
304
|
+
<include>
|
305
|
+
<context ref="gtk-doc:inline-docs-section"/>
|
306
|
+
<context ref="def:c-like-comment"/>
|
307
|
+
<context ref="def:c-like-comment-multiline"/>
|
308
|
+
<context ref="def:c-like-close-comment-outside-comment"/>
|
309
|
+
<context ref="if0-comment"/>
|
310
|
+
<context ref="include"/>
|
311
|
+
<context ref="preprocessor"/>
|
312
|
+
<context ref="string"/>
|
313
|
+
<context ref="char"/>
|
314
|
+
<context ref="float"/>
|
315
|
+
<context ref="hexadecimal"/>
|
316
|
+
<context ref="invalid-hexadecimal"/>
|
317
|
+
<context ref="octal"/>
|
318
|
+
<context ref="invalid-octal"/>
|
319
|
+
<context ref="decimal"/>
|
320
|
+
<context ref="keywords"/>
|
321
|
+
<context ref="operators"/>
|
322
|
+
<context ref="types"/>
|
323
|
+
<context ref="storage-class"/>
|
324
|
+
<context ref="boolean"/>
|
325
|
+
<context ref="common-defines"/>
|
326
|
+
<context ref="standard-streams"/>
|
327
|
+
<context ref="signals"/>
|
328
|
+
</include>
|
329
|
+
</context>
|
330
|
+
|
331
|
+
</definitions>
|
332
|
+
</language>
|