gtksourceview3 2.2.4-x64-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/Rakefile +59 -0
- data/ext/gtksourceview3/depend +6 -0
- data/ext/gtksourceview3/extconf.rb +67 -0
- data/ext/gtksourceview3/gtksourceview3.def +2 -0
- data/ext/gtksourceview3/rbgtksource.c +53 -0
- data/ext/gtksourceview3/rbgtksourcebuffer.c +318 -0
- data/ext/gtksourceview3/rbgtksourcegutter.c +82 -0
- data/ext/gtksourceview3/rbgtksourcegutterrenderer.c +143 -0
- data/ext/gtksourceview3/rbgtksourcegutterrendererpixbuf.c +42 -0
- data/ext/gtksourceview3/rbgtksourcegutterrenderertext.c +40 -0
- data/ext/gtksourceview3/rbgtksourcelanguage.c +124 -0
- data/ext/gtksourceview3/rbgtksourcelanguagemanager.c +114 -0
- data/ext/gtksourceview3/rbgtksourcemark.c +85 -0
- data/ext/gtksourceview3/rbgtksourcemarkattributes.c +77 -0
- data/ext/gtksourceview3/rbgtksourceprintcompositor.c +171 -0
- data/ext/gtksourceview3/rbgtksourcestyle.c +42 -0
- data/ext/gtksourceview3/rbgtksourcestylescheme.c +72 -0
- data/ext/gtksourceview3/rbgtksourcestyleschememanager.c +140 -0
- data/ext/gtksourceview3/rbgtksourceundomanager.c +83 -0
- data/ext/gtksourceview3/rbgtksourceview.c +94 -0
- data/ext/gtksourceview3/rbgtksourceview3conversions.h +50 -0
- data/ext/gtksourceview3/rbgtksourceview3private.h +53 -0
- data/extconf.rb +49 -0
- data/lib/2.0/gtksourceview3.so +0 -0
- data/lib/2.1/gtksourceview3.so +0 -0
- data/lib/2.2/gtksourceview3.so +0 -0
- data/lib/gtksourceview3.rb +20 -0
- data/lib/gtksourceview3/deprecated.rb +47 -0
- data/sample/sourcelanguagemanager.rb +21 -0
- data/sample/test.rb +32 -0
- data/test/run-test.rb +44 -0
- data/test/test_mark_attributes.rb +26 -0
- data/test/test_source_gutter_renderer.rb +33 -0
- data/test/test_source_language_manager.rb +46 -0
- data/test/test_source_view.rb +57 -0
- data/vendor/local/bin/libgtksourceview-3.0-1.dll +0 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/completion-providers/words/gtksourcecompletionwords.h +65 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksource.h +54 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcebuffer.h +213 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletion.h +142 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletioncontext.h +95 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletioninfo.h +78 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletionitem.h +70 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletionproposal.h +97 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletionprovider.h +137 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceencoding.h +54 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcefile.h +115 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcefileloader.h +122 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcefilesaver.h +147 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutter.h +90 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutterrenderer.h +229 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutterrendererpixbuf.h +87 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutterrenderertext.h +83 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcelanguage.h +85 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcelanguagemanager.h +84 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcemark.h +71 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcemarkattributes.h +100 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceprintcompositor.h +175 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcesearchcontext.h +133 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcesearchsettings.h +85 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyle.h +45 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestylescheme.h +109 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyleschememanager.h +86 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcetypes.h +101 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceundomanager.h +75 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceutils.h +34 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceview-typebuiltins.h +88 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceview.h +213 -0
- data/vendor/local/lib/girepository-1.0/GtkSource-3.0.typelib +0 -0
- data/vendor/local/lib/libgtksourceview-3.0.dll.a +0 -0
- data/vendor/local/lib/libgtksourceview-3.0.la +41 -0
- data/vendor/local/lib/locale/ar/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/as/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ast/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/az/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/be/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/bg/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/bn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/bn_IN/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/bs/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ca/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ca@valencia/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/cs/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/cy/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/da/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/de/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/dz/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/el/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/en@shaw/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/en_CA/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/en_GB/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/eo/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/es/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/et/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/eu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/fa/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/fi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/fr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ga/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/gl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/gu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/he/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/hi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/hr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/hu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/id/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/it/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ja/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/kn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ko/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/lt/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/lv/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/mai/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/mg/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/mk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ml/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/mn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/mr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ms/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/nb/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ne/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/nl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/nn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/oc/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/or/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/pa/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/pl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/pt/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/pt_BR/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ro/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ru/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/rw/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/si/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/sk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/sl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/sq/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/sr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/sr@latin/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/sv/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ta/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/te/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/tg/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/th/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/tr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ug/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/uk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/vi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/xh/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/zh_CN/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/zh_HK/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/zh_TW/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/pkgconfig/gtksourceview-3.0.pc +12 -0
- data/vendor/local/share/gir-1.0/GtkSource-3.0.gir +11360 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceBuffer.html +2143 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletion.html +1129 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionContext.html +397 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionInfo.html +348 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionItem.html +367 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProposal.html +572 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProvider.html +750 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionWords.html +345 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceEncoding.html +366 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFile.html +563 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFileLoader.html +769 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFileSaver.html +962 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutter.html +490 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRenderer.html +1700 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererPixbuf.html +468 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererText.html +228 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguage.html +584 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguageManager.html +476 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMark.html +310 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMarkAttributes.html +897 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourcePrintCompositor.html +2149 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSearchContext.html +1116 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSearchSettings.html +606 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyle.html +358 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleScheme.html +398 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeManager.html +463 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceUndoManager.html +462 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceView.html +1990 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/annotation-glossary.html +81 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-0.html +43 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-10.html +195 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-12.html +39 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-14.html +299 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-4.html +35 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-deprecated.html +95 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-full.html +2187 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch01.html +119 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch02.html +47 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-GtkSourceUtils.html +154 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0.devhelp2 +601 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/index.html +146 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/index.sgml +882 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-reference.html +873 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-tutorial.html +654 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/object-tree.html +71 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/style-reference.html +283 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/style.css +476 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/up.png +0 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/R.lang +2199 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/actionscript.lang +268 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/ada.lang +221 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/ansforth94.lang +729 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/asp.lang +1097 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/automake.lang +330 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/awk.lang +138 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/bennugd.lang +267 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/bibtex.lang +93 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/bluespec.lang +188 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/boo.lang +257 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/c.lang +332 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/cg.lang +232 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/changelog.lang +93 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/chdr.lang +43 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/cmake.lang +408 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/cobol.lang +647 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/cpp.lang +120 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/csharp.lang +282 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/css.lang +542 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/cuda.lang +292 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/d.lang +318 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/def.lang +262 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/desktop.lang +300 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/diff.lang +85 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/docbook.lang +476 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/dosbatch.lang +167 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/dot.lang +140 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/dpatch.lang +48 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/dtd.lang +140 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/eiffel.lang +239 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/erlang.lang +258 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/fcl.lang +113 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/forth.lang +235 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/fortran.lang +591 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/fsharp.lang +325 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/gap.lang +85 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/gdb-log.lang +152 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/glsl.lang +483 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/go.lang +275 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/gtk-doc.lang +91 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/gtkrc.lang +116 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/haddock.lang +162 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/haskell-literate.lang +59 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/haskell.lang +228 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/html.lang +281 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/idl-exelis.lang +620 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/idl.lang +154 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/imagej.lang +784 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/ini.lang +95 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/j.lang +240 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/java.lang +190 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/javascript.lang +339 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/json.lang +123 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/julia.lang +378 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/language.dtd +73 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/language.rng +373 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/language2.rng +482 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/latex.lang +600 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/lex.lang +209 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/libtool.lang +56 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/llvm.lang +315 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/lua.lang +157 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/m4.lang +1375 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/makefile.lang +193 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/mallard.lang +124 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/markdown.lang +402 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/matlab.lang +171 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/mediawiki.lang +327 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/modelica.lang +262 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/mxml.lang +65 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/nemerle.lang +263 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/netrexx.lang +319 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/nsis.lang +88 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/objc.lang +120 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/objj.lang +128 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/ocaml.lang +302 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/ocl.lang +139 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/octave.lang +859 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/ooc.lang +265 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/opal.lang +343 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/opencl.lang +600 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/pascal.lang +268 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/perl.lang +1045 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/php.lang +363 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/pkgconfig.lang +62 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/po.lang +94 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/prolog.lang +249 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/protobuf.lang +101 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/puppet.lang +697 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/python.lang +472 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/python3.lang +192 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/rpmspec.lang +212 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/rst.lang +142 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/ruby.lang +750 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/scala.lang +384 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/scheme.lang +302 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/scilab.lang +209 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/sh.lang +499 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/sml.lang +201 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/sparql.lang +448 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/sql.lang +618 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/sweave.lang +67 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/systemverilog.lang +263 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/t2t.lang +150 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/tcl.lang +146 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/texinfo.lang +448 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/vala.lang +365 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/vbnet.lang +245 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/verilog.lang +476 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/vhdl.lang +248 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/xml.lang +220 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/xslt.lang +108 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/yacc.lang +177 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/yaml.lang +214 -0
- data/vendor/local/share/gtksourceview-3.0/styles/classic.xml +121 -0
- data/vendor/local/share/gtksourceview-3.0/styles/cobalt.xml +148 -0
- data/vendor/local/share/gtksourceview-3.0/styles/kate.xml +171 -0
- data/vendor/local/share/gtksourceview-3.0/styles/oblivion.xml +129 -0
- data/vendor/local/share/gtksourceview-3.0/styles/solarized-dark.xml +101 -0
- data/vendor/local/share/gtksourceview-3.0/styles/solarized-light.xml +101 -0
- data/vendor/local/share/gtksourceview-3.0/styles/styles.rng +142 -0
- data/vendor/local/share/gtksourceview-3.0/styles/tango.xml +130 -0
- data/vendor/local/share/license/gtksourceview/AUTHORS +13 -0
- data/vendor/local/share/license/gtksourceview/COPYING +504 -0
- metadata +389 -0
@@ -0,0 +1,192 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!--
|
3
|
+
|
4
|
+
This file is part of GtkSourceView
|
5
|
+
|
6
|
+
Author: Stefano Palazzo <stefano-palazzo@ubuntu.com>
|
7
|
+
Copyright (C) 2012 Stefano Palazzo <stefano-palazzo@ubuntu.com>
|
8
|
+
|
9
|
+
GtkSourceView is free software; you can redistribute it and/or
|
10
|
+
modify it under the terms of the GNU Lesser General Public
|
11
|
+
License as published by the Free Software Foundation; either
|
12
|
+
version 2.1 of the License, or (at your option) any later version.
|
13
|
+
|
14
|
+
GtkSourceView is distributed in the hope that it will be useful,
|
15
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
16
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
17
|
+
Lesser General Public License for more details.
|
18
|
+
|
19
|
+
You should have received a copy of the GNU Lesser General Public
|
20
|
+
License along with this library; if not, write to the Free Software
|
21
|
+
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
22
|
+
|
23
|
+
-->
|
24
|
+
<language id="python3" _name="Python 3" version="2.0" _section="Script">
|
25
|
+
<metadata>
|
26
|
+
<property name="globs">*.py3</property>
|
27
|
+
<property name="line-comment-start">#</property>
|
28
|
+
</metadata>
|
29
|
+
|
30
|
+
<styles>
|
31
|
+
<style id="module-handler" _name="Module Handler" map-to="python:module-handler"/>
|
32
|
+
<style id="keyword" _name="Keyword" map-to="python:keyword"/>
|
33
|
+
<style id="multiline-string" _name="Multiline string" map-to="python:multiline-string"/>
|
34
|
+
<style id="string" _name="String" map-to="python:string"/>
|
35
|
+
<style id="escaped-char" _name="Escaped Character" map-to="python:escaped-char"/>
|
36
|
+
<style id="format" _name="Format" map-to="python:format"/>
|
37
|
+
<style id="special-variable" _name="Special Variable" map-to="python:special-variable"/>
|
38
|
+
<style id="boolean" _name="Boolean" map-to="python:boolean"/>
|
39
|
+
<style id="floating-point" _name="Floating point number" map-to="python:floating-point"/>
|
40
|
+
<style id="decimal" _name="Decimal number" map-to="python:decimal"/>
|
41
|
+
<style id="base-n-integer" _name="Base-N number" map-to="python:base-n-integer"/>
|
42
|
+
<style id="complex" _name="Complex number" map-to="python:complex"/>
|
43
|
+
<style id="builtin-constant" _name="Builtin Constant" map-to="python:builtin-constant"/>
|
44
|
+
<style id="builtin-object" _name="Builtin Object" map-to="python:builtin-object"/>
|
45
|
+
<style id="builtin-function" _name="Builtin Function" map-to="python:builtin-function"/>
|
46
|
+
</styles>
|
47
|
+
|
48
|
+
<definitions>
|
49
|
+
<define-regex id="identifier">[_a-zA-Z][_a-zA-Z0-9]*</define-regex>
|
50
|
+
<define-regex id="number">[1-9][0-9]*</define-regex>
|
51
|
+
|
52
|
+
|
53
|
+
<define-regex id="string-prefix">(b|B)?</define-regex>
|
54
|
+
<define-regex id="raw-string-prefix">(r|R|rb|RB|rB|Rb|br|BR|bR|Br)</define-regex>
|
55
|
+
|
56
|
+
<context id="multiline-double-quoted-string" style-ref="multiline-string" class="string" class-disabled="no-spell-check">
|
57
|
+
<start>\%{string-prefix}"""</start>
|
58
|
+
<end>"""</end>
|
59
|
+
<include>
|
60
|
+
<context ref="python:format"/>
|
61
|
+
<context ref="python:escaped-char"/>
|
62
|
+
</include>
|
63
|
+
</context>
|
64
|
+
|
65
|
+
<context id="multiline-single-quoted-string" style-ref="multiline-string" class="string" class-disabled="no-spell-check">
|
66
|
+
<start>\%{string-prefix}'''</start>
|
67
|
+
<end>'''</end>
|
68
|
+
<include>
|
69
|
+
<context ref="python:format"/>
|
70
|
+
<context ref="python:escaped-char"/>
|
71
|
+
</include>
|
72
|
+
</context>
|
73
|
+
|
74
|
+
<context id="double-quoted-string" style-ref="string" end-at-line-end="true" class="string" class-disabled="no-spell-check">
|
75
|
+
<start>\%{string-prefix}"</start>
|
76
|
+
<end>"</end>
|
77
|
+
<include>
|
78
|
+
<context ref="python:format"/>
|
79
|
+
<context ref="python:escaped-char"/>
|
80
|
+
<context ref="def:line-continue"/>
|
81
|
+
</include>
|
82
|
+
</context>
|
83
|
+
|
84
|
+
<context id="single-quoted-string" style-ref="string" end-at-line-end="true" class="string" class-disabled="no-spell-check">
|
85
|
+
<start>\%{string-prefix}'</start>
|
86
|
+
<end>'</end>
|
87
|
+
<include>
|
88
|
+
<context ref="python:format"/>
|
89
|
+
<context ref="python:escaped-char"/>
|
90
|
+
<context ref="def:line-continue"/>
|
91
|
+
</include>
|
92
|
+
</context>
|
93
|
+
|
94
|
+
<context id="multiline-double-quoted-raw-string" style-ref="multiline-string" class="string" class-disabled="no-spell-check">
|
95
|
+
<start>\%{raw-string-prefix}"""</start>
|
96
|
+
<end>"""</end>
|
97
|
+
<include>
|
98
|
+
<context ref="python:format"/>
|
99
|
+
</include>
|
100
|
+
</context>
|
101
|
+
|
102
|
+
<context id="multiline-single-quoted-raw-string" style-ref="multiline-string" class="string" class-disabled="no-spell-check">
|
103
|
+
<start>\%{raw-string-prefix}'''</start>
|
104
|
+
<end>'''</end>
|
105
|
+
<include>
|
106
|
+
<context ref="python:format"/>
|
107
|
+
</include>
|
108
|
+
</context>
|
109
|
+
|
110
|
+
<context id="double-quoted-raw-string" style-ref="string" end-at-line-end="true" class="string" class-disabled="no-spell-check">
|
111
|
+
<start>\%{raw-string-prefix}"</start>
|
112
|
+
<end>"</end>
|
113
|
+
<include>
|
114
|
+
<context ref="python:format"/>
|
115
|
+
<context ref="def:line-continue"/>
|
116
|
+
</include>
|
117
|
+
</context>
|
118
|
+
|
119
|
+
<context id="single-quoted-raw-string" style-ref="string" end-at-line-end="true" class="string" class-disabled="no-spell-check">
|
120
|
+
<start>\%{raw-string-prefix}'</start>
|
121
|
+
<end>'</end>
|
122
|
+
<include>
|
123
|
+
<context ref="python:format"/>
|
124
|
+
<context ref="def:line-continue"/>
|
125
|
+
</include>
|
126
|
+
</context>
|
127
|
+
|
128
|
+
<context id="python3" class="no-spell-check">
|
129
|
+
<include>
|
130
|
+
<context ref="def:shebang"/>
|
131
|
+
<context ref="def:shell-like-comment"/>
|
132
|
+
|
133
|
+
<context ref="multiline-double-quoted-string"/>
|
134
|
+
<context ref="multiline-single-quoted-string"/>
|
135
|
+
<context ref="double-quoted-string"/>
|
136
|
+
<context ref="single-quoted-string"/>
|
137
|
+
|
138
|
+
<context ref="multiline-double-quoted-raw-string"/>
|
139
|
+
<context ref="multiline-single-quoted-raw-string"/>
|
140
|
+
<context ref="double-quoted-raw-string"/>
|
141
|
+
<context ref="single-quoted-raw-string"/>
|
142
|
+
|
143
|
+
<context ref="python:special-variables"/>
|
144
|
+
<context ref="python:boolean"/>
|
145
|
+
|
146
|
+
<context ref="python:complex"/>
|
147
|
+
|
148
|
+
<context ref="python:float"/>
|
149
|
+
|
150
|
+
<context ref="python:decimal"/>
|
151
|
+
|
152
|
+
<context id="binary" style-ref="base-n-integer">
|
153
|
+
<match>(?<![\w\.])0[bB][0-1]+[lL]?(?![\w\.])</match>
|
154
|
+
</context>
|
155
|
+
|
156
|
+
<context id="octal" style-ref="base-n-integer">
|
157
|
+
<match>(?<![\w\.])0[oO][0-7]+[lL]?(?![\w\.])</match>
|
158
|
+
</context>
|
159
|
+
|
160
|
+
<context ref="python:hex"/>
|
161
|
+
|
162
|
+
<context ref="python:module-handler"/>
|
163
|
+
|
164
|
+
<context ref="python:keywords"/>
|
165
|
+
<context id="3x-only-keywords" style-ref="keyword">
|
166
|
+
<keyword>nonlocal</keyword>
|
167
|
+
</context>
|
168
|
+
|
169
|
+
<context ref="python:builtin-constants"/>
|
170
|
+
<context ref="python:builtin-objects"/>
|
171
|
+
<context id="3x-only-builtin-objects" style-ref="builtin-object">
|
172
|
+
<prefix>(?<![\w\.])</prefix>
|
173
|
+
<keyword>ResourceWarning</keyword>
|
174
|
+
</context>
|
175
|
+
|
176
|
+
<context ref="python:builtin-functions"/>
|
177
|
+
<context id="3x-only-builtin-functions" style-ref="builtin-function">
|
178
|
+
<prefix>(?<![\w\.])</prefix>
|
179
|
+
<keyword>ascii</keyword>
|
180
|
+
<keyword>bin</keyword>
|
181
|
+
<keyword>bytearray</keyword>
|
182
|
+
<keyword>bytes</keyword>
|
183
|
+
<keyword>exec</keyword>
|
184
|
+
<keyword>format</keyword>
|
185
|
+
<keyword>memoryview</keyword>
|
186
|
+
<keyword>next</keyword>
|
187
|
+
<keyword>print</keyword>
|
188
|
+
</context>
|
189
|
+
</include>
|
190
|
+
</context>
|
191
|
+
</definitions>
|
192
|
+
</language>
|
@@ -0,0 +1,212 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!--
|
3
|
+
|
4
|
+
This file is part of GtkSourceView
|
5
|
+
|
6
|
+
Author: Konstantin Ryabitsev <icon@fedoraproject.org>
|
7
|
+
Copyright (C) 2007 Konstantin Ryabitsev <icon@fedoraproject.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="rpmspec" _name="RPM spec" version="2.0" _section="Other">
|
25
|
+
<metadata>
|
26
|
+
<property name="mimetypes">text/x-rpm-spec</property>
|
27
|
+
<property name="globs">*.spec</property>
|
28
|
+
<property name="line-comment-start">#</property>
|
29
|
+
</metadata>
|
30
|
+
|
31
|
+
<styles>
|
32
|
+
<style id="define" _name="Define" map-to="def:preprocessor"/>
|
33
|
+
<style id="header" _name="Header" map-to="def:keyword"/>
|
34
|
+
<style id="section" _name="Section" map-to="def:type"/>
|
35
|
+
<style id="spec-macro" _name="Spec Macro" map-to="def:preprocessor"/>
|
36
|
+
<style id="directory-macro" _name="Directory Macro" map-to="def:identifier"/>
|
37
|
+
<style id="command-macro" _name="Command Macro" map-to="def:identifier"/>
|
38
|
+
<style id="conditional-macro" _name="Conditional Macro" map-to="def:preprocessor"/>
|
39
|
+
<style id="other-macro" _name="Other Macro" map-to="def:identifier"/>
|
40
|
+
<style id="flow-conditional" _name="Flow Conditional" map-to="def:preprocessor"/>
|
41
|
+
<style id="rpm-var" _name="RPM Variable" map-to="def:identifier"/>
|
42
|
+
<style id="switch" _name="Switch" map-to="def:operator"/>
|
43
|
+
<style id="changelog-date" _name="Date" map-to="changelog:date"/>
|
44
|
+
<style id="changelog-email" _name="Email" map-to="changelog:email"/>
|
45
|
+
</styles>
|
46
|
+
|
47
|
+
<definitions>
|
48
|
+
|
49
|
+
<context id="define" style-ref="define" end-at-line-end="true">
|
50
|
+
<start>%define</start>
|
51
|
+
<include>
|
52
|
+
<context ref="def:line-continue" ignore-style="true"/>
|
53
|
+
</include>
|
54
|
+
</context>
|
55
|
+
|
56
|
+
<context id="conditional-define" style-ref="define" end-at-line-end="true">
|
57
|
+
<start>%\{\!\?.*%define</start>
|
58
|
+
<end>\}</end>
|
59
|
+
<include>
|
60
|
+
<context ref="def:line-continue" ignore-style="true"/>
|
61
|
+
</include>
|
62
|
+
</context>
|
63
|
+
|
64
|
+
<context id="header" style-ref="header">
|
65
|
+
<prefix>^</prefix>
|
66
|
+
<suffix>:</suffix>
|
67
|
+
<keyword>Auto[A-Za-z]+</keyword>
|
68
|
+
<keyword>[A-Za-z]+Arch</keyword>
|
69
|
+
<keyword>[A-Za-z]+Req</keyword>
|
70
|
+
<keyword>Build[A-Za-z]+</keyword>
|
71
|
+
<keyword>Conflicts</keyword>
|
72
|
+
<keyword>Epoch</keyword>
|
73
|
+
<keyword>Group</keyword>
|
74
|
+
<keyword>Icon</keyword>
|
75
|
+
<keyword>License</keyword>
|
76
|
+
<keyword>Name</keyword>
|
77
|
+
<keyword>Obsoletes</keyword>
|
78
|
+
<keyword>Packager</keyword>
|
79
|
+
<keyword>Patch[0-9]*</keyword>
|
80
|
+
<keyword>Provides</keyword>
|
81
|
+
<keyword>Recommends</keyword>
|
82
|
+
<keyword>Release</keyword>
|
83
|
+
<keyword>Requires\(?[a-z]*\)?</keyword>
|
84
|
+
<keyword>Source[0-9]*</keyword>
|
85
|
+
<keyword>Suggests</keyword>
|
86
|
+
<keyword>Summary</keyword>
|
87
|
+
<keyword>Supplements</keyword>
|
88
|
+
<keyword>Url</keyword>
|
89
|
+
<keyword>URL</keyword>
|
90
|
+
<keyword>Vendor</keyword>
|
91
|
+
<keyword>Version</keyword>
|
92
|
+
</context>
|
93
|
+
|
94
|
+
<context id="section" style-ref="section">
|
95
|
+
<prefix>^%</prefix>
|
96
|
+
<keyword>global</keyword>
|
97
|
+
<keyword>description</keyword>
|
98
|
+
<keyword>package</keyword>
|
99
|
+
<keyword>prep</keyword>
|
100
|
+
<keyword>build</keyword>
|
101
|
+
<keyword>install</keyword>
|
102
|
+
<keyword>clean</keyword>
|
103
|
+
<keyword>check</keyword>
|
104
|
+
<keyword>pre[a-z]*</keyword>
|
105
|
+
<keyword>post[a-z]*</keyword>
|
106
|
+
<keyword>trigger[a-z]*</keyword>
|
107
|
+
<keyword>files</keyword>
|
108
|
+
<!-- the "changelog" section is handled as a special
|
109
|
+
case below.
|
110
|
+
TODO: In the future it would be nice to do the
|
111
|
+
same for other sections to enforce that some of the
|
112
|
+
things are highlighted only when in the correct
|
113
|
+
section.
|
114
|
+
-->
|
115
|
+
</context>
|
116
|
+
|
117
|
+
<context id="spec-macro" style-ref="spec-macro">
|
118
|
+
<prefix>%</prefix>
|
119
|
+
<keyword>defattr</keyword>
|
120
|
+
<keyword>docdir</keyword>
|
121
|
+
<keyword>doc</keyword>
|
122
|
+
<keyword>setup</keyword>
|
123
|
+
<keyword>config</keyword>
|
124
|
+
<keyword>configure</keyword>
|
125
|
+
<keyword>make</keyword>
|
126
|
+
<keyword>makeinstall</keyword>
|
127
|
+
<keyword>make_install</keyword>
|
128
|
+
<keyword>make_build</keyword>
|
129
|
+
<keyword>dir</keyword>
|
130
|
+
<keyword>ghost</keyword>
|
131
|
+
<keyword>patch[0-9]+</keyword>
|
132
|
+
<keyword>find_lang</keyword>
|
133
|
+
<keyword>exclude</keyword>
|
134
|
+
</context>
|
135
|
+
|
136
|
+
<context id="directory-macro" style-ref="directory-macro">
|
137
|
+
<match>%\{?_([a-z_]+dir|[a-z_]+path|prefix)\}?</match>
|
138
|
+
</context>
|
139
|
+
|
140
|
+
<context id="command-macro" style-ref="command-macro">
|
141
|
+
<match>%\{?__[a-z_]+\}?</match>
|
142
|
+
</context>
|
143
|
+
|
144
|
+
<context id="conditional-macro" style-ref="conditional-macro">
|
145
|
+
<match>%\{\?[A-Za-z0-9_]+\}</match>
|
146
|
+
</context>
|
147
|
+
|
148
|
+
<context id="other-macro" style-ref="other-macro">
|
149
|
+
<match>%\{?[a-zA-Z][a-zA-Z0-9_]+\}?</match>
|
150
|
+
</context>
|
151
|
+
|
152
|
+
<context id="flow" style-ref="flow-conditional">
|
153
|
+
<prefix>%</prefix>
|
154
|
+
<keyword>ifarch</keyword>
|
155
|
+
<keyword>if</keyword>
|
156
|
+
<keyword>else</keyword>
|
157
|
+
<keyword>elif</keyword>
|
158
|
+
<keyword>endif</keyword>
|
159
|
+
</context>
|
160
|
+
|
161
|
+
<context id="rpm-var" style-ref="rpm-var">
|
162
|
+
<match>\$\{?RPM_[A-Z0-9_]+\}?</match>
|
163
|
+
</context>
|
164
|
+
|
165
|
+
<!-- TODO: this is one of the context which would be nice
|
166
|
+
to restrict to the proper sections -->
|
167
|
+
<context id="command-switch" style-ref="switch">
|
168
|
+
<match>\s(-\w+|--\w[a-zA-Z_-]+)</match>
|
169
|
+
</context>
|
170
|
+
|
171
|
+
<define-regex id="weekday">Mon|Tue|Wed|Thu|Fri|Sat|Sun</define-regex>
|
172
|
+
<define-regex id="month">Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec</define-regex>
|
173
|
+
<define-regex id="date" extended="true">
|
174
|
+
\%{weekday}\s+\%{month}\s+\d{1,2}\s+(\d{1,2}:\d{1,2}:\d{1,2}\s+)?\d{4} | # Wed Jun 27 13:27:21 2007
|
175
|
+
\d{4}-\d{2}-\d{2} # 2007-06-28
|
176
|
+
</define-regex>
|
177
|
+
|
178
|
+
<context id="changelog-section">
|
179
|
+
<start>%changelog</start>
|
180
|
+
<end>^(?=%)</end>
|
181
|
+
<include>
|
182
|
+
<context sub-pattern="0" where="start" style-ref="section"/>
|
183
|
+
<context id="date" style-ref="changelog-date">
|
184
|
+
<match>\%{date}</match>
|
185
|
+
</context>
|
186
|
+
<context id="email" style-ref="changelog-email">
|
187
|
+
<match><[A-Za-z0-9._+-]+@[A-Za-z0-9._+-]+\.[A-Za-z0-9]{2,4}></match>
|
188
|
+
</context>
|
189
|
+
</include>
|
190
|
+
</context>
|
191
|
+
|
192
|
+
<context id="rpmspec">
|
193
|
+
<include>
|
194
|
+
<context ref="def:shell-like-comment"/>
|
195
|
+
<context ref="define"/>
|
196
|
+
<context ref="header"/>
|
197
|
+
<context ref="section"/>
|
198
|
+
<context ref="spec-macro"/>
|
199
|
+
<context ref="directory-macro"/>
|
200
|
+
<context ref="command-macro"/>
|
201
|
+
<context ref="conditional-macro"/>
|
202
|
+
<context ref="flow"/>
|
203
|
+
<context ref="rpm-var"/>
|
204
|
+
<context ref="command-switch"/>
|
205
|
+
<context ref="changelog-section"/>
|
206
|
+
<context ref="other-macro"/>
|
207
|
+
</include>
|
208
|
+
</context>
|
209
|
+
|
210
|
+
</definitions>
|
211
|
+
|
212
|
+
</language>
|
@@ -0,0 +1,142 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!--
|
3
|
+
|
4
|
+
This file is part of GtkSourceView
|
5
|
+
|
6
|
+
Author: Guillaume Chéreau <guillaume.chereau@gmail.com>
|
7
|
+
|
8
|
+
GtkSourceView is free software; you can redistribute it and/or
|
9
|
+
modify it under the terms of the GNU Lesser General Public
|
10
|
+
License as published by the Free Software Foundation; either
|
11
|
+
version 2.1 of the License, or (at your option) any later version.
|
12
|
+
|
13
|
+
GtkSourceView is distributed in the hope that it will be useful,
|
14
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
15
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
16
|
+
Lesser General Public License for more details.
|
17
|
+
|
18
|
+
You should have received a copy of the GNU Lesser General Public
|
19
|
+
License along with this library; if not, write to the Free Software
|
20
|
+
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
21
|
+
|
22
|
+
-->
|
23
|
+
<language id="rst" _name="reStructuredText" version="2.0" _section="Markup">
|
24
|
+
<metadata>
|
25
|
+
<property name="mimetypes">text/x-rst</property>
|
26
|
+
<property name="globs">*.rst</property>
|
27
|
+
<property name="line-comment-start">..\u0020</property>
|
28
|
+
</metadata>
|
29
|
+
|
30
|
+
<styles>
|
31
|
+
<style id="header" _name="Header" map-to="def:type"/>
|
32
|
+
<style id="emphasis" _name="Emphasis" map-to="def:doc-comment-element"/>
|
33
|
+
<style id="strong-emphasis" _name="Strong Emphasis" map-to="def:statement"/>
|
34
|
+
<style id="bullet" _name="Bullet" map-to="def:preprocessor"/>
|
35
|
+
<style id="directive" _name="Directive" map-to="def:constant"/>
|
36
|
+
<style id="comment" _name="Comment" map-to="def:comment"/>
|
37
|
+
<style id="link" _name="Link" map-to="def:type"/>
|
38
|
+
<style id="substitution" _name="Substitution" map-to="def:type"/>
|
39
|
+
<style id="code" _name="Code" map-to="def:identifier"/>
|
40
|
+
<style id="url" name="Url" map-to="def:underlined"/>
|
41
|
+
</styles>
|
42
|
+
|
43
|
+
<definitions>
|
44
|
+
|
45
|
+
<context id="directive" class="no-spell-check" style-ref="directive">
|
46
|
+
<match>^\s*\.\. .*::.*$</match>
|
47
|
+
</context>
|
48
|
+
|
49
|
+
<context id="footnotes" style-ref="directive">
|
50
|
+
<match>^\s*\.\. \[.+\] .*$</match>
|
51
|
+
</context>
|
52
|
+
|
53
|
+
<context id="link-target" class="no-spell-check" style-ref="directive">
|
54
|
+
<match>^\s*\.\. _.*:.*$</match>
|
55
|
+
</context>
|
56
|
+
|
57
|
+
<context id="comment" style-ref="comment">
|
58
|
+
<start>(\s*)\.\.(\s+).+$</start>
|
59
|
+
<end>^(?!(\%{1@start} \%{2@start})|(^$))</end>
|
60
|
+
</context>
|
61
|
+
|
62
|
+
<context id="comment-single" style-ref="comment">
|
63
|
+
<start>^(\s*)\.\.(\s*)$</start>
|
64
|
+
<end>x</end>
|
65
|
+
<include>
|
66
|
+
<context id="comment-single-block" style-ref="comment" end-parent="true">
|
67
|
+
<start>(\s*).+$</start>
|
68
|
+
<end>^(?!(\%{1@start}))</end>
|
69
|
+
</context>
|
70
|
+
</include>
|
71
|
+
</context>
|
72
|
+
|
73
|
+
<context id="title-adornment" style-ref="header">
|
74
|
+
<match>^\s*(=+|\-+|`+|:+|(\.\.\.+)|'+|"+|~+|\^+|_+|\*+|\++|#+)\s*$</match>
|
75
|
+
</context>
|
76
|
+
|
77
|
+
<context id="bullet" style-ref="bullet">
|
78
|
+
<match>^\s*[\*\+\-•‣⁃] </match>
|
79
|
+
</context>
|
80
|
+
|
81
|
+
<define-regex id="enumerator-chars" extended="true">
|
82
|
+
([a-zA-Z]|([0-9]+))
|
83
|
+
</define-regex>
|
84
|
+
|
85
|
+
<context id="enumerator" style-ref="bullet">
|
86
|
+
<match>^\s*((\%{enumerator-chars}\.)|(\(?\%{enumerator-chars}\)) )</match>
|
87
|
+
</context>
|
88
|
+
|
89
|
+
<context id="field" style-ref="bullet">
|
90
|
+
<match>^\s*:.+?:</match>
|
91
|
+
</context>
|
92
|
+
|
93
|
+
<context id="strong-emphasis" style-ref="strong-emphasis">
|
94
|
+
<match>\*\*(?!\s).+?(?!\s)\*\*</match>
|
95
|
+
</context>
|
96
|
+
|
97
|
+
<context id="emphasis" style-ref="emphasis">
|
98
|
+
<match>\*(?!\s).+?(?!\s)\*</match>
|
99
|
+
</context>
|
100
|
+
|
101
|
+
<context id="link" style-ref="link">
|
102
|
+
<match>(\S+_)|(`\b.*?\b`_)</match>
|
103
|
+
</context>
|
104
|
+
|
105
|
+
<context id="substitution" style-ref="substitution">
|
106
|
+
<match>\|\b.*\b\|</match>
|
107
|
+
</context>
|
108
|
+
|
109
|
+
<context id="literals">
|
110
|
+
<include>
|
111
|
+
<context id="inline-literals" class="no-spell-check" style-ref="code">
|
112
|
+
<match>``(?!\s).*(?!\s)``</match>
|
113
|
+
</context>
|
114
|
+
</include>
|
115
|
+
</context>
|
116
|
+
|
117
|
+
<context id="url" style-ref="url">
|
118
|
+
<match>((http)|(file))://\S*</match>
|
119
|
+
</context>
|
120
|
+
|
121
|
+
<context id="rst">
|
122
|
+
<include>
|
123
|
+
<context ref="directive"/>
|
124
|
+
<context ref="link-target"/>
|
125
|
+
<context ref="footnotes"/>
|
126
|
+
<context ref="comment"/>
|
127
|
+
<context ref="comment-single"/>
|
128
|
+
<context ref="title-adornment"/>
|
129
|
+
<context ref="bullet"/>
|
130
|
+
<context ref="enumerator"/>
|
131
|
+
<context ref="field"/>
|
132
|
+
<context ref="strong-emphasis"/>
|
133
|
+
<context ref="emphasis"/>
|
134
|
+
<context ref="link"/>
|
135
|
+
<context ref="substitution"/>
|
136
|
+
<context ref="literals"/>
|
137
|
+
<context ref="url"/>
|
138
|
+
</include>
|
139
|
+
</context>
|
140
|
+
</definitions>
|
141
|
+
|
142
|
+
</language>
|