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,209 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!--
|
3
|
+
|
4
|
+
This file is part of GtkSourceView.
|
5
|
+
|
6
|
+
Authors: Sylvestre Ledru
|
7
|
+
Copyright (C) 2010 Sylvestre Ledru <sylvestre.ledru@scilab.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="scilab" _name="Scilab" version="2.0" _section="Scientific">
|
25
|
+
<metadata>
|
26
|
+
<property name="globs">*.sce;*.sci</property>
|
27
|
+
<property name="line-comment-start">//</property>
|
28
|
+
</metadata>
|
29
|
+
|
30
|
+
<styles>
|
31
|
+
<style id="comment" _name="Comment" map-to="def:comment"/>
|
32
|
+
<style id="floating-point" _name="Floating Point" map-to="def:floating-point"/>
|
33
|
+
<style id="string" _name="String" map-to="def:string"/>
|
34
|
+
<style id="keyword" _name="Keyword" map-to="def:keyword"/>
|
35
|
+
<style id="function" _name="Function" map-to="def:function"/>
|
36
|
+
<style id="boolean" _name="Boolean" map-to="def:boolean"/>
|
37
|
+
<style id="reserved-constant" _name="Reserved Constant" map-to="def:special-constant"/>
|
38
|
+
</styles>
|
39
|
+
|
40
|
+
<definitions>
|
41
|
+
|
42
|
+
<context id="line-comment" style-ref="comment" end-at-line-end="true" class="comment" class-disabled="no-spell-check">
|
43
|
+
<start>//</start>
|
44
|
+
<include>
|
45
|
+
<context ref="def:in-comment"/>
|
46
|
+
</include>
|
47
|
+
</context>
|
48
|
+
|
49
|
+
<context id="double-quoted-string" style-ref="string" end-at-line-end="true" class="string" class-disabled="no-spell-check">
|
50
|
+
<start>"</start>
|
51
|
+
<end>"</end>
|
52
|
+
<include>
|
53
|
+
<context ref="def:escape"/>
|
54
|
+
<context ref="def:line-continue"/>
|
55
|
+
</include>
|
56
|
+
</context>
|
57
|
+
|
58
|
+
<context id="single-quoted-string" style-ref="string" end-at-line-end="true" class="string" class-disabled="no-spell-check">
|
59
|
+
<!--
|
60
|
+
To do not misdetect the transpose operator ' as the start of a string
|
61
|
+
we assert to not follow a variable name (letters, digits and underscores)
|
62
|
+
or a closing bracket (round, square or curly) or a dot (to form the
|
63
|
+
array transpose operator ".'" ). -->
|
64
|
+
<start>(?<![0-9a-zA-Z_)\]}\.])'</start>
|
65
|
+
<end>'</end>
|
66
|
+
<include>
|
67
|
+
<context style-ref="def:special-char">
|
68
|
+
<match>''</match>
|
69
|
+
</context>
|
70
|
+
<context ref="def:line-continue"/>
|
71
|
+
</include>
|
72
|
+
</context>
|
73
|
+
|
74
|
+
<context id="boolean" style-ref="boolean">
|
75
|
+
<keyword>%f</keyword>
|
76
|
+
<keyword>%F</keyword>
|
77
|
+
<keyword>%t</keyword>
|
78
|
+
<keyword>%T</keyword>
|
79
|
+
</context>
|
80
|
+
|
81
|
+
<context id="reserved-constant" style-ref="reserved-constant">
|
82
|
+
<keyword>%pi</keyword>
|
83
|
+
<keyword>%eps</keyword>
|
84
|
+
<keyword>%inf</keyword>
|
85
|
+
<keyword>%nan</keyword>
|
86
|
+
<keyword>%e</keyword>
|
87
|
+
<keyword>%i</keyword>
|
88
|
+
<keyword>%z</keyword>
|
89
|
+
<keyword>%s</keyword>
|
90
|
+
</context>
|
91
|
+
|
92
|
+
<context id="keyword" style-ref="keyword">
|
93
|
+
<keyword>abort</keyword>
|
94
|
+
<keyword>break</keyword>
|
95
|
+
<keyword>case</keyword>
|
96
|
+
<keyword>clear</keyword>
|
97
|
+
<keyword>catch</keyword>
|
98
|
+
<keyword>continue</keyword>
|
99
|
+
<keyword>do</keyword>
|
100
|
+
<keyword>elseif</keyword>
|
101
|
+
<keyword>else</keyword>
|
102
|
+
<keyword>endfunction</keyword>
|
103
|
+
<keyword>end</keyword>
|
104
|
+
<keyword>for</keyword>
|
105
|
+
<keyword>function</keyword>
|
106
|
+
<keyword>global</keyword>
|
107
|
+
<keyword>if</keyword>
|
108
|
+
<keyword>pause</keyword>
|
109
|
+
<keyword>return</keyword>
|
110
|
+
<keyword>resume</keyword>
|
111
|
+
<keyword>select</keyword>
|
112
|
+
<keyword>try</keyword>
|
113
|
+
<keyword>then</keyword>
|
114
|
+
<keyword>while</keyword>
|
115
|
+
</context>
|
116
|
+
|
117
|
+
<context id="floating-point-number" style-ref="floating-point">
|
118
|
+
<match>\b([0-9]+[DdEe][+-]?[0-9]+|([0-9]*\.[0-9]+|[0-9]+\.)([DdEe][+-]?[0-9]+)?)</match>
|
119
|
+
</context>
|
120
|
+
|
121
|
+
<context id="function" style-ref="function">
|
122
|
+
<keyword>abs</keyword>
|
123
|
+
<keyword>and</keyword>
|
124
|
+
<keyword>acos</keyword>
|
125
|
+
<keyword>asin</keyword>
|
126
|
+
<keyword>atan</keyword>
|
127
|
+
<keyword>ceil</keyword>
|
128
|
+
<keyword>cd</keyword>
|
129
|
+
<keyword>chdir</keyword>
|
130
|
+
<keyword>clearglobal</keyword>
|
131
|
+
<keyword>cosh</keyword>
|
132
|
+
<keyword>cos</keyword>
|
133
|
+
<keyword>cumprod</keyword>
|
134
|
+
<keyword>deff</keyword>
|
135
|
+
<keyword>disp</keyword>
|
136
|
+
<keyword>error</keyword>
|
137
|
+
<keyword>exec</keyword>
|
138
|
+
<keyword>execstr</keyword>
|
139
|
+
<keyword>exists</keyword>
|
140
|
+
<keyword>exp</keyword>
|
141
|
+
<keyword>eye</keyword>
|
142
|
+
<keyword>gettext</keyword>
|
143
|
+
<keyword>floor</keyword>
|
144
|
+
<keyword>fprintf</keyword>
|
145
|
+
<keyword>fread</keyword>
|
146
|
+
<keyword>fsolve</keyword>
|
147
|
+
<keyword>imag</keyword>
|
148
|
+
<keyword>isdef</keyword>
|
149
|
+
<keyword>isempty</keyword>
|
150
|
+
<keyword>isinf</keyword>
|
151
|
+
<keyword>isnan</keyword>
|
152
|
+
<keyword>isvector</keyword>
|
153
|
+
<keyword>lasterror</keyword>
|
154
|
+
<keyword>length</keyword>
|
155
|
+
<keyword>load</keyword>
|
156
|
+
<keyword>linspace</keyword>
|
157
|
+
<keyword>list</keyword>
|
158
|
+
<keyword>listfiles</keyword>
|
159
|
+
<keyword>log10</keyword>
|
160
|
+
<keyword>log2</keyword>
|
161
|
+
<keyword>log</keyword>
|
162
|
+
<keyword>max</keyword>
|
163
|
+
<keyword>min</keyword>
|
164
|
+
<keyword>msprintf</keyword>
|
165
|
+
<keyword>mclose</keyword>
|
166
|
+
<keyword>mopen</keyword>
|
167
|
+
<keyword>ones</keyword>
|
168
|
+
<keyword>or</keyword>
|
169
|
+
<keyword>pathconvert</keyword>
|
170
|
+
<keyword>poly</keyword>
|
171
|
+
<keyword>printf</keyword>
|
172
|
+
<keyword>prod</keyword>
|
173
|
+
<keyword>pwd</keyword>
|
174
|
+
<keyword>rand</keyword>
|
175
|
+
<keyword>real</keyword>
|
176
|
+
<keyword>round</keyword>
|
177
|
+
<keyword>sinh</keyword>
|
178
|
+
<keyword>sin</keyword>
|
179
|
+
<keyword>size</keyword>
|
180
|
+
<keyword>gsort</keyword>
|
181
|
+
<keyword>sprintf</keyword>
|
182
|
+
<keyword>sqrt</keyword>
|
183
|
+
<keyword>strcat</keyword>
|
184
|
+
<keyword>strcmp</keyword>
|
185
|
+
<keyword>string</keyword>
|
186
|
+
<keyword>sum</keyword>
|
187
|
+
<keyword>system</keyword>
|
188
|
+
<keyword>tanh</keyword>
|
189
|
+
<keyword>tan</keyword>
|
190
|
+
<keyword>type</keyword>
|
191
|
+
<keyword>typename</keyword>
|
192
|
+
<keyword>warning</keyword>
|
193
|
+
<keyword>zeros</keyword>
|
194
|
+
</context>
|
195
|
+
|
196
|
+
<context id="scilab" class="no-spell-check">
|
197
|
+
<include>
|
198
|
+
<context ref="line-comment"/>
|
199
|
+
<context ref="double-quoted-string"/>
|
200
|
+
<context ref="single-quoted-string"/>
|
201
|
+
<context ref="boolean"/>
|
202
|
+
<context ref="reserved-constant"/>
|
203
|
+
<context ref="keyword"/>
|
204
|
+
<context ref="floating-point-number"/>
|
205
|
+
<context ref="function"/>
|
206
|
+
</include>
|
207
|
+
</context>
|
208
|
+
</definitions>
|
209
|
+
</language>
|
@@ -0,0 +1,499 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!--
|
3
|
+
|
4
|
+
This file is part of GtkSourceView
|
5
|
+
|
6
|
+
Author: Silian Della Ragione <silian87@gechi.it>
|
7
|
+
Copyright (C) 2005 Silian Della Ragione <silian87@gechi.it>
|
8
|
+
Copyright (C) 2008 Steve Frécinaux <code@istique.net>
|
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="sh" _name="sh" version="2.0" _section="Script">
|
26
|
+
<metadata>
|
27
|
+
<property name="mimetypes">text/x-shellscript;application/x-shellscript;text/x-sh</property>
|
28
|
+
<property name="globs">*.sh;*bashrc;.profile;.bash_profile</property>
|
29
|
+
<property name="line-comment-start">#</property>
|
30
|
+
</metadata>
|
31
|
+
|
32
|
+
<styles>
|
33
|
+
<style id="comment" _name="Comment" map-to="def:comment"/>
|
34
|
+
<style id="function" _name="Function" map-to="def:function"/>
|
35
|
+
<style id="string" _name="String" map-to="def:string"/>
|
36
|
+
<style id="keyword" _name="Keyword" map-to="def:keyword"/>
|
37
|
+
<style id="variable" _name="Variable" map-to="def:type"/> <!-- FIXME: need to sort out proper styles for variables -->
|
38
|
+
<style id="variable-definition" _name="Variable Definition" map-to="sh:variable"/>
|
39
|
+
<style id="others" _name="Others" map-to="def:keyword"/>
|
40
|
+
<style id="common-command" _name="Common Commands" map-to="def:keyword"/>
|
41
|
+
<style id="here-doc-bound" _name="Heredoc Bound" map-to="def:keyword"/>
|
42
|
+
<style id="subshell" _name="Subshell" map-to="def:preprocessor"/>
|
43
|
+
</styles>
|
44
|
+
|
45
|
+
<definitions>
|
46
|
+
|
47
|
+
<!-- we cannot use def:shell-like-comment, because
|
48
|
+
m4.lang needs to replace this context -->
|
49
|
+
<context id="line-comment" style-ref="comment" end-at-line-end="true" class="comment" class-disabled="no-spell-check">
|
50
|
+
<start>(?<!\S)#</start>
|
51
|
+
<include>
|
52
|
+
<context ref="def:in-comment"/>
|
53
|
+
</include>
|
54
|
+
</context>
|
55
|
+
|
56
|
+
<context id="double-quoted-string" style-ref="string" class="string" class-disabled="no-spell-check">
|
57
|
+
<start>"</start>
|
58
|
+
<end>"</end>
|
59
|
+
<include>
|
60
|
+
<!-- highlight escaped chars -->
|
61
|
+
<context style-ref="def:special-char">
|
62
|
+
<match>\\[$`"\\]</match>
|
63
|
+
</context>
|
64
|
+
<!-- skip backslash where it's not an escaping char -->
|
65
|
+
<context>
|
66
|
+
<match>\\</match>
|
67
|
+
</context>
|
68
|
+
<context ref="def:line-continue"/>
|
69
|
+
<context ref="variable"/>
|
70
|
+
<context ref="backtick-subshell"/>
|
71
|
+
</include>
|
72
|
+
</context>
|
73
|
+
|
74
|
+
<context id="single-quoted-string" style-ref="string" class="string" class-disabled="no-spell-check">
|
75
|
+
<start>'</start>
|
76
|
+
<end>'</end>
|
77
|
+
</context>
|
78
|
+
|
79
|
+
<context id="subshell">
|
80
|
+
<start>\(</start>
|
81
|
+
<end>\)</end>
|
82
|
+
<include>
|
83
|
+
<context sub-pattern="0" where="start" style-ref="keyword"/>
|
84
|
+
<context sub-pattern="0" where="end" style-ref="keyword"/>
|
85
|
+
<context ref="sh"/>
|
86
|
+
</include>
|
87
|
+
</context>
|
88
|
+
|
89
|
+
<context id="backtick-subshell" style-ref="subshell">
|
90
|
+
<start>`</start>
|
91
|
+
<end>`</end>
|
92
|
+
<include>
|
93
|
+
<context ref="def:escape"/>
|
94
|
+
<context ref="def:line-continue"/>
|
95
|
+
<context ref="variable"/>
|
96
|
+
<context ref="built-in-command"/>
|
97
|
+
<context ref="common-command"/>
|
98
|
+
<context ref="single-quoted-string"/>
|
99
|
+
<context ref="double-quoted-string"/>
|
100
|
+
</include>
|
101
|
+
</context>
|
102
|
+
|
103
|
+
<context id="punctuator" style-ref="others">
|
104
|
+
<match>[;\|&/]</match>
|
105
|
+
</context>
|
106
|
+
|
107
|
+
<context id="function" style-ref="function">
|
108
|
+
<match>\b[a-zA-Z_][a-zA-Z0-9_]+[ \t]*\(\)</match>
|
109
|
+
</context>
|
110
|
+
|
111
|
+
<context id="redirection" style-ref="others">
|
112
|
+
<keyword>>&+[0-9]</keyword>
|
113
|
+
<keyword>\b[0-9]+>&</keyword>
|
114
|
+
<keyword>\b[0-9]+>&+[0-9]</keyword>
|
115
|
+
<keyword>\b[0-9]+></keyword>
|
116
|
+
<keyword>>></keyword>
|
117
|
+
<keyword>\b[0-9]+>></keyword>
|
118
|
+
<keyword><&[0-9]</keyword>
|
119
|
+
<keyword>\b[0-9]+<&</keyword>
|
120
|
+
<keyword>\b[0-9]+<&[0-9]</keyword>
|
121
|
+
<keyword>\b[0-9]+<</keyword>
|
122
|
+
<keyword><<+[0-9]</keyword>
|
123
|
+
<keyword>\b[0-9]+<<</keyword>
|
124
|
+
</context>
|
125
|
+
|
126
|
+
<context id="here-doc">
|
127
|
+
<start extended="true" dupnames="true">
|
128
|
+
# (?<!<) and [^\s<] are for not matching
|
129
|
+
# here-word (<<<)
|
130
|
+
(?<!<)
|
131
|
+
<<-?\s*\\?(
|
132
|
+
\"(?P<HDB>[^\s<]+)\" | # "EOF"
|
133
|
+
\'(?P<HDB>[^\s<]+)\' | # 'EOF'
|
134
|
+
(?P<HDB>[^\s<]+) # EOF
|
135
|
+
)$
|
136
|
+
</start>
|
137
|
+
<end>^\t*\%{HDB@start}$</end>
|
138
|
+
<include>
|
139
|
+
<context sub-pattern="0" where="start" style-ref="here-doc-bound"/>
|
140
|
+
<context sub-pattern="0" where="end" style-ref="here-doc-bound"/>
|
141
|
+
</include>
|
142
|
+
</context>
|
143
|
+
|
144
|
+
<context id="operator" style-ref="function">
|
145
|
+
<keyword>\-a\b</keyword>
|
146
|
+
<keyword>\-b\b</keyword>
|
147
|
+
<keyword>\-c\b</keyword>
|
148
|
+
<keyword>\-d\b</keyword>
|
149
|
+
<keyword>\-e\b</keyword>
|
150
|
+
<keyword>\-f\b</keyword>
|
151
|
+
<keyword>\-g\b</keyword>
|
152
|
+
<keyword>\-h\b</keyword>
|
153
|
+
<keyword>\-k\b</keyword>
|
154
|
+
<keyword>\-p\b</keyword>
|
155
|
+
<keyword>\-r\b</keyword>
|
156
|
+
<keyword>\-s\b</keyword>
|
157
|
+
<keyword>\-t\b</keyword>
|
158
|
+
<keyword>\-u\b</keyword>
|
159
|
+
<keyword>\-w\b</keyword>
|
160
|
+
<keyword>\-x\b</keyword>
|
161
|
+
<keyword>\-O\b</keyword>
|
162
|
+
<keyword>\-G\b</keyword>
|
163
|
+
<keyword>\-L\b</keyword>
|
164
|
+
<keyword>\-S\b</keyword>
|
165
|
+
<keyword>\-N\b</keyword>
|
166
|
+
<keyword>\-nt\b</keyword>
|
167
|
+
<keyword>\-ot\b</keyword>
|
168
|
+
<keyword>\-ef\b</keyword>
|
169
|
+
<keyword>\-o\b</keyword>
|
170
|
+
<keyword>\-z\b</keyword>
|
171
|
+
<keyword>\-n\b</keyword>
|
172
|
+
<keyword><</keyword>
|
173
|
+
<keyword>></keyword>
|
174
|
+
<keyword>\!=</keyword>
|
175
|
+
<keyword>\-eq\b</keyword>
|
176
|
+
<keyword>\-ne\b</keyword>
|
177
|
+
<keyword>\-lt\b</keyword>
|
178
|
+
<keyword>\-le\b</keyword>
|
179
|
+
<keyword>\-gt\b</keyword>
|
180
|
+
<keyword>\-ge\b</keyword>
|
181
|
+
</context>
|
182
|
+
|
183
|
+
<context id="variable" style-ref="variable">
|
184
|
+
<match>\$+[!@?*#\${a-zA-Z0-9_][}a-zA-Z0-9_]*</match>
|
185
|
+
</context>
|
186
|
+
|
187
|
+
<context id="variable-definition">
|
188
|
+
<match>(^\s*|(?<=then|else|do|export)\s+)([a-zA-Z_][a-zA-Z0-9_]*)\=</match>
|
189
|
+
<include>
|
190
|
+
<context sub-pattern="2" style-ref="variable-definition"/>
|
191
|
+
</include>
|
192
|
+
</context>
|
193
|
+
|
194
|
+
<context id="built-in-command-1" style-ref="keyword">
|
195
|
+
<prefix></prefix>
|
196
|
+
<suffix></suffix>
|
197
|
+
<keyword>\!</keyword>
|
198
|
+
<keyword>\{</keyword>
|
199
|
+
<keyword>\}</keyword>
|
200
|
+
<keyword>\:</keyword>
|
201
|
+
<keyword>(?<=\s)\.(?=\s)</keyword>
|
202
|
+
</context>
|
203
|
+
|
204
|
+
<context id="for-command">
|
205
|
+
<start>\bfor\b</start>
|
206
|
+
<end>\b(in|do)\b</end>
|
207
|
+
<include>
|
208
|
+
<context sub-pattern="0" where="start" style-ref="keyword"/>
|
209
|
+
<context sub-pattern="0" where="end" style-ref="keyword"/>
|
210
|
+
<context style-ref="variable-definition" once-only="true">
|
211
|
+
<match>\w+</match>
|
212
|
+
</context>
|
213
|
+
</include>
|
214
|
+
</context>
|
215
|
+
|
216
|
+
<context id="built-in-command-2" style-ref="keyword">
|
217
|
+
<prefix>(?<![^\s;\(\)\`])</prefix>
|
218
|
+
<suffix>(?![^\s;\(\)\`])</suffix>
|
219
|
+
<keyword>do</keyword>
|
220
|
+
<keyword>done</keyword>
|
221
|
+
<keyword>elif</keyword>
|
222
|
+
<keyword>else</keyword>
|
223
|
+
<keyword>fi</keyword>
|
224
|
+
<keyword>for</keyword>
|
225
|
+
<keyword>function</keyword>
|
226
|
+
<keyword>if</keyword>
|
227
|
+
<keyword>in</keyword>
|
228
|
+
<keyword>select</keyword>
|
229
|
+
<keyword>then</keyword>
|
230
|
+
<keyword>until</keyword>
|
231
|
+
<keyword>while</keyword>
|
232
|
+
<keyword>alias</keyword>
|
233
|
+
<keyword>bg</keyword>
|
234
|
+
<keyword>bind</keyword>
|
235
|
+
<keyword>break</keyword>
|
236
|
+
<keyword>builtin</keyword>
|
237
|
+
<keyword>cd</keyword>
|
238
|
+
<keyword>command</keyword>
|
239
|
+
<keyword>compgen</keyword>
|
240
|
+
<keyword>complete</keyword>
|
241
|
+
<keyword>continue</keyword>
|
242
|
+
<keyword>declare</keyword>
|
243
|
+
<keyword>dirs</keyword>
|
244
|
+
<keyword>disown</keyword>
|
245
|
+
<keyword>echo</keyword>
|
246
|
+
<keyword>enable</keyword>
|
247
|
+
<keyword>eval</keyword>
|
248
|
+
<keyword>exec</keyword>
|
249
|
+
<keyword>exit</keyword>
|
250
|
+
<keyword>export</keyword>
|
251
|
+
<keyword>fc</keyword>
|
252
|
+
<keyword>fg</keyword>
|
253
|
+
<keyword>getopts</keyword>
|
254
|
+
<keyword>hash</keyword>
|
255
|
+
<keyword>help</keyword>
|
256
|
+
<keyword>history</keyword>
|
257
|
+
<keyword>jobs</keyword>
|
258
|
+
<keyword>let</keyword>
|
259
|
+
<keyword>local</keyword>
|
260
|
+
<keyword>logout</keyword>
|
261
|
+
<keyword>popd</keyword>
|
262
|
+
<keyword>printf</keyword>
|
263
|
+
<keyword>pushd</keyword>
|
264
|
+
<keyword>read</keyword>
|
265
|
+
<keyword>readonly</keyword>
|
266
|
+
<keyword>return</keyword>
|
267
|
+
<keyword>set</keyword>
|
268
|
+
<keyword>shift</keyword>
|
269
|
+
<keyword>shopt</keyword>
|
270
|
+
<keyword>source</keyword>
|
271
|
+
<keyword>suspend</keyword>
|
272
|
+
<keyword>test</keyword>
|
273
|
+
<keyword>times</keyword>
|
274
|
+
<keyword>trap</keyword>
|
275
|
+
<keyword>type</keyword>
|
276
|
+
<keyword>typeset</keyword>
|
277
|
+
<keyword>ulimit</keyword>
|
278
|
+
<keyword>umask</keyword>
|
279
|
+
<keyword>unalias</keyword>
|
280
|
+
<keyword>unset</keyword>
|
281
|
+
<keyword>wait</keyword>
|
282
|
+
</context>
|
283
|
+
|
284
|
+
<context id="built-in-command">
|
285
|
+
<include>
|
286
|
+
<context ref="built-in-command-1"/>
|
287
|
+
<context ref="for-command"/>
|
288
|
+
<context ref="built-in-command-2"/>
|
289
|
+
</include>
|
290
|
+
</context>
|
291
|
+
|
292
|
+
<context id="common-command" style-ref="common-command">
|
293
|
+
<prefix>(?<![\w\-\.])</prefix>
|
294
|
+
<suffix>(?![\w\-\.])</suffix>
|
295
|
+
<keyword>ar</keyword>
|
296
|
+
<keyword>awk</keyword>
|
297
|
+
<keyword>basename</keyword>
|
298
|
+
<keyword>bash</keyword>
|
299
|
+
<keyword>beep</keyword>
|
300
|
+
<keyword>bunzip2</keyword>
|
301
|
+
<keyword>bzcat</keyword>
|
302
|
+
<keyword>bzcmp</keyword>
|
303
|
+
<keyword>bzdiff</keyword>
|
304
|
+
<keyword>bzegrep</keyword>
|
305
|
+
<keyword>bzfgrep</keyword>
|
306
|
+
<keyword>bzgrep</keyword>
|
307
|
+
<keyword>bzip2recover</keyword>
|
308
|
+
<keyword>bzip2</keyword>
|
309
|
+
<keyword>bzless</keyword>
|
310
|
+
<keyword>bzmore</keyword>
|
311
|
+
<keyword>cc</keyword>
|
312
|
+
<keyword>cat</keyword>
|
313
|
+
<keyword>chattr</keyword>
|
314
|
+
<keyword>chgrp</keyword>
|
315
|
+
<keyword>chmod</keyword>
|
316
|
+
<keyword>chown</keyword>
|
317
|
+
<keyword>chroot</keyword>
|
318
|
+
<keyword>clear</keyword>
|
319
|
+
<keyword>cmp</keyword>
|
320
|
+
<keyword>cpp</keyword>
|
321
|
+
<keyword>cp</keyword>
|
322
|
+
<keyword>cut</keyword>
|
323
|
+
<keyword>date</keyword>
|
324
|
+
<keyword>dd</keyword>
|
325
|
+
<keyword>df</keyword>
|
326
|
+
<keyword>dialog</keyword>
|
327
|
+
<keyword>diff3</keyword>
|
328
|
+
<keyword>diff</keyword>
|
329
|
+
<keyword>dirname</keyword>
|
330
|
+
<keyword>dir</keyword>
|
331
|
+
<keyword>du</keyword>
|
332
|
+
<keyword>egrep</keyword>
|
333
|
+
<keyword>eject</keyword>
|
334
|
+
<keyword>env</keyword>
|
335
|
+
<keyword>expr</keyword>
|
336
|
+
<keyword>false</keyword>
|
337
|
+
<keyword>fgrep</keyword>
|
338
|
+
<keyword>file</keyword>
|
339
|
+
<keyword>find</keyword>
|
340
|
+
<keyword>fmt</keyword>
|
341
|
+
<keyword>free</keyword>
|
342
|
+
<keyword>ftp</keyword>
|
343
|
+
<keyword>funzip</keyword>
|
344
|
+
<keyword>fuser</keyword>
|
345
|
+
<keyword>gawk</keyword>
|
346
|
+
<keyword>gcc</keyword>
|
347
|
+
<keyword>getent</keyword>
|
348
|
+
<keyword>getopt</keyword>
|
349
|
+
<keyword>grep</keyword>
|
350
|
+
<keyword>groups</keyword>
|
351
|
+
<keyword>gunzip</keyword>
|
352
|
+
<keyword>gzip</keyword>
|
353
|
+
<keyword>head</keyword>
|
354
|
+
<keyword>hostname</keyword>
|
355
|
+
<keyword>id</keyword>
|
356
|
+
<keyword>ifconfig</keyword>
|
357
|
+
<keyword>info</keyword>
|
358
|
+
<keyword>insmod</keyword>
|
359
|
+
<keyword>install</keyword>
|
360
|
+
<keyword>join</keyword>
|
361
|
+
<keyword>killall</keyword>
|
362
|
+
<keyword>kill</keyword>
|
363
|
+
<keyword>lastb</keyword>
|
364
|
+
<keyword>last</keyword>
|
365
|
+
<keyword>ld</keyword>
|
366
|
+
<keyword>less</keyword>
|
367
|
+
<keyword>ln</keyword>
|
368
|
+
<keyword>locate</keyword>
|
369
|
+
<keyword>lockfile</keyword>
|
370
|
+
<keyword>login</keyword>
|
371
|
+
<keyword>logname</keyword>
|
372
|
+
<keyword>lp</keyword>
|
373
|
+
<keyword>lpr</keyword>
|
374
|
+
<keyword>lsattr</keyword>
|
375
|
+
<keyword>ls</keyword>
|
376
|
+
<keyword>lsmod</keyword>
|
377
|
+
<keyword>make</keyword>
|
378
|
+
<keyword>man</keyword>
|
379
|
+
<keyword>mkdir</keyword>
|
380
|
+
<keyword>mkfifo</keyword>
|
381
|
+
<keyword>mknod</keyword>
|
382
|
+
<keyword>mktemp</keyword>
|
383
|
+
<keyword>modprobe</keyword>
|
384
|
+
<keyword>more</keyword>
|
385
|
+
<keyword>mount</keyword>
|
386
|
+
<keyword>mv</keyword>
|
387
|
+
<keyword>namei</keyword>
|
388
|
+
<keyword>nawk</keyword>
|
389
|
+
<keyword>nice</keyword>
|
390
|
+
<keyword>nl</keyword>
|
391
|
+
<keyword>passwd</keyword>
|
392
|
+
<keyword>patch</keyword>
|
393
|
+
<keyword>perl</keyword>
|
394
|
+
<keyword>pgawk</keyword>
|
395
|
+
<keyword>pidof</keyword>
|
396
|
+
<keyword>ping</keyword>
|
397
|
+
<keyword>pkg-config</keyword>
|
398
|
+
<keyword>pr</keyword>
|
399
|
+
<keyword>ps</keyword>
|
400
|
+
<keyword>pwd</keyword>
|
401
|
+
<keyword>readlink</keyword>
|
402
|
+
<keyword>renice</keyword>
|
403
|
+
<keyword>rmdir</keyword>
|
404
|
+
<keyword>rm</keyword>
|
405
|
+
<keyword>scp</keyword>
|
406
|
+
<keyword>sed</keyword>
|
407
|
+
<keyword>seq</keyword>
|
408
|
+
<keyword>sh</keyword>
|
409
|
+
<keyword>sleep</keyword>
|
410
|
+
<keyword>sort</keyword>
|
411
|
+
<keyword>split</keyword>
|
412
|
+
<keyword>ssh-add</keyword>
|
413
|
+
<keyword>ssh-agent</keyword>
|
414
|
+
<keyword>ssh-keygen</keyword>
|
415
|
+
<keyword>ssh-keyscan</keyword>
|
416
|
+
<keyword>ssh</keyword>
|
417
|
+
<keyword>stat</keyword>
|
418
|
+
<keyword>sudo</keyword>
|
419
|
+
<keyword>sum</keyword>
|
420
|
+
<keyword>su</keyword>
|
421
|
+
<keyword>sync</keyword>
|
422
|
+
<keyword>tac</keyword>
|
423
|
+
<keyword>tail</keyword>
|
424
|
+
<keyword>tar</keyword>
|
425
|
+
<keyword>tee</keyword>
|
426
|
+
<keyword>tempfile</keyword>
|
427
|
+
<keyword>touch</keyword>
|
428
|
+
<keyword>true</keyword>
|
429
|
+
<keyword>tr</keyword>
|
430
|
+
<keyword>umount</keyword>
|
431
|
+
<keyword>uname</keyword>
|
432
|
+
<keyword>uniq</keyword>
|
433
|
+
<keyword>unlink</keyword>
|
434
|
+
<keyword>unzip</keyword>
|
435
|
+
<keyword>uptime</keyword>
|
436
|
+
<keyword>wall</keyword>
|
437
|
+
<keyword>wc</keyword>
|
438
|
+
<keyword>wget</keyword>
|
439
|
+
<keyword>whereis</keyword>
|
440
|
+
<keyword>which</keyword>
|
441
|
+
<keyword>whoami</keyword>
|
442
|
+
<keyword>who</keyword>
|
443
|
+
<keyword>write</keyword>
|
444
|
+
<keyword>w</keyword>
|
445
|
+
<keyword>xargs</keyword>
|
446
|
+
<keyword>xdialog</keyword>
|
447
|
+
<keyword>zcat</keyword>
|
448
|
+
<keyword>zcmp</keyword>
|
449
|
+
<keyword>zdiff</keyword>
|
450
|
+
<keyword>zegrep</keyword>
|
451
|
+
<keyword>zenity</keyword>
|
452
|
+
<keyword>zfgrep</keyword>
|
453
|
+
<keyword>zforce</keyword>
|
454
|
+
<keyword>zgrep</keyword>
|
455
|
+
<keyword>zip</keyword>
|
456
|
+
<keyword>zless</keyword>
|
457
|
+
<keyword>zmore</keyword>
|
458
|
+
<keyword>znew</keyword>
|
459
|
+
</context>
|
460
|
+
|
461
|
+
<context id="case">
|
462
|
+
<start>\bcase\b</start>
|
463
|
+
<end>\besac\b</end>
|
464
|
+
<include>
|
465
|
+
<context sub-pattern="0" where="start" style-ref="keyword"/>
|
466
|
+
<context sub-pattern="0" where="end" style-ref="keyword"/>
|
467
|
+
<context ref="double-quoted-string"/>
|
468
|
+
<context ref="single-quoted-string"/>
|
469
|
+
<context style-ref="others">
|
470
|
+
<match>[^\)\s]+\s*\)|;;</match>
|
471
|
+
</context>
|
472
|
+
<context ref="sh"/>
|
473
|
+
</include>
|
474
|
+
</context>
|
475
|
+
|
476
|
+
<context id="sh" class="no-spell-check">
|
477
|
+
<include>
|
478
|
+
<context ref="def:shebang"/>
|
479
|
+
<context ref="line-comment"/>
|
480
|
+
<context ref="def:escape"/>
|
481
|
+
<context ref="single-quoted-string"/>
|
482
|
+
<context ref="double-quoted-string"/>
|
483
|
+
<context ref="subshell"/>
|
484
|
+
<context ref="backtick-subshell"/>
|
485
|
+
<context ref="case"/>
|
486
|
+
<context ref="punctuator"/>
|
487
|
+
<context ref="function"/>
|
488
|
+
<context ref="here-doc"/>
|
489
|
+
<context ref="redirection"/>
|
490
|
+
<context ref="operator"/>
|
491
|
+
<context ref="variable"/>
|
492
|
+
<context ref="variable-definition"/>
|
493
|
+
<context ref="built-in-command"/>
|
494
|
+
<context ref="common-command"/>
|
495
|
+
</include>
|
496
|
+
</context>
|
497
|
+
|
498
|
+
</definitions>
|
499
|
+
</language>
|