gtksourceview3 2.2.4-x64-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +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,108 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!--
|
3
|
+
|
4
|
+
This file is part of GtkSourceView
|
5
|
+
|
6
|
+
Author: Paolo Borelli <pborelli@katamail.com>
|
7
|
+
Copyright (C) 2008 Paolo Borelli <pborelli@katamail.com>
|
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="xslt" _name="XSLT" version="2.0" _section="Markup">
|
25
|
+
<metadata>
|
26
|
+
<property name="mimetypes">application/xslt+xml</property>
|
27
|
+
<property name="globs">*.xslt;*.xsl</property>
|
28
|
+
<property name="block-comment-start"><!--</property>
|
29
|
+
<property name="block-comment-end">--></property>
|
30
|
+
</metadata>
|
31
|
+
|
32
|
+
<styles>
|
33
|
+
<style id="element" _name="Element" map-to="def:keyword"/>
|
34
|
+
<style id="namespace" _name="Namespace" map-to="xslt:element"/>
|
35
|
+
</styles>
|
36
|
+
|
37
|
+
<definitions>
|
38
|
+
|
39
|
+
<context id="namespace" style-ref="namespace">
|
40
|
+
<match>(?<!:)xsl:</match>
|
41
|
+
</context>
|
42
|
+
|
43
|
+
<context id="xslt-namespace">
|
44
|
+
<include>
|
45
|
+
<context ref="namespace"/>
|
46
|
+
<context ref="xml:namespace" original="true"/>
|
47
|
+
</include>
|
48
|
+
</context>
|
49
|
+
|
50
|
+
<context id="elements" once-only="true" style-ref="element">
|
51
|
+
<suffix>\b(?!\s*=)</suffix>
|
52
|
+
<keyword>apply-imports</keyword>
|
53
|
+
<keyword>apply-templates</keyword>
|
54
|
+
<keyword>attribute-set</keyword>
|
55
|
+
<keyword>attribute</keyword>
|
56
|
+
<keyword>call-template</keyword>
|
57
|
+
<keyword>choose</keyword>
|
58
|
+
<keyword>comment</keyword>
|
59
|
+
<keyword>copy-of</keyword>
|
60
|
+
<keyword>copy</keyword>
|
61
|
+
<keyword>decimal-format</keyword>
|
62
|
+
<keyword>document</keyword>
|
63
|
+
<keyword>element</keyword>
|
64
|
+
<keyword>fallback</keyword>
|
65
|
+
<keyword>for-each</keyword>
|
66
|
+
<keyword>if</keyword>
|
67
|
+
<keyword>import</keyword>
|
68
|
+
<keyword>include</keyword>
|
69
|
+
<keyword>key</keyword>
|
70
|
+
<keyword>message</keyword>
|
71
|
+
<keyword>namespace-alias</keyword>
|
72
|
+
<keyword>number</keyword>
|
73
|
+
<keyword>otherwise</keyword>
|
74
|
+
<keyword>output</keyword>
|
75
|
+
<keyword>param</keyword>
|
76
|
+
<keyword>preserve-space</keyword>
|
77
|
+
<keyword>processing-instruction</keyword>
|
78
|
+
<keyword>script</keyword>
|
79
|
+
<keyword>sort</keyword>
|
80
|
+
<keyword>strip-space</keyword>
|
81
|
+
<keyword>stylesheet</keyword>
|
82
|
+
<keyword>template</keyword>
|
83
|
+
<keyword>text</keyword>
|
84
|
+
<keyword>transform</keyword>
|
85
|
+
<keyword>value-of</keyword>
|
86
|
+
<keyword>variable</keyword>
|
87
|
+
<keyword>when</keyword>
|
88
|
+
<keyword>with-param</keyword>
|
89
|
+
</context>
|
90
|
+
|
91
|
+
<context id="xslt-tags">
|
92
|
+
<include>
|
93
|
+
<context ref="elements"/>
|
94
|
+
<context ref="xml:element-name" original="true"/>
|
95
|
+
</include>
|
96
|
+
</context>
|
97
|
+
|
98
|
+
<replace id="xml:namespace" ref="xslt-namespace"/>
|
99
|
+
<replace id="xml:element-name" ref="xslt-tags"/>
|
100
|
+
|
101
|
+
<context id="xslt">
|
102
|
+
<include>
|
103
|
+
<context ref="xml:xml"/>
|
104
|
+
</include>
|
105
|
+
</context>
|
106
|
+
</definitions>
|
107
|
+
|
108
|
+
</language>
|
@@ -0,0 +1,177 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!--
|
3
|
+
|
4
|
+
This file is part of GtkSourceView
|
5
|
+
|
6
|
+
Author: Yevgen Muntyan <muntyan@tamu.edu>
|
7
|
+
Copyright (C) 2006-2008 Yevgen Muntyan <muntyan@tamu.edu>
|
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="yacc" _name="Yacc" _section="Other" version="2.0">
|
25
|
+
<metadata>
|
26
|
+
<property name="mimetypes">text/x-yacc;text/x-bison</property>
|
27
|
+
<property name="globs">*.y;*.yacc</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
|
+
<!--FIXME make it better names, and make them translatable -->
|
35
|
+
<style id="keyword" _name="keyword" map-to="def:keyword"/>
|
36
|
+
<style id="token-type" _name="token type" map-to="def:type"/>
|
37
|
+
<style id="rule" _name="rule" map-to="def:identifier"/>
|
38
|
+
</styles>
|
39
|
+
|
40
|
+
<definitions>
|
41
|
+
<context id="inline-c">
|
42
|
+
<start>^%{</start>
|
43
|
+
<end>^%}</end>
|
44
|
+
<include>
|
45
|
+
<context sub-pattern="0" where="start" style-ref="keyword"/>
|
46
|
+
<context sub-pattern="0" where="end" style-ref="keyword"/>
|
47
|
+
<context ref="c:c"/>
|
48
|
+
</include>
|
49
|
+
</context>
|
50
|
+
|
51
|
+
<context id="options" style-ref="keyword">
|
52
|
+
<prefix>^%</prefix>
|
53
|
+
<keyword>debug</keyword>
|
54
|
+
<keyword>defines</keyword>
|
55
|
+
<keyword>destructor</keyword>
|
56
|
+
<keyword>dprec</keyword>
|
57
|
+
<keyword>error-verbose</keyword>
|
58
|
+
<keyword>expect</keyword>
|
59
|
+
<keyword>glr-parser</keyword>
|
60
|
+
<keyword>initial-action</keyword>
|
61
|
+
<keyword>left</keyword>
|
62
|
+
<keyword>lex-param</keyword>
|
63
|
+
<keyword>locations</keyword>
|
64
|
+
<keyword>merge</keyword>
|
65
|
+
<keyword>name-prefix</keyword>
|
66
|
+
<keyword>no[_-]lines</keyword>
|
67
|
+
<keyword>nonassoc</keyword>
|
68
|
+
<keyword>output</keyword>
|
69
|
+
<keyword>parse-param</keyword>
|
70
|
+
<keyword>prec</keyword>
|
71
|
+
<keyword>pure[_-]parser</keyword>
|
72
|
+
<keyword>raw</keyword>
|
73
|
+
<keyword>require</keyword>
|
74
|
+
<keyword>right</keyword>
|
75
|
+
<keyword>start</keyword>
|
76
|
+
<keyword>token[_-]table</keyword>
|
77
|
+
<keyword>union</keyword>
|
78
|
+
</context>
|
79
|
+
|
80
|
+
<context id="token" end-at-line-end="true">
|
81
|
+
<start>^(%(token|type))(<[A-Za-z_][A-Za-z0-9_]*>)?(?![\w_-])</start>
|
82
|
+
<include>
|
83
|
+
<context sub-pattern="1" where="start" style-ref="keyword"/>
|
84
|
+
<context sub-pattern="3" where="start" style-ref="token-type"/>
|
85
|
+
<context ref="c:string"/>
|
86
|
+
<context ref="c:char"/>
|
87
|
+
<context ref="c:float"/>
|
88
|
+
<context ref="c:hexadecimal"/>
|
89
|
+
<context ref="c:octal"/>
|
90
|
+
<context ref="c:decimal"/>
|
91
|
+
<context ref="def:c-like-comment"/>
|
92
|
+
<context ref="def:c-like-comment-multiline"/>
|
93
|
+
<context ref="def:c-like-close-comment-outside-comment"/>
|
94
|
+
</include>
|
95
|
+
</context>
|
96
|
+
|
97
|
+
<context id="before-grammar">
|
98
|
+
<include>
|
99
|
+
<context ref="inline-c"/>
|
100
|
+
<context ref="options"/>
|
101
|
+
<context ref="token"/>
|
102
|
+
<context ref="def:c-like-comment"/>
|
103
|
+
<context ref="def:c-like-comment-multiline"/>
|
104
|
+
<context ref="def:c-like-close-comment-outside-comment"/>
|
105
|
+
</include>
|
106
|
+
</context>
|
107
|
+
|
108
|
+
<context id="after-grammar">
|
109
|
+
<start>^%%</start>
|
110
|
+
<include>
|
111
|
+
<context sub-pattern="0" where="start" style-ref="keyword"/>
|
112
|
+
<context ref="c:c"/>
|
113
|
+
</include>
|
114
|
+
</context>
|
115
|
+
|
116
|
+
<context id="c-with-brackets">
|
117
|
+
<include>
|
118
|
+
<context>
|
119
|
+
<start>{</start>
|
120
|
+
<end>}</end>
|
121
|
+
<include>
|
122
|
+
<context ref="c-with-brackets"/>
|
123
|
+
</include>
|
124
|
+
</context>
|
125
|
+
<context style-ref="keyword">
|
126
|
+
<match>(\$(<[\w\d_-]*>)?[\$0-9]|[@][$0-9])</match>
|
127
|
+
</context>
|
128
|
+
<context ref="c:c"/>
|
129
|
+
</include>
|
130
|
+
</context>
|
131
|
+
|
132
|
+
<context id="rule-code">
|
133
|
+
<start>{</start>
|
134
|
+
<end>}</end>
|
135
|
+
<include>
|
136
|
+
<context sub-pattern="0" where="start" style-ref="keyword"/>
|
137
|
+
<context sub-pattern="0" where="end" style-ref="keyword"/>
|
138
|
+
<context ref="c-with-brackets"/>
|
139
|
+
</include>
|
140
|
+
</context>
|
141
|
+
|
142
|
+
<context id="rule">
|
143
|
+
<start>[a-zA-Z_.][a-zA-Z0-9_.]*</start>
|
144
|
+
<end>;</end>
|
145
|
+
<include>
|
146
|
+
<context sub-pattern="0" where="start" style-ref="rule"/>
|
147
|
+
<context ref="def:c-like-comment"/>
|
148
|
+
<context ref="def:c-like-comment-multiline"/>
|
149
|
+
<context ref="def:c-like-close-comment-outside-comment"/>
|
150
|
+
<context ref="c:char"/>
|
151
|
+
<context ref="c:string"/>
|
152
|
+
<context ref="rule-code"/>
|
153
|
+
</include>
|
154
|
+
</context>
|
155
|
+
|
156
|
+
<context id="grammar">
|
157
|
+
<start>^%%</start>
|
158
|
+
<include>
|
159
|
+
<context sub-pattern="0" where="start" style-ref="keyword"/>
|
160
|
+
<context ref="def:c-like-comment"/>
|
161
|
+
<context ref="def:c-like-comment-multiline"/>
|
162
|
+
<context ref="def:c-like-close-comment-outside-comment"/>
|
163
|
+
<context ref="c:char"/>
|
164
|
+
<context ref="c:string"/>
|
165
|
+
<context ref="rule"/>
|
166
|
+
<context ref="after-grammar"/>
|
167
|
+
</include>
|
168
|
+
</context>
|
169
|
+
|
170
|
+
<context id="yacc">
|
171
|
+
<include>
|
172
|
+
<context ref="before-grammar"/>
|
173
|
+
<context ref="grammar"/>
|
174
|
+
</include>
|
175
|
+
</context>
|
176
|
+
</definitions>
|
177
|
+
</language>
|
@@ -0,0 +1,214 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!-- vim: tabstop=2 shiftwidth=2
|
3
|
+
|
4
|
+
yaml.lang basic syntax highlighting of YAML for GtkSourceView
|
5
|
+
|
6
|
+
Copyright (C) 2013 Masood Behabadi <masood@dentcat.com>
|
7
|
+
|
8
|
+
This program is free software; you can redistribute it and/or
|
9
|
+
modify it under the terms of the GNU Lesser General Public
|
10
|
+
License as published by the Free Software Foundation; either
|
11
|
+
version 2.1 of the License, or (at your option) any later version.
|
12
|
+
|
13
|
+
This program is distributed in the hope that it will be useful,
|
14
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
15
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
16
|
+
Lesser General Public License for more details.
|
17
|
+
|
18
|
+
You should have received a copy of the GNU Lesser General Public
|
19
|
+
License along with this library; if not, write to the Free Software
|
20
|
+
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
21
|
+
-->
|
22
|
+
<language id="yaml" _name="YAML" _section="Other" version="2.0">
|
23
|
+
<metadata>
|
24
|
+
<property name="mimetypes">application/x-yaml</property>
|
25
|
+
<property name="globs">*.yaml;*.yml;</property>
|
26
|
+
<property name="line-comment-start">#</property>
|
27
|
+
</metadata>
|
28
|
+
|
29
|
+
<styles>
|
30
|
+
<style id="scalar" _name="Block literal" map-to="def:string"/>
|
31
|
+
<style id="comment" _name="Comment" map-to="def:comment"/>
|
32
|
+
<style id="string" _name="String" map-to="def:string"/>
|
33
|
+
<style id="anchor" _name="Anchor" map-to="def:identifier"/>
|
34
|
+
<style id="tag" _name="Tag" map-to="def:preprocessor"/>
|
35
|
+
<style id="alias" _name="Alias" map-to="def:type"/>
|
36
|
+
<style id="map-key" _name="Map key" map-to="def:keyword"/>
|
37
|
+
<style id="directive" _name="Directive" map-to="def:shebang"/>
|
38
|
+
<style id="null" _name="Null" map-to="def:special-constant"/>
|
39
|
+
<style id="bool" _name="Boolean" map-to="def:boolean"/>
|
40
|
+
<style id="int" _name="Integer" map-to="def:decimal"/>
|
41
|
+
<style id="float" _name="Floating point" map-to="def:floating-point"/>
|
42
|
+
</styles>
|
43
|
+
|
44
|
+
<definitions>
|
45
|
+
|
46
|
+
<define-regex id="ischar">[^-\?:,\[\]\{\}#&*!|>'"%@\s]</define-regex>
|
47
|
+
|
48
|
+
<define-regex id="lschar">[\s\[\{,]</define-regex>
|
49
|
+
<define-regex id="rschar">[\s\]\},]</define-regex>
|
50
|
+
|
51
|
+
<context id="scalar" class-disabled="no-spell-check">
|
52
|
+
<start>(?<=^|\s)[|>]$</start>
|
53
|
+
<include>
|
54
|
+
<context end-parent="true" style-ref="scalar">
|
55
|
+
<start>^(?'indent'\s+)</start>
|
56
|
+
<end>^(?!\%{indent@start})</end>
|
57
|
+
</context>
|
58
|
+
<context end-parent="true">
|
59
|
+
<match>(?=.)</match>
|
60
|
+
</context>
|
61
|
+
</include>
|
62
|
+
</context>
|
63
|
+
|
64
|
+
<context id="alias" style-ref="alias">
|
65
|
+
<match>(?<=^|\s)\*\%{ischar}+(?=$|\s)</match>
|
66
|
+
</context>
|
67
|
+
|
68
|
+
<context id="tag" style-ref="tag">
|
69
|
+
<match>(?<=^|\s)!(?:\%{ischar}*)?!?\%{ischar}+(?=$|\s)</match>
|
70
|
+
</context>
|
71
|
+
|
72
|
+
<context id="anchor" style-ref="anchor">
|
73
|
+
<match>(?<=^|\s)&\%{ischar}+(?=$|\s)</match>
|
74
|
+
</context>
|
75
|
+
|
76
|
+
<context id="string" end-at-line-end="true" style-ref="string" class-disabled="no-spell-check">
|
77
|
+
<start>(?<=^|\%{lschar})(?'q'["'])</start>
|
78
|
+
<end>[^\\]\%{q@start}</end>
|
79
|
+
</context>
|
80
|
+
|
81
|
+
<context id="unquoted-string" end-at-line-end="true" style-ref="string" class-disabled="no-spell-check">
|
82
|
+
<start>(?=\%{ischar}|[:-\?\]\}]\S)</start>
|
83
|
+
<end>(?=:\s|:$|\s#)</end>
|
84
|
+
</context>
|
85
|
+
|
86
|
+
<context id="inline-unquoted" end-at-line-end="true" style-ref="string" class-disabled="no-spell-check">
|
87
|
+
<start>(?=\%{ischar}|-\S)</start>
|
88
|
+
<end>(?=[:,?\[\{\]\}]|\s#)</end>
|
89
|
+
</context>
|
90
|
+
|
91
|
+
<context id="null" style-ref="null">
|
92
|
+
<match>(?:null)(?=\s*$|\s+#)</match>
|
93
|
+
</context>
|
94
|
+
|
95
|
+
<context id="inline-null" style-ref="null">
|
96
|
+
<match>(?:null)(?=\s*[:,?\[\{\]\}]|\s+#)</match>
|
97
|
+
</context>
|
98
|
+
|
99
|
+
<context id="bool" style-ref="bool">
|
100
|
+
<match>(?:true|false)(?=\s*$|\s+#)</match>
|
101
|
+
</context>
|
102
|
+
|
103
|
+
<context id="inline-bool" style-ref="bool">
|
104
|
+
<match>(?:true|false)(?=\s*[:,?\[\{\]\}]|\s+#)</match>
|
105
|
+
</context>
|
106
|
+
|
107
|
+
<context id="inline-int" style-ref="int">
|
108
|
+
<match>-?(?:0|[1-9][0-9]*)(?=\s*[:,?\[\{\]\}]|\s+#)</match>
|
109
|
+
</context>
|
110
|
+
|
111
|
+
<context id="int" style-ref="int">
|
112
|
+
<match>-?(?:0|[1-9][0-9]*)(?=\s*$|\s+#)</match>
|
113
|
+
</context>
|
114
|
+
|
115
|
+
<context id="inline-float" style-ref="float">
|
116
|
+
<match>-?(?:0|[1-9][0-9]*)(?:[.][0-9]*)?(?:[eE][-+]?[0-9]+)?(?=\s*[:,?\[\{\]\}]|\s+#)</match>
|
117
|
+
</context>
|
118
|
+
|
119
|
+
<context id="float" style-ref="float">
|
120
|
+
<match>-?(?:0|[1-9][0-9]*)(?:[.][0-9]*)?(?:[eE][-+]?[0-9]+)?(?=\s*$|\s+#)</match>
|
121
|
+
</context>
|
122
|
+
|
123
|
+
<context id="comment" style-ref="comment">
|
124
|
+
<match>(?<=^|\s)#.*$</match>
|
125
|
+
</context>
|
126
|
+
|
127
|
+
<context id="inline-sequence">
|
128
|
+
<start>(?<=^|\s)\[</start>
|
129
|
+
<include>
|
130
|
+
<context ref="scalar"/>
|
131
|
+
<context ref="inline-sequence"/>
|
132
|
+
<context ref="inline-map"/>
|
133
|
+
<context ref="comment"/>
|
134
|
+
<context ref="alias"/>
|
135
|
+
<context ref="tag"/>
|
136
|
+
<context ref="anchor"/>
|
137
|
+
<context ref="string"/>
|
138
|
+
<context ref="inline-null"/>
|
139
|
+
<context ref="inline-bool"/>
|
140
|
+
<context ref="inline-int"/>
|
141
|
+
<context ref="inline-float"/>
|
142
|
+
<context ref="inline-unquoted"/>
|
143
|
+
<context end-parent="true">
|
144
|
+
<match>\]</match>
|
145
|
+
</context>
|
146
|
+
</include>
|
147
|
+
</context>
|
148
|
+
|
149
|
+
<context id="inline-map">
|
150
|
+
<start>(?<=^|\s)\{</start>
|
151
|
+
<include>
|
152
|
+
<context ref="scalar"/>
|
153
|
+
<context ref="inline-sequence"/>
|
154
|
+
<context ref="inline-map"/>
|
155
|
+
<context ref="comment"/>
|
156
|
+
<context ref="alias"/>
|
157
|
+
<context ref="tag"/>
|
158
|
+
<context ref="anchor"/>
|
159
|
+
<context ref="string"/>
|
160
|
+
<context ref="inline-null"/>
|
161
|
+
<context ref="inline-bool"/>
|
162
|
+
<context ref="inline-int"/>
|
163
|
+
<context ref="inline-float"/>
|
164
|
+
<context ref="inline-unquoted"/>
|
165
|
+
<context end-parent="true">
|
166
|
+
<match>\}</match>
|
167
|
+
</context>
|
168
|
+
</include>
|
169
|
+
</context>
|
170
|
+
|
171
|
+
<context id="map">
|
172
|
+
<match>(?<=^|\s)((?:[^:]|:(?=\S))+)(?::\s+|:$)</match>
|
173
|
+
<include>
|
174
|
+
<context sub-pattern="1" style-ref="map-key"/>
|
175
|
+
</include>
|
176
|
+
</context>
|
177
|
+
|
178
|
+
<context id="sequence">
|
179
|
+
<match>^\s*-\s+</match>
|
180
|
+
</context>
|
181
|
+
|
182
|
+
<context id="document" style-ref="comment">
|
183
|
+
<match>^(?:-{3}|[.]{3})(?:\s+|$)</match>
|
184
|
+
</context>
|
185
|
+
|
186
|
+
<context id="directive" style-ref="directive">
|
187
|
+
<match>^%\%{ischar}(?:\%{ischar}|\s+)*</match>
|
188
|
+
</context>
|
189
|
+
|
190
|
+
<context id="yaml" class="no-spell-check">
|
191
|
+
<include>
|
192
|
+
<context ref="directive"/>
|
193
|
+
<context ref="document"/>
|
194
|
+
<context ref="scalar"/>
|
195
|
+
<context ref="sequence"/>
|
196
|
+
<context ref="inline-sequence"/>
|
197
|
+
<context ref="inline-map"/>
|
198
|
+
<context ref="comment"/>
|
199
|
+
<context ref="null"/>
|
200
|
+
<context ref="bool"/>
|
201
|
+
<context ref="int"/>
|
202
|
+
<context ref="float"/>
|
203
|
+
<context ref="alias"/>
|
204
|
+
<context ref="tag"/>
|
205
|
+
<context ref="anchor"/>
|
206
|
+
<context ref="map"/>
|
207
|
+
<context ref="string"/>
|
208
|
+
<context ref="unquoted-string"/>
|
209
|
+
</include>
|
210
|
+
</context>
|
211
|
+
|
212
|
+
</definitions>
|
213
|
+
|
214
|
+
</language>
|