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,162 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!--
|
3
|
+
|
4
|
+
This file is part of GtkSourceView
|
5
|
+
|
6
|
+
Authors: Duncan Coutts
|
7
|
+
Copyright (C) 2007 Duncan Coutts <duncan@haskell.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="haddock" _name="Haddock" version="2.0" _section="Markup" hidden="true">
|
25
|
+
|
26
|
+
<styles>
|
27
|
+
<style id="markup" _name="Inline Haddock Section" map-to="def:doc-comment"/>
|
28
|
+
<style id="directive" _name="Haddock Directive" map-to="def:doc-comment-element"/>
|
29
|
+
<style id="identifier" _name="Hyperlinked Identifier" map-to="def:doc-comment-element"/>
|
30
|
+
<style id="module" _name="Hyperlinked Module Name" map-to="def:doc-comment-element"/>
|
31
|
+
<style id="escape" _name="Escape" map-to="def:special-char"/>
|
32
|
+
<style id="emphasis" _name="Emphasis" map-to="def:doc-comment-element"/>
|
33
|
+
<style id="monospace" _name="Monospace" />
|
34
|
+
<style id="codeblock" _name="Code Block" />
|
35
|
+
<style id="property" _name="Header Property" map-to="def:doc-comment-element"/>
|
36
|
+
<style id="itemized" _name="Itemized list" map-to="def:doc-comment-element"/>
|
37
|
+
<style id="enumerated" _name="Enumerated list" map-to="def:doc-comment-element"/>
|
38
|
+
<style id="definition" _name="Definition list" map-to="def:doc-comment-element"/>
|
39
|
+
<style id="url" _name="URL" map-to="def:underlined"/>
|
40
|
+
<style id="anchor" _name="Anchor" map-to="def:doc-comment-element"/>
|
41
|
+
</styles>
|
42
|
+
|
43
|
+
<definitions>
|
44
|
+
<context id="haddock">
|
45
|
+
<include>
|
46
|
+
<!-- Spec: http://haskell.org/haddock/haddock-html-0.8/markup.html -->
|
47
|
+
|
48
|
+
<context id="escape" style-ref="escape" extend-parent="true">
|
49
|
+
<match>\\[/'`"@#<*-]</match>
|
50
|
+
</context>
|
51
|
+
|
52
|
+
<context id="character-reference" style-ref="escape">
|
53
|
+
<match>&#([0-9]+|x[a-fA-F0-9]+);</match>
|
54
|
+
</context>
|
55
|
+
|
56
|
+
<context id="identifier" style-ref="identifier" extend-parent="false">
|
57
|
+
<match>'[a-zA-Z_][0-9a-zA-Z._'#]*'</match>
|
58
|
+
</context>
|
59
|
+
|
60
|
+
<context id="module" style-ref="module" extend-parent="false">
|
61
|
+
<match>"[A-Z][0-9a-zA-Z._']*"</match>
|
62
|
+
</context>
|
63
|
+
|
64
|
+
<context id="emphasis" style-ref="emphasis" extend-parent="false">
|
65
|
+
<start>/</start>
|
66
|
+
<end>/</end>
|
67
|
+
<include>
|
68
|
+
<context ref="escape"/>
|
69
|
+
<context ref="character-reference"/>
|
70
|
+
</include>
|
71
|
+
</context>
|
72
|
+
|
73
|
+
<context id="monospace" style-ref="monospace" extend-parent="false">
|
74
|
+
<start>@</start>
|
75
|
+
<end>@</end>
|
76
|
+
<include>
|
77
|
+
<context ref="escape"/>
|
78
|
+
<context ref="character-reference"/>
|
79
|
+
</include>
|
80
|
+
</context>
|
81
|
+
|
82
|
+
<context id="codeblock" style-ref="codeblock">
|
83
|
+
<match>^\s*--+\s+>.*$</match>
|
84
|
+
</context>
|
85
|
+
|
86
|
+
<context id="property" extend-parent="false">
|
87
|
+
<match>^\s*--+\s+([A-Z][a-zA-Z0-9'_]*)\s*:.*$</match>
|
88
|
+
<include>
|
89
|
+
<context sub-pattern="1" style-ref="property"/>
|
90
|
+
</include>
|
91
|
+
</context>
|
92
|
+
|
93
|
+
<context id="list-item" extend-parent="false">
|
94
|
+
<match extended="true">
|
95
|
+
^(\s*--+)?\s+ # line start possibly with line comment
|
96
|
+
( \*(?=\s) | -(?=\s) # bulleted item
|
97
|
+
| \([0-9]\) | [0-9]\. # enumerated item
|
98
|
+
| \[@[a-zA-Z0-9._'\#]*@\] # definition list item
|
99
|
+
)
|
100
|
+
</match>
|
101
|
+
<include>
|
102
|
+
<context sub-pattern="2" style-ref="itemized" />
|
103
|
+
</include>
|
104
|
+
</context>
|
105
|
+
|
106
|
+
<context id="url" style-ref="url" extend-parent="false">
|
107
|
+
<match><.*></match>
|
108
|
+
</context>
|
109
|
+
|
110
|
+
<context id="anchor" style-ref="anchor" extend-parent="false">
|
111
|
+
<match>#[a-z][0-9a-zA-Z_']*#|[A-Z][0-9a-zA-Z._']*#[a-z][0-9a-zA-Z_']*+</match>
|
112
|
+
</context>
|
113
|
+
|
114
|
+
<!-- haddock markup inside Haskell line comments -->
|
115
|
+
<context id="line-paragraph" style-ref="markup" extend-parent="true" end-parent="true">
|
116
|
+
<start>\s+([|^*$]+)</start>
|
117
|
+
<end>^(?!\s*--+)</end>
|
118
|
+
<include>
|
119
|
+
<context ref="escape"/>
|
120
|
+
<context ref="character-reference"/>
|
121
|
+
<context ref="identifier"/>
|
122
|
+
<context ref="module"/>
|
123
|
+
<context ref="emphasis"/>
|
124
|
+
<context ref="monospace"/>
|
125
|
+
<context ref="codeblock"/>
|
126
|
+
<context ref="property"/>
|
127
|
+
<context ref="list-item"/>
|
128
|
+
<context ref="url"/>
|
129
|
+
<context ref="anchor"/>
|
130
|
+
</include>
|
131
|
+
</context>
|
132
|
+
|
133
|
+
<!-- haddock markup inside Haskell block comment -->
|
134
|
+
<context id="block-paragraph" style-ref="markup" extend-parent="false">
|
135
|
+
<start>(?<={-)\s?[|^*$]</start>
|
136
|
+
<include>
|
137
|
+
<context ref="escape"/>
|
138
|
+
<context ref="character-reference"/>
|
139
|
+
<context ref="identifier"/>
|
140
|
+
<context ref="module"/>
|
141
|
+
<context ref="emphasis"/>
|
142
|
+
<context ref="monospace"/>
|
143
|
+
<context ref="codeblock"/>
|
144
|
+
<context ref="property"/>
|
145
|
+
<context ref="list-item"/>
|
146
|
+
<context ref="url"/>
|
147
|
+
<context ref="anchor"/>
|
148
|
+
</include>
|
149
|
+
</context>
|
150
|
+
|
151
|
+
<context id="directive" style-ref="directive">
|
152
|
+
<prefix>#</prefix>
|
153
|
+
<keyword>hide</keyword>
|
154
|
+
<keyword>prune</keyword>
|
155
|
+
<keyword>ignore-exports</keyword>
|
156
|
+
</context>
|
157
|
+
|
158
|
+
</include>
|
159
|
+
</context>
|
160
|
+
|
161
|
+
</definitions>
|
162
|
+
</language>
|
@@ -0,0 +1,59 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!--
|
3
|
+
|
4
|
+
This file is part of GtkSourceView
|
5
|
+
|
6
|
+
Authors: Duncan Coutts
|
7
|
+
Copyright (C) 2007 Duncan Coutts <duncan@haskell.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="haskell-literate" _name="Literate Haskell" version="2.0" _section="Source">
|
25
|
+
<metadata>
|
26
|
+
<property name="mimetypes">text/x-literate-haskell</property>
|
27
|
+
<property name="globs">*.lhs</property>
|
28
|
+
</metadata>
|
29
|
+
|
30
|
+
<definitions>
|
31
|
+
<context id="haskell-literate">
|
32
|
+
<include>
|
33
|
+
|
34
|
+
<context ref="def:shebang"/>
|
35
|
+
<context ref="c:if0-comment"/>
|
36
|
+
<context ref="c:include"/>
|
37
|
+
<context ref="c:preprocessor"/>
|
38
|
+
<context ref="def:in-comment"/>
|
39
|
+
|
40
|
+
<context id="line-code" end-at-line-end="true">
|
41
|
+
<start>^></start>
|
42
|
+
<include>
|
43
|
+
<context ref="haskell:body"/>
|
44
|
+
</include>
|
45
|
+
</context>
|
46
|
+
|
47
|
+
<context id="block-code">
|
48
|
+
<start>^\\begin\{code\}</start>
|
49
|
+
<end>^\\end\{code\}</end>
|
50
|
+
<include>
|
51
|
+
<context ref="haskell:body" />
|
52
|
+
</include>
|
53
|
+
</context>
|
54
|
+
|
55
|
+
</include>
|
56
|
+
</context>
|
57
|
+
|
58
|
+
</definitions>
|
59
|
+
</language>
|
@@ -0,0 +1,228 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!--
|
3
|
+
|
4
|
+
This file is part of GtkSourceView
|
5
|
+
|
6
|
+
Authors: Duncan Coutts, Anders Carlsson
|
7
|
+
Copyright (C) 2004, 2007 Duncan Coutts <duncan@haskell.org>
|
8
|
+
Copyright (C) 2004 Anders Carlsson <andersca@gnome.org>
|
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="haskell" _name="Haskell" version="2.0" _section="Source">
|
26
|
+
<metadata>
|
27
|
+
<property name="mimetypes">text/x-haskell</property>
|
28
|
+
<property name="globs">*.hs</property>
|
29
|
+
<property name="line-comment-start">--</property>
|
30
|
+
</metadata>
|
31
|
+
|
32
|
+
<styles>
|
33
|
+
<style id="preprocessor" _name="Preprocessor" map-to="def:preprocessor"/>
|
34
|
+
<style id="comment" _name="Comment" map-to="def:comment"/>
|
35
|
+
<style id="variable" _name="Variable" />
|
36
|
+
<style id="symbol" _name="Symbol" />
|
37
|
+
<style id="keyword" _name="Keyword" map-to="def:keyword"/>
|
38
|
+
<style id="type" _name="Data Type" map-to="def:type"/>
|
39
|
+
<style id="string" _name="String" map-to="def:string"/>
|
40
|
+
<style id="character" _name="Character" map-to="def:character"/>
|
41
|
+
<style id="char-escape" _name="Escaped Character" map-to="def:special-char"/>
|
42
|
+
<style id="float" _name="Float" map-to="def:floating-point"/>
|
43
|
+
<style id="decimal" _name="Decimal" map-to="def:decimal"/>
|
44
|
+
<style id="octal" _name="Octal" map-to="def:base-n-integer"/>
|
45
|
+
<style id="hexadecimal" _name="Hex" map-to="def:base-n-integer"/>
|
46
|
+
</styles>
|
47
|
+
|
48
|
+
<definitions>
|
49
|
+
<!-- Spec: http://haskell.org/onlinereport/lexemes.html -->
|
50
|
+
|
51
|
+
<define-regex id="symbolchar">[!#$%&*+./>=<?@:\\^|~-]</define-regex>
|
52
|
+
|
53
|
+
<context id="line-comment" style-ref="comment" end-at-line-end="true" class="comment" class-disabled="no-spell-check">
|
54
|
+
<start>(?<!\%{symbolchar})--+(?!\%{symbolchar})</start>
|
55
|
+
<include>
|
56
|
+
<context ref="def:in-comment"/>
|
57
|
+
<context ref="haddock:line-paragraph"/>
|
58
|
+
<context ref="haddock:directive"/>
|
59
|
+
</include>
|
60
|
+
</context>
|
61
|
+
|
62
|
+
<context id="block-comment" style-ref="comment" class="comment" class-disabled="no-spell-check">
|
63
|
+
<start>\{-</start>
|
64
|
+
<end>-\}</end>
|
65
|
+
<include>
|
66
|
+
<context ref="def:in-comment"/>
|
67
|
+
<context ref="haddock:block-paragraph"/>
|
68
|
+
<context ref="haddock:directive"/>
|
69
|
+
<context ref="block-comment"/>
|
70
|
+
</include>
|
71
|
+
</context>
|
72
|
+
|
73
|
+
<context id="pragma" style-ref="preprocessor">
|
74
|
+
<start>\{-#</start>
|
75
|
+
<end>#-\}</end>
|
76
|
+
</context>
|
77
|
+
|
78
|
+
<context id="variable" style-ref="variable">
|
79
|
+
<match>\b[a-z_][0-9a-zA-Z_'#]*</match>
|
80
|
+
</context>
|
81
|
+
|
82
|
+
<context id="type-or-constructor" style-ref="type">
|
83
|
+
<match>\b[A-Z][0-9a-zA-Z._'#]*</match>
|
84
|
+
</context>
|
85
|
+
|
86
|
+
<!-- Must not extend parent context, or we end up matching
|
87
|
+
"\end{code}" as part of the Haskell context, but when in
|
88
|
+
literate haskell mode it should be terminating a code block. -->
|
89
|
+
<context id="symbol" style-ref="symbol" extend-parent="false">
|
90
|
+
<match>\%{symbolchar}+</match>
|
91
|
+
</context>
|
92
|
+
|
93
|
+
<context id="keysymbol" style-ref="keyword">
|
94
|
+
<prefix>(?<!\%{symbolchar})</prefix>
|
95
|
+
<suffix>(?!\%{symbolchar})</suffix>
|
96
|
+
<keyword>\.\.</keyword>
|
97
|
+
<keyword>::</keyword>
|
98
|
+
<keyword>=</keyword>
|
99
|
+
<keyword>\|</keyword>
|
100
|
+
<keyword>\</keyword>
|
101
|
+
<keyword>-></keyword>
|
102
|
+
<keyword><-</keyword>
|
103
|
+
<keyword>@</keyword>
|
104
|
+
<keyword>~</keyword>
|
105
|
+
<keyword>=></keyword>
|
106
|
+
</context>
|
107
|
+
|
108
|
+
<define-regex id="escaped-character" extended="true">
|
109
|
+
\\( # leading backslash
|
110
|
+
[abfnrtv\\"\'&] | # escaped character
|
111
|
+
[0-9]+ | # decimal digits
|
112
|
+
o[0-7]+ | # 'o' followed by octal digits
|
113
|
+
x[0-9A-Fa-f]+ | # 'x' followed by hex digits
|
114
|
+
\^[A-Z@\[\\\]^_] | # control character codes
|
115
|
+
NUL | SOH | STX | ETX | EOT | ENQ | ACK |
|
116
|
+
BEL | BS | HT | LF | VT | FF | CR | SO |
|
117
|
+
SI | DLE | DC1 | DC2 | DC3 | DC4 | NAK |
|
118
|
+
SYN | ETB | CAN | EM | SUB | ESC | FS | GS |
|
119
|
+
RS | US | SP | DEL # control char names
|
120
|
+
)
|
121
|
+
</define-regex>
|
122
|
+
|
123
|
+
<context id="string" style-ref="string" end-at-line-end="true" class="string" class-disabled="no-spell-check">
|
124
|
+
<start>"</start>
|
125
|
+
<end>"</end>
|
126
|
+
<include>
|
127
|
+
<context ref="def:line-continue"/>
|
128
|
+
<context style-ref="char-escape">
|
129
|
+
<match>\%{escaped-character}</match>
|
130
|
+
</context>
|
131
|
+
</include>
|
132
|
+
</context>
|
133
|
+
|
134
|
+
<context id="char" style-ref="character" end-at-line-end="true">
|
135
|
+
<start>'</start>
|
136
|
+
<end>'</end>
|
137
|
+
<include>
|
138
|
+
<context style-ref="char-escape" once-only="true">
|
139
|
+
<match>\%{escaped-character}</match>
|
140
|
+
</context>
|
141
|
+
<context once-only="true" extend-parent="false">
|
142
|
+
<match>.</match>
|
143
|
+
</context>
|
144
|
+
<context style-ref="def:error" extend-parent="false">
|
145
|
+
<match>.</match>
|
146
|
+
</context>
|
147
|
+
</include>
|
148
|
+
</context>
|
149
|
+
|
150
|
+
<context id="float" style-ref="float">
|
151
|
+
<match extended="true">
|
152
|
+
[0-9]+ \. [0-9]+ ([eE][+-]?[0-9]+)?
|
153
|
+
| [0-9]+ [eE][+-]?[0-9]+
|
154
|
+
</match>
|
155
|
+
</context>
|
156
|
+
|
157
|
+
<context id="hexadecimal" style-ref="hexadecimal">
|
158
|
+
<match>0[xX][0-9a-fA-F]+</match>
|
159
|
+
</context>
|
160
|
+
|
161
|
+
<context id="octal" style-ref="octal">
|
162
|
+
<match>0[oO][0-7]+</match>
|
163
|
+
</context>
|
164
|
+
|
165
|
+
<context id="decimal" style-ref="decimal">
|
166
|
+
<match>[0-9]+</match>
|
167
|
+
</context>
|
168
|
+
|
169
|
+
<context id="keyword" style-ref="keyword">
|
170
|
+
<keyword>case</keyword>
|
171
|
+
<keyword>class</keyword>
|
172
|
+
<keyword>data</keyword>
|
173
|
+
<keyword>default</keyword>
|
174
|
+
<keyword>deriving</keyword>
|
175
|
+
<keyword>do</keyword>
|
176
|
+
<keyword>mdo</keyword>
|
177
|
+
<keyword>else</keyword>
|
178
|
+
<keyword>forall</keyword>
|
179
|
+
<keyword>foreign</keyword>
|
180
|
+
<keyword>hiding</keyword>
|
181
|
+
<keyword>if</keyword>
|
182
|
+
<keyword>import</keyword>
|
183
|
+
<keyword>in</keyword>
|
184
|
+
<keyword>infix</keyword>
|
185
|
+
<keyword>infixl</keyword>
|
186
|
+
<keyword>infixr</keyword>
|
187
|
+
<keyword>instance</keyword>
|
188
|
+
<keyword>let</keyword>
|
189
|
+
<keyword>module</keyword>
|
190
|
+
<keyword>newtype</keyword>
|
191
|
+
<keyword>of</keyword>
|
192
|
+
<keyword>qualified</keyword>
|
193
|
+
<keyword>then</keyword>
|
194
|
+
<keyword>where</keyword>
|
195
|
+
<keyword>type</keyword>
|
196
|
+
</context>
|
197
|
+
|
198
|
+
<context id="body">
|
199
|
+
<include>
|
200
|
+
<context ref="line-comment"/>
|
201
|
+
<context ref="pragma"/>
|
202
|
+
<context ref="block-comment"/>
|
203
|
+
<context ref="keyword"/>
|
204
|
+
<context ref="variable"/>
|
205
|
+
<context ref="type-or-constructor"/>
|
206
|
+
<context ref="keysymbol"/>
|
207
|
+
<context ref="symbol"/>
|
208
|
+
<context ref="string"/>
|
209
|
+
<context ref="char"/>
|
210
|
+
<context ref="float"/>
|
211
|
+
<context ref="hexadecimal"/>
|
212
|
+
<context ref="octal"/>
|
213
|
+
<context ref="decimal"/>
|
214
|
+
</include>
|
215
|
+
</context>
|
216
|
+
|
217
|
+
<context id="haskell" class="no-spell-check">
|
218
|
+
<include>
|
219
|
+
<context ref="def:shebang"/>
|
220
|
+
<context ref="c:if0-comment"/>
|
221
|
+
<context ref="c:include"/>
|
222
|
+
<context ref="c:preprocessor"/>
|
223
|
+
<context ref="body"/>
|
224
|
+
</include>
|
225
|
+
</context>
|
226
|
+
|
227
|
+
</definitions>
|
228
|
+
</language>
|