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,128 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!--
|
3
|
+
|
4
|
+
This file is part of GtkSourceView
|
5
|
+
|
6
|
+
Author: Yevgen Muntyan <muntyan@math.tamu.edu>
|
7
|
+
Author: Patryk Zawadzki <patrys@pld-linux.org>
|
8
|
+
Copyright (C) 2007 Yevgen Muntyan <muntyan@math.tamu.edu>
|
9
|
+
Copyright (C) 2010 Patryk Zawadzki <patrys@pld-linux.org>
|
10
|
+
|
11
|
+
GtkSourceView is free software; you can redistribute it and/or
|
12
|
+
modify it under the terms of the GNU Lesser General Public
|
13
|
+
License as published by the Free Software Foundation; either
|
14
|
+
version 2.1 of the License, or (at your option) any later version.
|
15
|
+
|
16
|
+
GtkSourceView is distributed in the hope that it will be useful,
|
17
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
18
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
19
|
+
Lesser General Public License for more details.
|
20
|
+
|
21
|
+
You should have received a copy of the GNU Lesser General Public
|
22
|
+
License along with this library; if not, write to the Free Software
|
23
|
+
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
24
|
+
|
25
|
+
-->
|
26
|
+
<language id="objj" _name="Objective-J" version="2.0" _section="Source">
|
27
|
+
<metadata>
|
28
|
+
<property name="mimetypes">text/x-objective-j</property>
|
29
|
+
<property name="globs">*.j</property>
|
30
|
+
<property name="line-comment-start">//</property>
|
31
|
+
<property name="block-comment-start">/*</property>
|
32
|
+
<property name="block-comment-end">*/</property>
|
33
|
+
</metadata>
|
34
|
+
|
35
|
+
<styles>
|
36
|
+
<style id="boolean" _name="Boolean" map-to="js:boolean"/>
|
37
|
+
<style id="keyword" _name="Keyword" map-to="js:keyword"/>
|
38
|
+
<style id="type" _name="Data Type" map-to="js:type"/>
|
39
|
+
<style id="preprocessor" _name="Preprocessor" map-to="def:preprocessor"/>
|
40
|
+
<style id="included-file" _name="Included File" map-to="js:string"/>
|
41
|
+
<style id="string" _name="String" map-to="js:string"/>
|
42
|
+
<style id="null-value" _name="Null Value" map-to="js:null-value"/>
|
43
|
+
</styles>
|
44
|
+
|
45
|
+
<definitions>
|
46
|
+
<!-- Objective-J-specific stuff (i.e. stuff which is not JS) -->
|
47
|
+
<context id="headers">
|
48
|
+
<include>
|
49
|
+
<context style-ref="keyword">
|
50
|
+
<prefix>\@</prefix>
|
51
|
+
<keyword>catch</keyword>
|
52
|
+
<keyword>class</keyword>
|
53
|
+
<keyword>defs</keyword>
|
54
|
+
<keyword>encode</keyword>
|
55
|
+
<keyword>end</keyword>
|
56
|
+
<keyword>finally</keyword>
|
57
|
+
<keyword>implementation</keyword>
|
58
|
+
<keyword>interface</keyword>
|
59
|
+
<keyword>private</keyword>
|
60
|
+
<keyword>protected</keyword>
|
61
|
+
<keyword>protocol</keyword>
|
62
|
+
<keyword>public</keyword>
|
63
|
+
<keyword>selector</keyword>
|
64
|
+
<keyword>synchronized</keyword>
|
65
|
+
<keyword>throw</keyword>
|
66
|
+
<keyword>try</keyword>
|
67
|
+
</context>
|
68
|
+
|
69
|
+
<context style-ref="preprocessor">
|
70
|
+
<match extended="true">
|
71
|
+
\@
|
72
|
+
(import)\s*
|
73
|
+
(".*?"|<.*>)
|
74
|
+
</match>
|
75
|
+
<include>
|
76
|
+
<context id="included-file" sub-pattern="2" style-ref="included-file"/>
|
77
|
+
</include>
|
78
|
+
</context>
|
79
|
+
|
80
|
+
<context style-ref="string" end-at-line-end="true" class="string" class-disabled="no-spell-check">
|
81
|
+
<start>\@"</start>
|
82
|
+
<end>"</end>
|
83
|
+
</context>
|
84
|
+
</include>
|
85
|
+
</context>
|
86
|
+
|
87
|
+
<!-- ObjJ-specific stuff (i.e. stuff which is not C), which isn't
|
88
|
+
good to highlight in C headers -->
|
89
|
+
<context id="sources">
|
90
|
+
<include>
|
91
|
+
<context style-ref="boolean">
|
92
|
+
<keyword>YES</keyword>
|
93
|
+
<keyword>NO</keyword>
|
94
|
+
</context>
|
95
|
+
|
96
|
+
<context style-ref="keyword">
|
97
|
+
<keyword>self</keyword>
|
98
|
+
<keyword>super</keyword>
|
99
|
+
<keyword>_cmd</keyword>
|
100
|
+
</context>
|
101
|
+
|
102
|
+
<context style-ref="type">
|
103
|
+
<keyword>BOOL</keyword>
|
104
|
+
<keyword>Class</keyword>
|
105
|
+
<keyword>id</keyword>
|
106
|
+
<keyword>int</keyword>
|
107
|
+
<keyword>IMP</keyword>
|
108
|
+
<keyword>SEL</keyword>
|
109
|
+
</context>
|
110
|
+
|
111
|
+
<context style-ref="null-value">
|
112
|
+
<keyword>nil</keyword>
|
113
|
+
<keyword>Nil</keyword>
|
114
|
+
</context>
|
115
|
+
</include>
|
116
|
+
</context>
|
117
|
+
|
118
|
+
<!-- actual language definition: Objective-J-specific stuff plus everything from JS -->
|
119
|
+
<context id="objj" class="no-spell-check">
|
120
|
+
<include>
|
121
|
+
<context ref="headers"/>
|
122
|
+
<context ref="sources"/>
|
123
|
+
<context ref="js:js"/>
|
124
|
+
</include>
|
125
|
+
</context>
|
126
|
+
</definitions>
|
127
|
+
|
128
|
+
</language>
|
@@ -0,0 +1,302 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!-- vim: set sts=2 sw=2: -->
|
3
|
+
<!--
|
4
|
+
|
5
|
+
This file is part of GtkSourceView
|
6
|
+
|
7
|
+
Author: Eric Cooper <ecc@cmu.edu>
|
8
|
+
Copyright (C) 2007 Eric Cooper <ecc@cmu.edu>
|
9
|
+
Copyright (C) 2007 Eric Norige <thelema314@gmail.com>
|
10
|
+
Copyright (C) 2009 Alexandr Kuleshov <sterh@live.ru>
|
11
|
+
|
12
|
+
GtkSourceView is free software; you can redistribute it and/or
|
13
|
+
modify it under the terms of the GNU Lesser General Public
|
14
|
+
License as published by the Free Software Foundation; either
|
15
|
+
version 2.1 of the License, or (at your option) any later version.
|
16
|
+
|
17
|
+
GtkSourceView is distributed in the hope that it will be useful,
|
18
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
19
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
20
|
+
Lesser General Public License for more details.
|
21
|
+
|
22
|
+
You should have received a copy of the GNU Lesser General Public
|
23
|
+
License along with this library; if not, write to the Free Software
|
24
|
+
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
25
|
+
|
26
|
+
-->
|
27
|
+
<language id="ocaml" _name="OCaml" version="2.0" _section="Source">
|
28
|
+
<metadata>
|
29
|
+
<property name="mimetypes">text/x-ocaml</property>
|
30
|
+
<property name="globs">*.ml;*.mli;*.mll;*.mly</property>
|
31
|
+
<property name="block-comment-start">(*</property>
|
32
|
+
<property name="block-comment-end">*)</property>
|
33
|
+
</metadata>
|
34
|
+
|
35
|
+
<styles>
|
36
|
+
<style id="comment" _name="Comment" map-to="def:comment"/>
|
37
|
+
<style id="ocamldoc" _name="Ocamldoc Comments" map-to="def:note"/>
|
38
|
+
<style id="base-n-integer" _name="Base-N Integer" map-to="def:base-n-integer"/>
|
39
|
+
<style id="floating-point" _name="Floating Point number" map-to="def:floating-point"/>
|
40
|
+
<style id="decimal" _name="Decimal number" map-to="def:decimal"/>
|
41
|
+
<style id="string" _name="String" map-to="def:string"/>
|
42
|
+
<style id="keyword" _name="Keyword" map-to="def:keyword"/>
|
43
|
+
<style id="meta-keyword" _name="Type, module or object keyword" map-to="def:keyword"/>
|
44
|
+
<style id="fun-keyword" _name="Builtin-function keyword" map-to="def:keyword"/>
|
45
|
+
<style id="type" _name="Data Type" map-to="def:type"/>
|
46
|
+
<style id="label" _name="Labeled argument" map-to="def:type"/>
|
47
|
+
<style id="poly-variant" _name="Polymorphic Variant" map-to="def:type"/>
|
48
|
+
<style id="variant" _name="Variant Constructor" map-to="def:type"/>
|
49
|
+
<style id="type-var" _name="Type Variable" map-to="def:type"/>
|
50
|
+
<style id="module" _name="Module Path" map-to="def:type"/>
|
51
|
+
<style id="escape" _name="Escaped Character" map-to="def:special-char"/>
|
52
|
+
<style id="boolean" _name="Boolean value" map-to="def:boolean"/>
|
53
|
+
<style id="error" _name="Error" map-to="def:error"/>
|
54
|
+
<style id="std-modules" _name="Standard Modules" map-to="def:type"/>
|
55
|
+
</styles>
|
56
|
+
|
57
|
+
<definitions>
|
58
|
+
<define-regex id="cap-ident">\b[A-Z][A-Za-z0-9_']*</define-regex>
|
59
|
+
<define-regex id="low-ident">\b[a-z][A-Za-z0-9_']*</define-regex>
|
60
|
+
<define-regex id="char-esc">\\((\\|"|'|n|t|b|r)|[0-9]{3}|x[0-9a-fA-F]{2})</define-regex>
|
61
|
+
|
62
|
+
<context id="escape-seq" style-ref="escape">
|
63
|
+
<match>\%{char-esc}</match>
|
64
|
+
</context>
|
65
|
+
|
66
|
+
<!-- here's the main context -->
|
67
|
+
<context id="ocaml" class="no-spell-check">
|
68
|
+
<include>
|
69
|
+
<context id="ocamldoc" style-ref="ocamldoc">
|
70
|
+
<start>\(\*\*</start>
|
71
|
+
<end>\*\)</end>
|
72
|
+
<include>
|
73
|
+
<context id="comment-in-comment" style-ref="comment" class="comment" class-disabled="no-spell-check">
|
74
|
+
<start>\(\*</start>
|
75
|
+
<end>\*\)</end>
|
76
|
+
<include>
|
77
|
+
<context ref="string"/>
|
78
|
+
<context ref="comment-in-comment"/>
|
79
|
+
<context ref="def:in-comment:*"/>
|
80
|
+
</include>
|
81
|
+
</context>
|
82
|
+
<context ref="string"/>
|
83
|
+
<context ref="def:in-comment:*"/>
|
84
|
+
</include>
|
85
|
+
</context>
|
86
|
+
<context id="comment" style-ref="comment" class="comment" class-disabled="no-spell-check">
|
87
|
+
<start>\(\*</start>
|
88
|
+
<end>\*\)</end>
|
89
|
+
<include>
|
90
|
+
<context ref="string"/>
|
91
|
+
<context ref="comment-in-comment"/>
|
92
|
+
<context ref="def:in-comment:*"/>
|
93
|
+
</include>
|
94
|
+
</context>
|
95
|
+
<context id="hex-number" style-ref="base-n-integer">
|
96
|
+
<match>[-]?0[xX][0-9A-Fa-f][0-9A-Fa-f_]*[lL]?</match>
|
97
|
+
</context>
|
98
|
+
<context id="octal-number" style-ref="base-n-integer">
|
99
|
+
<match>[-]?0[oO][0-7][0-7_]*[lL]?</match>
|
100
|
+
</context>
|
101
|
+
<context id="binary-number" style-ref="base-n-integer">
|
102
|
+
<match>[-]?0[bB][01][01_]*[lL]?</match>
|
103
|
+
</context>
|
104
|
+
<context id="decimal" style-ref="decimal">
|
105
|
+
<match>[-]?[0-9][0-9_]*[lLn]?</match>
|
106
|
+
</context>
|
107
|
+
<context id="floating-point-number" style-ref="floating-point">
|
108
|
+
<match>[-]?[0-9][0-9_]*(\.[0-9_]*)?([Ee][+-]?[0-9][0-9_]*)?</match>
|
109
|
+
</context>
|
110
|
+
<context id="label" style-ref="label">
|
111
|
+
<match>[~?]\%{low-ident}</match>
|
112
|
+
</context>
|
113
|
+
<context id="poly-variant" style-ref="poly-variant">
|
114
|
+
<match>`\%{cap-ident}</match>
|
115
|
+
</context>
|
116
|
+
<context id="modpath" style-ref="module">
|
117
|
+
<!-- include final '.'? At the moment, no. -->
|
118
|
+
<match>\%{cap-ident}(\.\%{cap-ident})*(?=\.)</match>
|
119
|
+
</context>
|
120
|
+
<context id="variant" style-ref="variant">
|
121
|
+
<match>\%{cap-ident}</match>
|
122
|
+
</context>
|
123
|
+
<context id="string" style-ref="string">
|
124
|
+
<start>"</start>
|
125
|
+
<end>"</end>
|
126
|
+
<include>
|
127
|
+
<context ref="escape-seq"/>
|
128
|
+
</include>
|
129
|
+
</context>
|
130
|
+
<context id="character-constant" style-ref="string">
|
131
|
+
<match>('\%{char-esc}')|('[^\\']')</match>
|
132
|
+
</context>
|
133
|
+
<context id="type-var" style-ref="type-var">
|
134
|
+
<match>'\%{low-ident}</match>
|
135
|
+
</context>
|
136
|
+
<context id="arraylit">
|
137
|
+
<start>\[\|</start>
|
138
|
+
<end>\|\]</end>
|
139
|
+
<include>
|
140
|
+
<context ref="ocaml"/>
|
141
|
+
</include>
|
142
|
+
</context>
|
143
|
+
<context id="badarray" style-ref="error" extend-parent="false">
|
144
|
+
<match>\|\]</match>
|
145
|
+
</context>
|
146
|
+
<context id="listlit">
|
147
|
+
<start>\[</start>
|
148
|
+
<end>(?<!\|)\]</end>
|
149
|
+
<include>
|
150
|
+
<context ref="ocaml"/>
|
151
|
+
</include>
|
152
|
+
</context>
|
153
|
+
<context id="badlist" style-ref="error" extend-parent="false">
|
154
|
+
<match>\]</match>
|
155
|
+
</context>
|
156
|
+
<context id="boolean-constant" style-ref="boolean">
|
157
|
+
<keyword>true</keyword>
|
158
|
+
<keyword>false</keyword>
|
159
|
+
</context>
|
160
|
+
<!-- Flow control & common keywords -->
|
161
|
+
<context id="keywords" style-ref="keyword">
|
162
|
+
<keyword>and</keyword>
|
163
|
+
<keyword>assert</keyword>
|
164
|
+
<keyword>begin</keyword>
|
165
|
+
<keyword>do</keyword>
|
166
|
+
<keyword>done</keyword>
|
167
|
+
<keyword>downto</keyword>
|
168
|
+
<keyword>else</keyword>
|
169
|
+
<keyword>end</keyword>
|
170
|
+
<keyword>for</keyword>
|
171
|
+
<keyword>fun</keyword>
|
172
|
+
<keyword>function</keyword>
|
173
|
+
<keyword>if</keyword>
|
174
|
+
<keyword>in</keyword>
|
175
|
+
<keyword>let</keyword>
|
176
|
+
<keyword>match</keyword>
|
177
|
+
<keyword>rec</keyword>
|
178
|
+
<keyword>then</keyword>
|
179
|
+
<keyword>to</keyword>
|
180
|
+
<keyword>try</keyword>
|
181
|
+
<keyword>val</keyword>
|
182
|
+
<keyword>when</keyword>
|
183
|
+
<keyword>while</keyword>
|
184
|
+
<keyword>with</keyword>
|
185
|
+
</context>
|
186
|
+
<!-- types, objects and modules -->
|
187
|
+
<context id="meta-words" style-ref="meta-keyword">
|
188
|
+
<keyword>as</keyword>
|
189
|
+
<keyword>class</keyword>
|
190
|
+
<keyword>constraint</keyword>
|
191
|
+
<keyword>exception</keyword>
|
192
|
+
<keyword>external</keyword>
|
193
|
+
<keyword>functor</keyword>
|
194
|
+
<keyword>include</keyword>
|
195
|
+
<keyword>inherit</keyword>
|
196
|
+
<keyword>initializer</keyword>
|
197
|
+
<keyword>method</keyword>
|
198
|
+
<keyword>module</keyword>
|
199
|
+
<keyword>mutable</keyword>
|
200
|
+
<keyword>new</keyword>
|
201
|
+
<keyword>object</keyword>
|
202
|
+
<keyword>of</keyword>
|
203
|
+
<keyword>open</keyword>
|
204
|
+
<keyword>private</keyword>
|
205
|
+
<keyword>struct</keyword>
|
206
|
+
<keyword>sig</keyword>
|
207
|
+
<keyword>type</keyword>
|
208
|
+
<keyword>virtual</keyword>
|
209
|
+
</context>
|
210
|
+
<context id="function-keywords" style-ref="fun-keyword">
|
211
|
+
<!-- function-like keywords -->
|
212
|
+
<keyword>asr</keyword>
|
213
|
+
<keyword>land</keyword>
|
214
|
+
<keyword>lazy</keyword>
|
215
|
+
<keyword>lor</keyword>
|
216
|
+
<keyword>lsl</keyword>
|
217
|
+
<keyword>lsr</keyword>
|
218
|
+
<keyword>lxor</keyword>
|
219
|
+
<keyword>mod</keyword>
|
220
|
+
<keyword>or</keyword>
|
221
|
+
<!-- from pervasives, but same as others -->
|
222
|
+
<keyword>lnot</keyword>
|
223
|
+
</context>
|
224
|
+
<context id="types" style-ref="type">
|
225
|
+
<!-- pervasives types -->
|
226
|
+
<keyword>option</keyword>
|
227
|
+
<keyword>ignore</keyword>
|
228
|
+
<keyword>ref</keyword>
|
229
|
+
<keyword>array</keyword>
|
230
|
+
<keyword>bool</keyword>
|
231
|
+
<keyword>char</keyword>
|
232
|
+
<keyword>float</keyword>
|
233
|
+
<keyword>int</keyword>
|
234
|
+
<keyword>list</keyword>
|
235
|
+
<keyword>string</keyword>
|
236
|
+
<keyword>unit</keyword>
|
237
|
+
</context>
|
238
|
+
<context id="standart-modules" style-ref="std-modules">
|
239
|
+
<!--Standart modules -->
|
240
|
+
<keyword>Arg</keyword>
|
241
|
+
<keyword>Arith_status</keyword>
|
242
|
+
<keyword>Array</keyword>
|
243
|
+
<keyword>ArrayLabels</keyword>
|
244
|
+
<keyword>Big_int</keyword>
|
245
|
+
<keyword>Bigarray</keyword>
|
246
|
+
<keyword>Buffer</keyword>
|
247
|
+
<keyword>Callback</keyword>
|
248
|
+
<keyword>CamlinternalMod</keyword>
|
249
|
+
<keyword>CamlinternalOO</keyword>
|
250
|
+
<keyword>Char</keyword>
|
251
|
+
<keyword>Complex</keyword>
|
252
|
+
<keyword>Condition</keyword>
|
253
|
+
<keyword>Dbm</keyword>
|
254
|
+
<keyword>Digest</keyword>
|
255
|
+
<keyword>DynLink</keyword>
|
256
|
+
<keyword>Event</keyword>
|
257
|
+
<keyword>Filename</keyword>
|
258
|
+
<keyword>Format</keyword>
|
259
|
+
<keyword>Gc</keyword>
|
260
|
+
<keyword>Genlex</keyword>
|
261
|
+
<keyword>Graphics</keyword>
|
262
|
+
<keyword>GraphicsX11</keyword>
|
263
|
+
<keyword>Hashtbl</keyword>
|
264
|
+
<keyword>Int32</keyword>
|
265
|
+
<keyword>Int64</keyword>
|
266
|
+
<keyword>LargeFile</keyword>
|
267
|
+
<keyword>Lazy</keyword>
|
268
|
+
<keyword>Lexing</keyword>
|
269
|
+
<keyword>List</keyword>
|
270
|
+
<keyword>ListLabels</keyword>
|
271
|
+
<keyword>Map</keyword>
|
272
|
+
<keyword>Marshal</keyword>
|
273
|
+
<keyword>MoreLabels</keyword>
|
274
|
+
<keyword>Mutex</keyword>
|
275
|
+
<keyword>Mativeint</keyword>
|
276
|
+
<keyword>Num</keyword>
|
277
|
+
<keyword>Oo</keyword>
|
278
|
+
<keyword>Parsing</keyword>
|
279
|
+
<keyword>Printexc</keyword>
|
280
|
+
<keyword>Printf</keyword>
|
281
|
+
<keyword>Queue</keyword>
|
282
|
+
<keyword>Random</keyword>
|
283
|
+
<keyword>Scanf</keyword>
|
284
|
+
<keyword>Set</keyword>
|
285
|
+
<keyword>Sort</keyword>
|
286
|
+
<keyword>Stack</keyword>
|
287
|
+
<keyword>StdLabels</keyword>
|
288
|
+
<keyword>Str</keyword>
|
289
|
+
<keyword>Stream</keyword>
|
290
|
+
<keyword>StringLabels</keyword>
|
291
|
+
<keyword>Sys</keyword>
|
292
|
+
<keyword>Thread</keyword>
|
293
|
+
<keyword>ThreadUnix</keyword>
|
294
|
+
<keyword>Unix</keyword>
|
295
|
+
<keyword>UnixLabels</keyword>
|
296
|
+
<keyword>Weak</keyword>
|
297
|
+
<!-- Standart modules -->
|
298
|
+
</context>
|
299
|
+
</include>
|
300
|
+
</context>
|
301
|
+
</definitions>
|
302
|
+
</language>
|
@@ -0,0 +1,139 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!--
|
3
|
+
|
4
|
+
This file is part of GtkSourceView
|
5
|
+
|
6
|
+
OCL (Object Constraint Language) GtkSourceview language definition
|
7
|
+
based on GtkSourceview C language definition.
|
8
|
+
|
9
|
+
Author: Mario Carrión <mario@monouml.org>
|
10
|
+
Copyright (C) 2007 - Mario Carrión, <mario@monouml.org>
|
11
|
+
|
12
|
+
GtkSourceView is free software; you can redistribute it and/or
|
13
|
+
modify it under the terms of the GNU Lesser General Public
|
14
|
+
License as published by the Free Software Foundation; either
|
15
|
+
version 2.1 of the License, or (at your option) any later version.
|
16
|
+
|
17
|
+
GtkSourceView is distributed in the hope that it will be useful,
|
18
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
19
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
20
|
+
Lesser General Public License for more details.
|
21
|
+
|
22
|
+
You should have received a copy of the GNU Lesser General Public
|
23
|
+
License along with this library; if not, write to the Free Software
|
24
|
+
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
25
|
+
|
26
|
+
-->
|
27
|
+
|
28
|
+
<!--
|
29
|
+
To get more information about OCL see:
|
30
|
+
http://www.omg.org/technology/documents/formal/ocl.htm
|
31
|
+
-->
|
32
|
+
|
33
|
+
<language id="ocl" _name="OCL" version="2.0" _section="Other">
|
34
|
+
<metadata>
|
35
|
+
<property name="mimetypes">text/x-ocl</property>
|
36
|
+
<property name="globs">*.ocl</property>
|
37
|
+
<property name="line-comment-start">--</property>
|
38
|
+
</metadata>
|
39
|
+
|
40
|
+
<styles>
|
41
|
+
<style id="comment" _name="Comment" map-to="def:comment"/>
|
42
|
+
<style id="string" _name="String" map-to="def:string"/>
|
43
|
+
<style id="keyword" _name="Keyword" map-to="def:keyword"/>
|
44
|
+
<style id="operators" _name="Type Operators" map-to="def:keyword"/>
|
45
|
+
<style id="type" _name="Data Type" map-to="def:type"/>
|
46
|
+
<style id="operation" _name="Operation operator" map-to="def:keyword"/>
|
47
|
+
</styles>
|
48
|
+
|
49
|
+
<definitions>
|
50
|
+
<context id="ocl" class="no-spell-check">
|
51
|
+
<include>
|
52
|
+
<!-- Comments -->
|
53
|
+
<context id="comment" style-ref="comment" end-at-line-end="true" class="comment" class-disabled="no-spell-check">
|
54
|
+
<start>--</start>
|
55
|
+
<include>
|
56
|
+
<context ref="def:in-line-comment"/>
|
57
|
+
</include>
|
58
|
+
</context>
|
59
|
+
|
60
|
+
<!-- Strings -->
|
61
|
+
<context id="string" style-ref="string" end-at-line-end="true" class="string" class-disabled="no-spell-check">
|
62
|
+
<start>"</start>
|
63
|
+
<end>"</end>
|
64
|
+
</context>
|
65
|
+
|
66
|
+
<context ref="def:decimal"/>
|
67
|
+
<context ref="def:float"/>
|
68
|
+
|
69
|
+
<!-- Keywords -->
|
70
|
+
<context id="keywords" style-ref="keyword">
|
71
|
+
<!--
|
72
|
+
UML OCL2 Specification Page 29 and some other
|
73
|
+
that aren't "defined" as keywords
|
74
|
+
-->
|
75
|
+
<keyword>and</keyword>
|
76
|
+
<keyword>attr</keyword>
|
77
|
+
<keyword>body</keyword>
|
78
|
+
<keyword>context</keyword>
|
79
|
+
<keyword>derive</keyword>
|
80
|
+
<keyword>def</keyword>
|
81
|
+
<keyword>endpackage</keyword>
|
82
|
+
<keyword>false</keyword>
|
83
|
+
<keyword>in</keyword>
|
84
|
+
<keyword>init</keyword>
|
85
|
+
<keyword>inv</keyword>
|
86
|
+
<keyword>let</keyword>
|
87
|
+
<keyword>oper</keyword>
|
88
|
+
<keyword>package</keyword>
|
89
|
+
<keyword>post</keyword>
|
90
|
+
<keyword>pre</keyword>
|
91
|
+
<keyword>self</keyword>
|
92
|
+
<keyword>true</keyword>
|
93
|
+
</context>
|
94
|
+
|
95
|
+
<!-- Operators used on all types -->
|
96
|
+
<context id="operators" style-ref="operators">
|
97
|
+
<keyword>abs</keyword>
|
98
|
+
<keyword>and</keyword>
|
99
|
+
<keyword>concat</keyword>
|
100
|
+
<keyword>if</keyword>
|
101
|
+
<keyword>implies</keyword>
|
102
|
+
<keyword>else</keyword>
|
103
|
+
<keyword>endif</keyword>
|
104
|
+
<keyword>floor</keyword>
|
105
|
+
<keyword>then</keyword>
|
106
|
+
<keyword>or</keyword>
|
107
|
+
<keyword>not</keyword>
|
108
|
+
<keyword>size</keyword>
|
109
|
+
<keyword>substring</keyword>
|
110
|
+
<keyword>xor</keyword>
|
111
|
+
</context>
|
112
|
+
|
113
|
+
<!-- Operations allowed on Collections -->
|
114
|
+
<context id="operators-operations" style-ref="operation">
|
115
|
+
<keyword>select</keyword>
|
116
|
+
<keyword>exists</keyword>
|
117
|
+
<keyword>forAll</keyword>
|
118
|
+
<keyword>notEmpty</keyword>
|
119
|
+
<keyword>reject</keyword>
|
120
|
+
</context>
|
121
|
+
|
122
|
+
<!-- Default data types -->
|
123
|
+
<context id="types" style-ref="type">
|
124
|
+
<keyword>Boolean</keyword>
|
125
|
+
<keyword>boolean</keyword>
|
126
|
+
<keyword>Integer</keyword>
|
127
|
+
<keyword>int</keyword>
|
128
|
+
<keyword>Real</keyword>
|
129
|
+
<keyword>real</keyword>
|
130
|
+
<keyword>String</keyword>
|
131
|
+
<keyword>string</keyword>
|
132
|
+
</context>
|
133
|
+
|
134
|
+
</include>
|
135
|
+
</context>
|
136
|
+
</definitions>
|
137
|
+
</language>
|
138
|
+
|
139
|
+
|