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,600 @@
|
|
1
|
+
<?xml version="1.0"?>
|
2
|
+
<!--
|
3
|
+
|
4
|
+
This file is part of GtkSourceView
|
5
|
+
|
6
|
+
Copyright (C) 2005-2007 - Marco Barisione <barisione@gmail.com>
|
7
|
+
Copyright (C) 2012-2013 - Tobias Marczewski <tmarczewski@ed-alumni.net>
|
8
|
+
Copyright (C) 2013 - Sébastien Wilmet <swilmet@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="latex" _name="LaTeX" version="2.0" _section="Markup">
|
26
|
+
<metadata>
|
27
|
+
<property name="mimetypes">text/x-tex</property>
|
28
|
+
<property name="globs">*.tex;*.ltx;*.sty;*.cls;*.dtx;*.ins;*.bbl</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="display-math" _name="Math Mode" map-to="def:string"/>
|
35
|
+
<style id="inline-math" _name="Inline Math Mode" map-to="latex:display-math"/>
|
36
|
+
<style id="math" _name="Math Mode" map-to="latex:display-math"/>
|
37
|
+
<style id="math-boundary" _name="Math Boundary" map-to="latex:display-math"/>
|
38
|
+
<style id="include" _name="Include" map-to="def:keyword"/>
|
39
|
+
<style id="common-commands" _name="Command" map-to="def:keyword"/>
|
40
|
+
<style id="command" _name="Command" map-to="def:keyword"/>
|
41
|
+
<style id="verbatim" _name="Verbatim" map-to="def:comment"/>
|
42
|
+
<style id="special-char" _name="Special Character" map-to="def:special-char"/>
|
43
|
+
<style id="part" _name="Part Heading" map-to="def:heading0"/>
|
44
|
+
<style id="chapter" _name="Chapter Heading" map-to="def:heading1"/>
|
45
|
+
<style id="section" _name="Section Heading" map-to="def:heading2"/>
|
46
|
+
<style id="subsection" _name="SubSection Heading" map-to="def:heading3"/>
|
47
|
+
<style id="subsubsection" _name="SubSubSection Heading" map-to="def:heading4"/>
|
48
|
+
<style id="paragraph" _name="Paragraph Heading" map-to="def:heading5"/>
|
49
|
+
<style id="subparagraph" _name="SubParagraph Heading" map-to="def:heading6"/>
|
50
|
+
|
51
|
+
<!-- names, e.g., name of package, name of environment, name of class -->
|
52
|
+
<style id="name" _name="Name" map-to="def:identifier"/>
|
53
|
+
</styles>
|
54
|
+
|
55
|
+
<definitions>
|
56
|
+
|
57
|
+
<!-- comment -->
|
58
|
+
|
59
|
+
<context id="comment">
|
60
|
+
<include>
|
61
|
+
<context id="end-line-comment" style-ref="comment">
|
62
|
+
<start>%</start>
|
63
|
+
<end>$</end>
|
64
|
+
<include>
|
65
|
+
<context ref="def:in-comment"/>
|
66
|
+
</include>
|
67
|
+
</context>
|
68
|
+
|
69
|
+
<context id="comment-env" style-ref="comment" class="no-spell-check">
|
70
|
+
<start>\\begin\{comment\}</start>
|
71
|
+
<end>\\end\{comment\}</end>
|
72
|
+
<include>
|
73
|
+
<context ref="def:in-comment"/>
|
74
|
+
</include>
|
75
|
+
</context>
|
76
|
+
</include>
|
77
|
+
</context>
|
78
|
+
|
79
|
+
<!-- verbatim -->
|
80
|
+
|
81
|
+
<context id="verbatim-env" style-inside="true" style-ref="verbatim" class-disabled="no-spell-check">
|
82
|
+
<start>(\\begin)\{(verbatim\*?|lstlisting|alltt)\}</start>
|
83
|
+
<end>(\\end)\{\%{2@start}\}</end>
|
84
|
+
<include>
|
85
|
+
<context sub-pattern="1" where="start" style-ref="common-commands" class="no-spell-check"/>
|
86
|
+
<context sub-pattern="1" where="end" style-ref="common-commands" class="no-spell-check"/>
|
87
|
+
</include>
|
88
|
+
</context>
|
89
|
+
|
90
|
+
<!-- Embedded R Code (Sweave package) -->
|
91
|
+
|
92
|
+
<context id="R-block" class="no-spell-check">
|
93
|
+
<start>(\\begin)\{(Scode|Sinput|Soutput)\}</start>
|
94
|
+
<end>(\\end)\{(\%{2@start})\}</end>
|
95
|
+
<include>
|
96
|
+
<context sub-pattern="1" where="start" style-ref="common-commands"/>
|
97
|
+
<context sub-pattern="2" where="start" style-ref="name"/>
|
98
|
+
<context sub-pattern="1" where="end" style-ref="common-commands"/>
|
99
|
+
<context sub-pattern="2" where="end" style-ref="name"/>
|
100
|
+
<context ref="r:r"/>
|
101
|
+
</include>
|
102
|
+
</context>
|
103
|
+
|
104
|
+
<!--using brackets is an experimental feature from the listings package. The
|
105
|
+
following must support these cases:
|
106
|
+
|
107
|
+
\lstinline[]{code in here}
|
108
|
+
\lstinline[key=val, key=val]{code in here}
|
109
|
+
\lstinline[key=val, key=val]!code in here!
|
110
|
+
\lstinline[]!code in here!
|
111
|
+
\lstinline[][code in here[
|
112
|
+
\lstinline[NOT code in here, must specify empty optional argument to use square brackets[
|
113
|
+
\lstinline{code in here}
|
114
|
+
\lstinline{code in {here} but NOT in here} % brackets do not nest
|
115
|
+
\lstinline!code in here!
|
116
|
+
\lstinline=code in here=
|
117
|
+
\lstinline{this needs to fail{
|
118
|
+
|
119
|
+
If using \verb instead of \lstinline, the brackets cannot be used
|
120
|
+
-->
|
121
|
+
<context id="lstinline-curly-brackets" style-inside="true" style-ref="verbatim" class-disabled="no-spell-check">
|
122
|
+
<start>(\\lstinline)(\[.*?\])?{</start>
|
123
|
+
<end>}</end>
|
124
|
+
<include>
|
125
|
+
<context sub-pattern="1" where="start" style-ref="command" class="no-spell-check"/>
|
126
|
+
</include>
|
127
|
+
</context>
|
128
|
+
|
129
|
+
<context id="lstinline-square-brackets" style-inside="true" style-ref="verbatim" class-disabled="no-spell-check">
|
130
|
+
<!-- square brackets don't match with the pair, and they require an
|
131
|
+
optional argument, even if empty -->
|
132
|
+
<start>(\\lstinline)(\[.*?\])\[</start>
|
133
|
+
<end>\[</end>
|
134
|
+
<include>
|
135
|
+
<context sub-pattern="1" where="start" style-ref="command" class="no-spell-check"/>
|
136
|
+
</include>
|
137
|
+
</context>
|
138
|
+
|
139
|
+
<context id="lstinline" style-inside="true" style-ref="verbatim" class-disabled="no-spell-check">
|
140
|
+
<start>(\\lstinline)(\[.*?\])?((?!\[)\S)</start> <!-- ignore when starting with [ -->
|
141
|
+
<end>\%{3@start}</end>
|
142
|
+
<include>
|
143
|
+
<context sub-pattern="1" where="start" style-ref="command" class="no-spell-check"/>
|
144
|
+
</include>
|
145
|
+
</context>
|
146
|
+
|
147
|
+
<!-- If using \verb instead of \lstinline, the brackets cannot be used -->
|
148
|
+
<context id="verbatim-inline" style-inside="true" style-ref="verbatim" class-disabled="no-spell-check">
|
149
|
+
<start>(\\verb)\*?(\S)</start>
|
150
|
+
<end>\%{2@start}</end>
|
151
|
+
<include>
|
152
|
+
<context sub-pattern="1" where="start" style-ref="command" class="no-spell-check"/>
|
153
|
+
</include>
|
154
|
+
</context>
|
155
|
+
|
156
|
+
<context id="verbatim">
|
157
|
+
<include>
|
158
|
+
<context ref="verbatim-env"/>
|
159
|
+
<context ref="verbatim-inline"/>
|
160
|
+
<context ref="lstinline-curly-brackets"/>
|
161
|
+
<context ref="lstinline-square-brackets"/>
|
162
|
+
<context ref="lstinline"/>
|
163
|
+
</include>
|
164
|
+
</context>
|
165
|
+
|
166
|
+
<!-- commands -->
|
167
|
+
|
168
|
+
<context id="common-commands" style-ref="common-commands" class="no-spell-check">
|
169
|
+
<prefix>\\</prefix>
|
170
|
+
<!-- We need to special case "_" since it is not considered a
|
171
|
+
boundary but it is allowed in latex -->
|
172
|
+
<suffix>(\b|(?=_))</suffix>
|
173
|
+
<keyword>Alpha</keyword>
|
174
|
+
<keyword>Beta</keyword>
|
175
|
+
<keyword>Chi</keyword>
|
176
|
+
<keyword>Delta</keyword>
|
177
|
+
<keyword>Epsilon</keyword>
|
178
|
+
<keyword>Eta</keyword>
|
179
|
+
<keyword>Gamma</keyword>
|
180
|
+
<keyword>Iota</keyword>
|
181
|
+
<keyword>Kappa</keyword>
|
182
|
+
<keyword>Lambda</keyword>
|
183
|
+
<keyword>Leftarrow</keyword>
|
184
|
+
<keyword>Leftrightarrow</keyword>
|
185
|
+
<keyword>Mu</keyword>
|
186
|
+
<keyword>Nu</keyword>
|
187
|
+
<keyword>Omega</keyword>
|
188
|
+
<keyword>Phi</keyword>
|
189
|
+
<keyword>Pi</keyword>
|
190
|
+
<keyword>Psi</keyword>
|
191
|
+
<keyword>Rho</keyword>
|
192
|
+
<keyword>Rightarrow</keyword>
|
193
|
+
<keyword>Sigma</keyword>
|
194
|
+
<keyword>Tau</keyword>
|
195
|
+
<keyword>Zeta</keyword>
|
196
|
+
<keyword>alpha</keyword>
|
197
|
+
<keyword>appendix</keyword>
|
198
|
+
<keyword>begin</keyword>
|
199
|
+
<keyword>beta</keyword>
|
200
|
+
<keyword>bigcap</keyword>
|
201
|
+
<keyword>bigcup</keyword>
|
202
|
+
<keyword>cap</keyword>
|
203
|
+
<keyword>cdot</keyword>
|
204
|
+
<keyword>chapter</keyword>
|
205
|
+
<keyword>chi</keyword>
|
206
|
+
<keyword>cite</keyword>
|
207
|
+
<keyword>cup</keyword>
|
208
|
+
<keyword>delta</keyword>
|
209
|
+
<keyword>documentclass</keyword>
|
210
|
+
<keyword>end</keyword>
|
211
|
+
<keyword>enumi</keyword>
|
212
|
+
<keyword>enumii</keyword>
|
213
|
+
<keyword>enumiii</keyword>
|
214
|
+
<keyword>enumiv</keyword>
|
215
|
+
<keyword>epsilon</keyword>
|
216
|
+
<keyword>equation</keyword>
|
217
|
+
<keyword>eta</keyword>
|
218
|
+
<keyword>exists</keyword>
|
219
|
+
<keyword>figure</keyword>
|
220
|
+
<keyword>footnote</keyword>
|
221
|
+
<keyword>footnotemark</keyword>
|
222
|
+
<keyword>footnotetext</keyword>
|
223
|
+
<keyword>forall</keyword>
|
224
|
+
<keyword>gamma</keyword>
|
225
|
+
<keyword>geq</keyword>
|
226
|
+
<keyword>in</keyword>
|
227
|
+
<keyword>int</keyword>
|
228
|
+
<keyword>iota</keyword>
|
229
|
+
<keyword>kappa</keyword>
|
230
|
+
<keyword>label</keyword>
|
231
|
+
<keyword>lambda</keyword>
|
232
|
+
<keyword>ldots</keyword>
|
233
|
+
<keyword>leftarrow</keyword>
|
234
|
+
<keyword>leq</keyword>
|
235
|
+
<keyword>mpfootnote</keyword>
|
236
|
+
<keyword>mu</keyword>
|
237
|
+
<keyword>neq</keyword>
|
238
|
+
<keyword>newcommand</keyword>
|
239
|
+
<keyword>newenvironment</keyword>
|
240
|
+
<keyword>newfont</keyword>
|
241
|
+
<keyword>newtheorem</keyword>
|
242
|
+
<keyword>not</keyword>
|
243
|
+
<keyword>notin</keyword>
|
244
|
+
<keyword>nu</keyword>
|
245
|
+
<keyword>omega</keyword>
|
246
|
+
<keyword>onecolumn</keyword>
|
247
|
+
<keyword>page</keyword>
|
248
|
+
<keyword>pageref</keyword>
|
249
|
+
<keyword>paragraph</keyword>
|
250
|
+
<keyword>part</keyword>
|
251
|
+
<keyword>phi</keyword>
|
252
|
+
<keyword>pi</keyword>
|
253
|
+
<keyword>prod</keyword>
|
254
|
+
<keyword>psi</keyword>
|
255
|
+
<keyword>qquad</keyword>
|
256
|
+
<keyword>quad</keyword>
|
257
|
+
<keyword>ref</keyword>
|
258
|
+
<keyword>rho</keyword>
|
259
|
+
<keyword>rightarrow</keyword>
|
260
|
+
<keyword>section</keyword>
|
261
|
+
<keyword>setminus</keyword>
|
262
|
+
<keyword>sigma</keyword>
|
263
|
+
<keyword>subparagraph</keyword>
|
264
|
+
<keyword>subsection</keyword>
|
265
|
+
<keyword>subset</keyword>
|
266
|
+
<keyword>subseteq</keyword>
|
267
|
+
<keyword>subsetneq</keyword>
|
268
|
+
<keyword>subsubsection</keyword>
|
269
|
+
<keyword>subsubsubsection</keyword>
|
270
|
+
<keyword>sum</keyword>
|
271
|
+
<keyword>supset</keyword>
|
272
|
+
<keyword>supseteq</keyword>
|
273
|
+
<keyword>supsetneq</keyword>
|
274
|
+
<keyword>table</keyword>
|
275
|
+
<keyword>tau</keyword>
|
276
|
+
<keyword>times</keyword>
|
277
|
+
<keyword>twocolumn</keyword>
|
278
|
+
<keyword>varepsilon</keyword>
|
279
|
+
<keyword>varphi</keyword>
|
280
|
+
<keyword>zeta</keyword>
|
281
|
+
</context>
|
282
|
+
|
283
|
+
<context id="include" style-ref="include" class="no-spell-check">
|
284
|
+
<prefix>\\</prefix>
|
285
|
+
|
286
|
+
<keyword>input</keyword>
|
287
|
+
<keyword>include</keyword>
|
288
|
+
<keyword>includeonly</keyword>
|
289
|
+
<keyword>usepackage</keyword>
|
290
|
+
</context>
|
291
|
+
|
292
|
+
<context id="generic-command" style-ref="command" class="no-spell-check" extend-parent="false">
|
293
|
+
<match>\\[a-zA-Z@]+\*?</match>
|
294
|
+
</context>
|
295
|
+
|
296
|
+
<context id="specific-commands">
|
297
|
+
<include>
|
298
|
+
<context id="documentclass" class="no-spell-check">
|
299
|
+
<match>(\\documentclass)(\[.*\])?\{([a-zA-Z]+)\}</match>
|
300
|
+
<include>
|
301
|
+
<context sub-pattern="1" style-ref="common-commands"/>
|
302
|
+
<context sub-pattern="3" style-ref="name"/>
|
303
|
+
</include>
|
304
|
+
</context>
|
305
|
+
|
306
|
+
<context id="usepackage" class="no-spell-check">
|
307
|
+
<match>(\\usepackage)(\[.*\])?\{([0-9a-zA-Z,\s]+)\}</match>
|
308
|
+
<include>
|
309
|
+
<context sub-pattern="1" style-ref="include"/>
|
310
|
+
<context sub-pattern="3" style-ref="name"/>
|
311
|
+
</include>
|
312
|
+
</context>
|
313
|
+
|
314
|
+
<context id="begin-end-command" class="no-spell-check">
|
315
|
+
<match>(\\(begin|end))\{([a-zA-Z0-9]+\*?)\}</match>
|
316
|
+
<include>
|
317
|
+
<context sub-pattern="1" style-ref="common-commands"/>
|
318
|
+
<context sub-pattern="3" style-ref="name"/>
|
319
|
+
</include>
|
320
|
+
</context>
|
321
|
+
</include>
|
322
|
+
</context>
|
323
|
+
|
324
|
+
<!-- special characters -->
|
325
|
+
|
326
|
+
<define-regex id="accents" extended="true">
|
327
|
+
(\\( #leading backslash
|
328
|
+
( #1-Accents-
|
329
|
+
[bcdHruv\.\^'`~"=] # accent symbol
|
330
|
+
\s*\{([a-zA-Z] | \\i | \\j)\} | # letter (\i \j for i,j without dot)
|
331
|
+
[\.\^'`~"=]\s*([a-zA-Z] | \\i | \\j) |# non-letter accents without braces
|
332
|
+
t\s*\{([a-zA-Z] | \\i | \\j){2}\} # special accent over two letters
|
333
|
+
) | ( #2-Special letters-
|
334
|
+
(aa|AA | ae|AE | oe|OE | ss|SS | # letters followed by a non-word
|
335
|
+
[oO] | [lL])(?![a-zA-Z_@]) # character or e.g. \l causes
|
336
|
+
) # unwanted behaviour (i.e. \label)
|
337
|
+
)) | (!` | \?`) #3-Spanish punctuation
|
338
|
+
</define-regex>
|
339
|
+
|
340
|
+
<context id="special-char">
|
341
|
+
<include>
|
342
|
+
<!-- Include accents here before the escaped command symbols because for
|
343
|
+
example the hat (^) can be used as an accent and will be placed over
|
344
|
+
the following letter (e.g. \^o will NOT produce ^o) -->
|
345
|
+
<context id="accents" style-ref="special-char" class="no-spell-check">
|
346
|
+
<match>\%{accents}</match>
|
347
|
+
</context>
|
348
|
+
|
349
|
+
<context id="special-symbols" style-ref="special-char" class="no-spell-check">
|
350
|
+
<prefix>\\</prefix>
|
351
|
+
<suffix></suffix>
|
352
|
+
|
353
|
+
<keyword>\$</keyword>
|
354
|
+
<keyword>&</keyword>
|
355
|
+
<keyword>%</keyword>
|
356
|
+
<keyword>#</keyword>
|
357
|
+
<keyword>_</keyword>
|
358
|
+
<keyword>\{</keyword>
|
359
|
+
<keyword>\}</keyword>
|
360
|
+
<keyword>~</keyword>
|
361
|
+
<keyword>\^</keyword>
|
362
|
+
<keyword>\\</keyword>
|
363
|
+
</context>
|
364
|
+
</include>
|
365
|
+
</context>
|
366
|
+
|
367
|
+
<!-- headings -->
|
368
|
+
|
369
|
+
<context id="curly-braces-pair">
|
370
|
+
<start>\{</start>
|
371
|
+
<end>\}</end>
|
372
|
+
<include>
|
373
|
+
<context ref="curly-braces-pair"/>
|
374
|
+
<context ref="latex"/>
|
375
|
+
</include>
|
376
|
+
</context>
|
377
|
+
|
378
|
+
<context id="headings">
|
379
|
+
<include>
|
380
|
+
<context id="part" style-inside="true" style-ref="part" end-at-line-end="true">
|
381
|
+
<start>(\\part\*?)\{</start>
|
382
|
+
<end>\}</end>
|
383
|
+
<include>
|
384
|
+
<context sub-pattern="1" where="start" style-ref="common-commands"/>
|
385
|
+
<context ref="curly-braces-pair"/>
|
386
|
+
<context ref="latex"/>
|
387
|
+
</include>
|
388
|
+
</context>
|
389
|
+
|
390
|
+
<context id="chapter" style-inside="true" style-ref="chapter" end-at-line-end="true">
|
391
|
+
<start>(\\chapter\*?)\{</start>
|
392
|
+
<end>\}</end>
|
393
|
+
<include>
|
394
|
+
<context sub-pattern="1" where="start" style-ref="common-commands"/>
|
395
|
+
<context ref="curly-braces-pair"/>
|
396
|
+
<context ref="latex"/>
|
397
|
+
</include>
|
398
|
+
</context>
|
399
|
+
|
400
|
+
<context id="section" style-inside="true" style-ref="section" end-at-line-end="true">
|
401
|
+
<start>(\\section\*?)\{</start>
|
402
|
+
<end>\}</end>
|
403
|
+
<include>
|
404
|
+
<context sub-pattern="1" where="start" style-ref="common-commands"/>
|
405
|
+
<context ref="curly-braces-pair"/>
|
406
|
+
<context ref="latex"/>
|
407
|
+
</include>
|
408
|
+
</context>
|
409
|
+
|
410
|
+
<context id="subsection" style-inside="true" style-ref="subsection" end-at-line-end="true">
|
411
|
+
<start>(\\subsection\*?)\{</start>
|
412
|
+
<end>\}</end>
|
413
|
+
<include>
|
414
|
+
<context sub-pattern="1" where="start" style-ref="common-commands"/>
|
415
|
+
<context ref="curly-braces-pair"/>
|
416
|
+
<context ref="latex"/>
|
417
|
+
</include>
|
418
|
+
</context>
|
419
|
+
|
420
|
+
<context id="subsubsection" style-inside="true" style-ref="subsubsection" end-at-line-end="true">
|
421
|
+
<start>(\\subsubsection\*?)\{</start>
|
422
|
+
<end>\}</end>
|
423
|
+
<include>
|
424
|
+
<context sub-pattern="1" where="start" style-ref="common-commands"/>
|
425
|
+
<context ref="curly-braces-pair"/>
|
426
|
+
<context ref="latex"/>
|
427
|
+
</include>
|
428
|
+
</context>
|
429
|
+
|
430
|
+
<context id="paragraph" style-inside="true" style-ref="paragraph" end-at-line-end="true">
|
431
|
+
<start>(\\paragraph\*?)\{</start>
|
432
|
+
<end>\}</end>
|
433
|
+
<include>
|
434
|
+
<context sub-pattern="1" where="start" style-ref="common-commands"/>
|
435
|
+
<context ref="curly-braces-pair"/>
|
436
|
+
<context ref="latex"/>
|
437
|
+
</include>
|
438
|
+
</context>
|
439
|
+
|
440
|
+
<context id="subparagraph" style-inside="true" style-ref="subparagraph" end-at-line-end="true">
|
441
|
+
<start>(\\subparagraph\*?)\{</start>
|
442
|
+
<end>\}</end>
|
443
|
+
<include>
|
444
|
+
<context sub-pattern="1" where="start" style-ref="common-commands"/>
|
445
|
+
<context ref="curly-braces-pair"/>
|
446
|
+
<context ref="latex"/>
|
447
|
+
</include>
|
448
|
+
</context>
|
449
|
+
</include>
|
450
|
+
</context>
|
451
|
+
|
452
|
+
<!-- math -->
|
453
|
+
|
454
|
+
<!-- Commands exclusive to math mode -->
|
455
|
+
<context id="math-command" class="no-spell-check" style-ref="common-commands">
|
456
|
+
<match extended="true">
|
457
|
+
\\(
|
458
|
+
frac | sqrt | sum | (co)?prod | o?int | #-Functions
|
459
|
+
infty | (c|d|v)dots | nonumber | #-special in math mode
|
460
|
+
mathnormal | math(rm|sf|tt|it|bf|cal) | #-Math font commands
|
461
|
+
(display|text|script(script)?)style | #-Math size commands
|
462
|
+
alpha | beta | (g|G)amma | (d|D)elta | #-Greek letters
|
463
|
+
(var)?epsilon | zeta | eta | ((vart)|t|T)heta | ##
|
464
|
+
iota | kappa | (l|L)ambda | mu | nu | (x|X)i | ##
|
465
|
+
((varp)|p|P)i | (var)?rho | ((vars)|s|S)igma | ##
|
466
|
+
tau | (u|U)psilon | ((varp)|p|P)hi | chi | ##
|
467
|
+
(p|P)si | (o|O)mega | ##
|
468
|
+
pm | mp | times | div | cdot | ast | star | #-Binary operators
|
469
|
+
dd?agger | amalg | (sq)?c(a|u)p | uplus | vee | ##
|
470
|
+
wedge | o(plus|minus|times) | (big)?circ | ##
|
471
|
+
bullet | (d|D)iamond | (un)?(l|r)hd | ##
|
472
|
+
o(slash|dot) | Box | bigtriangle(up|down) | ##
|
473
|
+
triangle(left|right) | setminus | wr | ##
|
474
|
+
gets | to | ((u|U)p(down)? | (d|D)own)arrow | #-Arrows and pointers
|
475
|
+
((l|L)eft(right)?|(r|R)ight)arrow | (long)mapsto |##
|
476
|
+
hook(left|right)arrow | (ne|se|sw|nw)arrow | ##
|
477
|
+
(left|right)harpoon(up|down) | rightleftharpoons |##
|
478
|
+
(l|L)ong(left(right)?|right)arrow | ##
|
479
|
+
(wide)hat | check | dd?ot | breve | acute | #-Accents in math mode
|
480
|
+
grave | bar | vec | (wide)tilde | mathring | ##
|
481
|
+
(over|under)(line|brace) | (i|j)math | ##i, j dots removed
|
482
|
+
(arc)?(cosh?|sinh?|tanh?) | arg | coth? | csc | #-Function names
|
483
|
+
deg | det | dim | exp | gcd | hom | inf | ker | ##
|
484
|
+
lg | lim(inf|sup)? | ln | log | max | min | Pr | ##
|
485
|
+
sec | sup ##
|
486
|
+
)(?=\b)
|
487
|
+
</match>
|
488
|
+
</context>
|
489
|
+
|
490
|
+
<context id="math-spacing" style-ref="special-char">
|
491
|
+
<match>\\[;:!]</match>
|
492
|
+
</context>
|
493
|
+
|
494
|
+
<context id="math-brackets" style-ref="common-commands">
|
495
|
+
<match extended="true">
|
496
|
+
\\(left | right | [bB]igg?[lr]) ( # bracket size specifier
|
497
|
+
\(|\) | \[|\] | \\\{|\\\} | # normal brackets (curly escaped)
|
498
|
+
\| | \\\| | / | \\backslash | # pipe and slashes
|
499
|
+
\\( #-symbol commands
|
500
|
+
[lr]floor | [lr]ceil | [lr]angle | ##
|
501
|
+
([uU]p(down)?|[dD]own)arrow ##
|
502
|
+
) ##
|
503
|
+
)
|
504
|
+
</match>
|
505
|
+
</context>
|
506
|
+
|
507
|
+
<context id="math-super-sub-script" style-ref="common-commands">
|
508
|
+
<match>\^|_</match>
|
509
|
+
</context>
|
510
|
+
|
511
|
+
<context id="in-math" class="no-spell-check">
|
512
|
+
<include>
|
513
|
+
<context ref="comment"/>
|
514
|
+
<context ref="math-command"/>
|
515
|
+
<context ref="math-spacing"/>
|
516
|
+
<context ref="math-brackets"/>
|
517
|
+
<context ref="special-char"/>
|
518
|
+
<context ref="math-super-sub-script"/>
|
519
|
+
<context ref="generic-command"/>
|
520
|
+
</include>
|
521
|
+
</context>
|
522
|
+
|
523
|
+
<context id="math-1" style-ref="math" class="no-spell-check">
|
524
|
+
<start>\$\$</start>
|
525
|
+
<end>\$\$</end>
|
526
|
+
<include>
|
527
|
+
<context sub-pattern="0" where="start" style-ref="math-boundary"/>
|
528
|
+
<context sub-pattern="0" where="end" style-ref="math-boundary"/>
|
529
|
+
<context ref="in-math"/>
|
530
|
+
</include>
|
531
|
+
</context>
|
532
|
+
|
533
|
+
<context id="math-2" style-ref="math" class="no-spell-check">
|
534
|
+
<start>\\\[</start>
|
535
|
+
<end>\\\]</end>
|
536
|
+
<include>
|
537
|
+
<context sub-pattern="0" where="start" style-ref="math-boundary"/>
|
538
|
+
<context sub-pattern="0" where="end" style-ref="math-boundary"/>
|
539
|
+
<context ref="in-math"/>
|
540
|
+
</include>
|
541
|
+
</context>
|
542
|
+
|
543
|
+
<context id="math-env" style-ref="math" class="no-spell-check">
|
544
|
+
<start>(\\begin)\{(math|displaymath|equation\*?|align\*?|eqnarray\*?)\}</start>
|
545
|
+
<end>(\\end)\{(\%{2@start})\}</end>
|
546
|
+
<include>
|
547
|
+
<context sub-pattern="1" where="start" style-ref="common-commands"/>
|
548
|
+
<context sub-pattern="2" where="start" style-ref="name"/>
|
549
|
+
<context sub-pattern="1" where="end" style-ref="common-commands"/>
|
550
|
+
<context sub-pattern="2" where="end" style-ref="name"/>
|
551
|
+
<context ref="in-math"/>
|
552
|
+
</include>
|
553
|
+
</context>
|
554
|
+
|
555
|
+
<context id="inline-math-1" style-ref="inline-math" class="no-spell-check">
|
556
|
+
<start>\$</start>
|
557
|
+
<end>\$</end>
|
558
|
+
<include>
|
559
|
+
<context sub-pattern="0" where="start" style-ref="math-boundary"/>
|
560
|
+
<context sub-pattern="0" where="end" style-ref="math-boundary"/>
|
561
|
+
<context ref="in-math"/>
|
562
|
+
</include>
|
563
|
+
</context>
|
564
|
+
|
565
|
+
<context id="inline-math-2" style-ref="inline-math" class="no-spell-check">
|
566
|
+
<start>\\\(</start>
|
567
|
+
<end>\\\)</end>
|
568
|
+
<include>
|
569
|
+
<context sub-pattern="0" where="start" style-ref="math-boundary"/>
|
570
|
+
<context sub-pattern="0" where="end" style-ref="math-boundary"/>
|
571
|
+
<context ref="in-math"/>
|
572
|
+
</include>
|
573
|
+
</context>
|
574
|
+
|
575
|
+
<context id="math">
|
576
|
+
<include>
|
577
|
+
<context ref="math-1"/>
|
578
|
+
<context ref="math-2"/>
|
579
|
+
<context ref="math-env"/>
|
580
|
+
<context ref="inline-math-1"/>
|
581
|
+
<context ref="inline-math-2"/>
|
582
|
+
</include>
|
583
|
+
</context>
|
584
|
+
|
585
|
+
<context id="latex">
|
586
|
+
<include>
|
587
|
+
<context ref="comment"/>
|
588
|
+
<context ref="verbatim"/>
|
589
|
+
<context ref="R-block"/>
|
590
|
+
<context ref="headings"/>
|
591
|
+
<context ref="math"/>
|
592
|
+
<context ref="specific-commands"/>
|
593
|
+
<context ref="include"/>
|
594
|
+
<context ref="common-commands"/>
|
595
|
+
<context ref="special-char"/>
|
596
|
+
<context ref="generic-command"/>
|
597
|
+
</include>
|
598
|
+
</context>
|
599
|
+
</definitions>
|
600
|
+
</language>
|