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,275 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!--
|
3
|
+
|
4
|
+
Authors: Jim Teeuwen
|
5
|
+
Copyright (C) 2009-2010 Jim Teeuwen <jimteeuwen@gmail.com>
|
6
|
+
Copyright (C) 2010 Kenny Meyer <knny.myer@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
|
+
See: http://code.google.com/p/go/source/browse/misc/vim/syntax/go.vim
|
24
|
+
-->
|
25
|
+
<language id="go" _name="Go" version="2.0" _section="Source">
|
26
|
+
<metadata>
|
27
|
+
<property name="mimetype">text/x-go</property>
|
28
|
+
<property name="globs">*.go</property>
|
29
|
+
<property name="line-comment-start">//</property>
|
30
|
+
<property name="block-comment-start">/*</property>
|
31
|
+
<property name="block-comment-end">*/</property>
|
32
|
+
</metadata>
|
33
|
+
|
34
|
+
<styles>
|
35
|
+
<style id="comment" _name="Comment" map-to="def:comment"/>
|
36
|
+
<style id="error" _name="Error" map-to="def:error"/>
|
37
|
+
<style id="string" _name="String" map-to="def:string"/>
|
38
|
+
<style id="char" _name="Character" map-to="def:character"/>
|
39
|
+
<style id="keyword" _name="Keyword" map-to="def:keyword"/>
|
40
|
+
<style id="type" _name="Data Type" map-to="def:type"/>
|
41
|
+
<style id="printf" _name="printf Conversion" map-to="def:special-char"/>
|
42
|
+
<style id="escaped-character" _name="Escaped Character" map-to="def:special-char"/>
|
43
|
+
<style id="floating-point" _name="Floating point number" map-to="def:floating-point"/>
|
44
|
+
<style id="imaginary" _name="Imaginary number" map-to="def:number"/>
|
45
|
+
<style id="decimal" _name="Decimal number" map-to="def:decimal"/>
|
46
|
+
<style id="octal" _name="Octal number" map-to="def:base-n-integer"/>
|
47
|
+
<style id="hexadecimal" _name="Hexadecimal number" map-to="def:base-n-integer"/>
|
48
|
+
<style id="boolean" _name="Boolean value" map-to="def:boolean"/>
|
49
|
+
<style id="builtin-constant" _name="Builtin Constant" map-to="def:special-constant"/>
|
50
|
+
<style id="builtin-function" _name="Builtin Function" map-to="def:builtin"/>
|
51
|
+
</styles>
|
52
|
+
|
53
|
+
<definitions>
|
54
|
+
<define-regex id="escaped-character" extended="true">
|
55
|
+
\\( # leading backslash
|
56
|
+
[\\\"\'nrbtfav\?] | # escaped character
|
57
|
+
[0-7]{1,3} | # one, two, or three octal digits
|
58
|
+
x[0-9A-Fa-f]+ # 'x' followed by hex digits
|
59
|
+
)
|
60
|
+
</define-regex>
|
61
|
+
|
62
|
+
<!--contexts NOT used on the main context-->
|
63
|
+
<context id="printf" style-ref="printf" extend-parent="false">
|
64
|
+
<match extended="true">
|
65
|
+
\%\%|\%
|
66
|
+
[#0\-\ \+\*]* # flags
|
67
|
+
(?:[1-9][0-9]*|\*)? # width
|
68
|
+
(?:\.(?:[0-9]+|\*))? # precision
|
69
|
+
[vTtbcdoqxXUeEfgGsp] # conversion specifier
|
70
|
+
</match>
|
71
|
+
</context>
|
72
|
+
|
73
|
+
<!--contexts used on the main context-->
|
74
|
+
<context id="comment" style-ref="comment" end-at-line-end="true" class-disabled="no-spell-check">
|
75
|
+
<start>//</start>
|
76
|
+
<include>
|
77
|
+
<context ref="def:in-line-comment"/>
|
78
|
+
</include>
|
79
|
+
</context>
|
80
|
+
|
81
|
+
<context id="comment-multiline" style-ref="comment" class-disabled="no-spell-check">
|
82
|
+
<start>/\*</start>
|
83
|
+
<end>\*/</end>
|
84
|
+
<include>
|
85
|
+
<context ref="def:in-comment"/>
|
86
|
+
</include>
|
87
|
+
</context>
|
88
|
+
|
89
|
+
<context id="close-comment-outside-comment" style-ref="error">
|
90
|
+
<match>\*/(?!\*)</match>
|
91
|
+
</context>
|
92
|
+
|
93
|
+
<context id="quoted-string" style-ref="string" end-at-line-end="true" class-disabled="no-spell-check">
|
94
|
+
<start>"</start>
|
95
|
+
<end>"</end>
|
96
|
+
<include>
|
97
|
+
<context ref="printf"/>
|
98
|
+
<context id="escaped-character" style-ref="escaped-character">
|
99
|
+
<match>\%{escaped-character}</match>
|
100
|
+
</context>
|
101
|
+
<context ref="def:line-continue"/>
|
102
|
+
</include>
|
103
|
+
</context>
|
104
|
+
|
105
|
+
<context id="backquote-string" style-ref="string" end-at-line-end="false" class-disabled="no-spell-check">
|
106
|
+
<start>`</start>
|
107
|
+
<end>`</end>
|
108
|
+
<include>
|
109
|
+
<context ref="printf"/>
|
110
|
+
<context ref="def:line-continue"/>
|
111
|
+
</include>
|
112
|
+
</context>
|
113
|
+
|
114
|
+
<context id="char" style-ref="char">
|
115
|
+
<match>'(\%{escaped-character}|.)'</match>
|
116
|
+
</context>
|
117
|
+
|
118
|
+
<define-regex id="float" extended="true">
|
119
|
+
((\.[0-9]+ | [0-9]+\.[0-9]*) ([Ee][+-]?[0-9]+)? |
|
120
|
+
([0-9]+[Ee][+-]?[0-9]+))
|
121
|
+
</define-regex>
|
122
|
+
|
123
|
+
<context id="imaginary" style-ref="imaginary">
|
124
|
+
<match>(?<![\w\.])(\%{float}|\[0-9]+)[i]\b</match>
|
125
|
+
</context>
|
126
|
+
|
127
|
+
<context id="float" style-ref="floating-point">
|
128
|
+
<match>(?<![\w\.])\%{float}(?![\w\.])</match>
|
129
|
+
</context>
|
130
|
+
|
131
|
+
<context id="hexadecimal" style-ref="hexadecimal">
|
132
|
+
<match extended="true">
|
133
|
+
(?<![\w\.])
|
134
|
+
0[xX][a-fA-F0-9]+
|
135
|
+
(?![\w\.])
|
136
|
+
</match>
|
137
|
+
</context>
|
138
|
+
|
139
|
+
<context id="invalid-hexadecimal" style-ref="error">
|
140
|
+
<match extended="true">
|
141
|
+
(?<![\w\.])
|
142
|
+
0[xX][a-fA-F0-9]*[g-zG-Z][a-zA-Z0-9]*
|
143
|
+
(?![\w\.])
|
144
|
+
</match>
|
145
|
+
</context>
|
146
|
+
|
147
|
+
<context id="octal" style-ref="octal">
|
148
|
+
<match extended="true">
|
149
|
+
(?<![\w\.])
|
150
|
+
0[0-7]+
|
151
|
+
(?![\w\.])
|
152
|
+
</match>
|
153
|
+
</context>
|
154
|
+
|
155
|
+
<context id="invalid-octal" style-ref="error">
|
156
|
+
<match extended="true">
|
157
|
+
(?<![\w\.])
|
158
|
+
0[0-7]*[89][0-9]*
|
159
|
+
(?![\w\.])
|
160
|
+
</match>
|
161
|
+
</context>
|
162
|
+
|
163
|
+
<context id="decimal" style-ref="decimal">
|
164
|
+
<match extended="true">
|
165
|
+
(?<![\w\.])
|
166
|
+
(0|[1-9][0-9]*)
|
167
|
+
(?![\w\.])
|
168
|
+
</match>
|
169
|
+
</context>
|
170
|
+
|
171
|
+
<context id="boolean" style-ref="boolean">
|
172
|
+
<match extended="true">
|
173
|
+
(?<![\w\.])
|
174
|
+
(true|false)
|
175
|
+
(?![\w\.])
|
176
|
+
</match>
|
177
|
+
</context>
|
178
|
+
|
179
|
+
<context id="keywords" style-ref="keyword">
|
180
|
+
<keyword>break</keyword>
|
181
|
+
<keyword>case</keyword>
|
182
|
+
<keyword>const</keyword>
|
183
|
+
<keyword>continue</keyword>
|
184
|
+
<keyword>default</keyword>
|
185
|
+
<keyword>defer</keyword>
|
186
|
+
<keyword>else</keyword>
|
187
|
+
<keyword>fallthrough</keyword>
|
188
|
+
<keyword>for</keyword>
|
189
|
+
<keyword>func</keyword>
|
190
|
+
<keyword>go</keyword>
|
191
|
+
<keyword>goto</keyword>
|
192
|
+
<keyword>if</keyword>
|
193
|
+
<keyword>import</keyword>
|
194
|
+
<keyword>interface</keyword>
|
195
|
+
<keyword>package</keyword>
|
196
|
+
<keyword>range</keyword>
|
197
|
+
<keyword>return</keyword>
|
198
|
+
<keyword>select</keyword>
|
199
|
+
<keyword>struct</keyword>
|
200
|
+
<keyword>switch</keyword>
|
201
|
+
<keyword>type</keyword>
|
202
|
+
<keyword>var</keyword>
|
203
|
+
</context>
|
204
|
+
|
205
|
+
<context id="types" style-ref="type">
|
206
|
+
<keyword>bool</keyword>
|
207
|
+
<keyword>byte</keyword>
|
208
|
+
<keyword>chan</keyword>
|
209
|
+
<keyword>complex64</keyword>
|
210
|
+
<keyword>complex128</keyword>
|
211
|
+
<keyword>error</keyword>
|
212
|
+
<keyword>float32</keyword>
|
213
|
+
<keyword>float64</keyword>
|
214
|
+
<keyword>func</keyword>
|
215
|
+
<keyword>int</keyword>
|
216
|
+
<keyword>int8</keyword>
|
217
|
+
<keyword>int16</keyword>
|
218
|
+
<keyword>int32</keyword>
|
219
|
+
<keyword>int64</keyword>
|
220
|
+
<keyword>map</keyword>
|
221
|
+
<keyword>rune</keyword>
|
222
|
+
<keyword>string</keyword>
|
223
|
+
<keyword>uint</keyword>
|
224
|
+
<keyword>uint8</keyword>
|
225
|
+
<keyword>uint16</keyword>
|
226
|
+
<keyword>uint32</keyword>
|
227
|
+
<keyword>uint64</keyword>
|
228
|
+
<keyword>uintptr</keyword>
|
229
|
+
</context>
|
230
|
+
|
231
|
+
<context id="builtin-constant" style-ref="builtin-constant">
|
232
|
+
<keyword>iota</keyword>
|
233
|
+
<keyword>nil</keyword>
|
234
|
+
</context>
|
235
|
+
|
236
|
+
<context id="builtin-function" style-ref="builtin-function">
|
237
|
+
<keyword>append</keyword>
|
238
|
+
<keyword>cap</keyword>
|
239
|
+
<keyword>close</keyword>
|
240
|
+
<keyword>complex</keyword>
|
241
|
+
<keyword>copy</keyword>
|
242
|
+
<keyword>delete</keyword>
|
243
|
+
<keyword>imag</keyword>
|
244
|
+
<keyword>len</keyword>
|
245
|
+
<keyword>make</keyword>
|
246
|
+
<keyword>new</keyword>
|
247
|
+
<keyword>panic</keyword>
|
248
|
+
<keyword>real</keyword>
|
249
|
+
<keyword>recover</keyword>
|
250
|
+
</context>
|
251
|
+
|
252
|
+
<context id="go" class="no-spell-check">
|
253
|
+
<include>
|
254
|
+
<context ref="comment"/>
|
255
|
+
<context ref="comment-multiline"/>
|
256
|
+
<context ref="close-comment-outside-comment"/>
|
257
|
+
<context ref="quoted-string"/>
|
258
|
+
<context ref="backquote-string"/>
|
259
|
+
<context ref="char"/>
|
260
|
+
<context ref="float"/>
|
261
|
+
<context ref="hexadecimal"/>
|
262
|
+
<context ref="invalid-hexadecimal"/>
|
263
|
+
<context ref="octal"/>
|
264
|
+
<context ref="invalid-octal"/>
|
265
|
+
<context ref="decimal"/>
|
266
|
+
<context ref="boolean"/>
|
267
|
+
<context ref="keywords"/>
|
268
|
+
<context ref="types"/>
|
269
|
+
<context ref="builtin-constant"/>
|
270
|
+
<context ref="builtin-function"/>
|
271
|
+
</include>
|
272
|
+
</context>
|
273
|
+
|
274
|
+
</definitions>
|
275
|
+
</language>
|
@@ -0,0 +1,91 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!--
|
3
|
+
|
4
|
+
This file is part of GtkSourceView
|
5
|
+
|
6
|
+
Author: Yevgen Muntyan <muntyan@tamu.edu>
|
7
|
+
Copyright (C) 2006-2007 Yevgen Muntyan <muntyan@tamu.edu>
|
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
|
+
<!-- Copyright (C) 2006-2007 - Yevgen Muntyan <muntyan@tamu.edu> -->
|
25
|
+
<language id="gtk-doc" _name="gtk-doc" version="2.0" _section="Markup" hidden="true">
|
26
|
+
<styles>
|
27
|
+
<style id="inline-docs-section" _name="Inline Documentation Section" map-to="def:doc-comment"/>
|
28
|
+
<style id="function-name" _name="Function Name" map-to="def:doc-comment-element"/>
|
29
|
+
<style id="signal-name" _name="Signal Name" map-to="def:doc-comment-element"/>
|
30
|
+
<style id="property-name" _name="Property Name" map-to="def:doc-comment-element"/>
|
31
|
+
<style id="parameter" _name="Parameter" map-to="def:doc-comment-element"/>
|
32
|
+
<style id="constant" _name="Constant" map-to="def:doc-comment-element"/>
|
33
|
+
<style id="type" _name="Type" map-to="def:doc-comment-element"/>
|
34
|
+
<style id="function" _name="Function" map-to="def:doc-comment-element"/>
|
35
|
+
<style id="return" _name="Return" map-to="def:doc-comment-element"/>
|
36
|
+
<style id="since" _name="Since" map-to="def:doc-comment-element"/>
|
37
|
+
<style id="deprecated" _name="Deprecated" map-to="def:doc-comment-element"/>
|
38
|
+
</styles>
|
39
|
+
|
40
|
+
<definitions>
|
41
|
+
<context id="skip-asterisk">
|
42
|
+
<match>^\s*\*(?!/)\s*</match>
|
43
|
+
</context>
|
44
|
+
|
45
|
+
<context id="inline-docs-body">
|
46
|
+
<include>
|
47
|
+
<context ref="skip-asterisk"/>
|
48
|
+
<context ref="def:in-comment"/>
|
49
|
+
<context style-ref="parameter">
|
50
|
+
<match>\@[\w_]+</match>
|
51
|
+
</context>
|
52
|
+
<context style-ref="constant">
|
53
|
+
<match>%[\w_]+</match>
|
54
|
+
</context>
|
55
|
+
<context style-ref="type">
|
56
|
+
<match>\#[\w_]+</match>
|
57
|
+
</context>
|
58
|
+
<context style-ref="function">
|
59
|
+
<match>[\w_]+\(\s*\)</match>
|
60
|
+
</context>
|
61
|
+
<context style-ref="return">
|
62
|
+
<match>(Returns|Return value)\:</match>
|
63
|
+
</context>
|
64
|
+
<context style-ref="since">
|
65
|
+
<match>Since\:</match>
|
66
|
+
</context>
|
67
|
+
<context style-ref="deprecated">
|
68
|
+
<match>Deprecated\:</match>
|
69
|
+
</context>
|
70
|
+
</include>
|
71
|
+
</context>
|
72
|
+
|
73
|
+
<context id="inline-docs-section" style-ref="inline-docs-section" class="comment" class-disabled="no-spell-check">
|
74
|
+
<start>/\*\*(?!\S)</start>
|
75
|
+
<end>\*/</end>
|
76
|
+
<include>
|
77
|
+
<context ref="skip-asterisk"/>
|
78
|
+
<context extend-parent="false">
|
79
|
+
<start>(([\w_]+\:\:[\w_-]+)|([\w_]+\:[\w_-]+)|([\w_]+))\:\s*$</start>
|
80
|
+
<include>
|
81
|
+
<context sub-pattern="2" where="start" style-ref="function-name"/>
|
82
|
+
<context sub-pattern="3" where="start" style-ref="signal-name"/>
|
83
|
+
<context sub-pattern="4" where="start" style-ref="property-name"/>
|
84
|
+
<context ref="inline-docs-body"/>
|
85
|
+
</include>
|
86
|
+
</context>
|
87
|
+
<context ref="inline-docs-body"/>
|
88
|
+
</include>
|
89
|
+
</context>
|
90
|
+
</definitions>
|
91
|
+
</language>
|
@@ -0,0 +1,116 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!--
|
3
|
+
|
4
|
+
This file is part of GtkSourceView
|
5
|
+
|
6
|
+
Authors: Link M Dupont, Andrew Johnson
|
7
|
+
Copyright (C) 2005 Link M Dupont <link@subpop.net>
|
8
|
+
Copyright (C) 2005 Andrew Johnson <acjgenius@earthlink.net>
|
9
|
+
|
10
|
+
GtkSourceView is free software; you can redistribute it and/or
|
11
|
+
modify it under the terms of the GNU Lesser General Public
|
12
|
+
License as published by the Free Software Foundation; either
|
13
|
+
version 2.1 of the License, or (at your option) any later version.
|
14
|
+
|
15
|
+
GtkSourceView is distributed in the hope that it will be useful,
|
16
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
17
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
18
|
+
Lesser General Public License for more details.
|
19
|
+
|
20
|
+
You should have received a copy of the GNU Lesser General Public
|
21
|
+
License along with this library; if not, write to the Free Software
|
22
|
+
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
23
|
+
|
24
|
+
-->
|
25
|
+
<language id="gtkrc" _name="GtkRC" version="2.0" _section="Other">
|
26
|
+
<metadata>
|
27
|
+
<property name="mimetypes">text/x-gtkrc</property>
|
28
|
+
<property name="globs">gtkrc;.gtkrc;gtkrc-*;.gtkrc-*</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="string" _name="String" map-to="def:string"/>
|
35
|
+
<style id="keyword" _name="Keyword" map-to="def:keyword"/>
|
36
|
+
<style id="decimal" _name="Decimal" map-to="def:decimal"/>
|
37
|
+
<style id="variable" _name="Data Type" map-to="def:type"/>
|
38
|
+
<style id="state" _name="Widget State" map-to="def:special-constant"/>
|
39
|
+
<style id="include-directive" _name="Include directive" map-to="def:preprocessor"/>
|
40
|
+
<style id="boolean-value" _name="Boolean value" map-to="def:boolean"/>
|
41
|
+
</styles>
|
42
|
+
|
43
|
+
<definitions>
|
44
|
+
<context id="double-quoted-string" style-ref="string" end-at-line-end="true" class="string" class-disabled="no-spell-check">
|
45
|
+
<start>"</start>
|
46
|
+
<end>"</end>
|
47
|
+
<include>
|
48
|
+
<context ref="def:escape"/>
|
49
|
+
<context ref="def:line-continue"/>
|
50
|
+
</include>
|
51
|
+
</context>
|
52
|
+
<context id="single-quoted-string" style-ref="string" end-at-line-end="true" class="string" class-disabled="no-spell-check">
|
53
|
+
<start>'</start>
|
54
|
+
<end>'</end>
|
55
|
+
<include>
|
56
|
+
<context ref="def:escape"/>
|
57
|
+
<context ref="def:line-continue"/>
|
58
|
+
</include>
|
59
|
+
</context>
|
60
|
+
<context id="line-comment" style-ref="comment" end-at-line-end="true" class="comment" class-disabled="no-spell-check">
|
61
|
+
<start>#</start>
|
62
|
+
<include>
|
63
|
+
<context ref="def:escape"/>
|
64
|
+
<context ref="def:line-continue"/>
|
65
|
+
</include>
|
66
|
+
</context>
|
67
|
+
<context id="keysymbol" style-ref="keyword">
|
68
|
+
<match>::|=</match>
|
69
|
+
</context>
|
70
|
+
<context id="number" style-ref="decimal">
|
71
|
+
<match>\b[0-9][0-9\.]*\b</match>
|
72
|
+
</context>
|
73
|
+
<context id="keyword" style-ref="keyword">
|
74
|
+
<keyword>style</keyword>
|
75
|
+
<keyword>engine</keyword>
|
76
|
+
<keyword>widget_class</keyword>
|
77
|
+
<keyword>class</keyword>
|
78
|
+
<keyword>widget</keyword>
|
79
|
+
</context>
|
80
|
+
<context id="variable" style-ref="variable">
|
81
|
+
<keyword>fg</keyword>
|
82
|
+
<keyword>bg</keyword>
|
83
|
+
<keyword>bg_pixmap</keyword>
|
84
|
+
<keyword>base</keyword>
|
85
|
+
<keyword>text</keyword>
|
86
|
+
</context>
|
87
|
+
<context id="state" style-ref="state">
|
88
|
+
<keyword>ACTIVE</keyword>
|
89
|
+
<keyword>SELECTED</keyword>
|
90
|
+
<keyword>NORMAL</keyword>
|
91
|
+
<keyword>PRELIGHT</keyword>
|
92
|
+
<keyword>INSENSITIVE</keyword>
|
93
|
+
</context>
|
94
|
+
<context id="include-directive" style-ref="include-directive">
|
95
|
+
<keyword>include</keyword>
|
96
|
+
</context>
|
97
|
+
<context id="boolean-value" style-ref="boolean-value">
|
98
|
+
<keyword>TRUE</keyword>
|
99
|
+
<keyword>FALSE</keyword>
|
100
|
+
</context>
|
101
|
+
<context id="gtkrc" class="no-spell-check">
|
102
|
+
<include>
|
103
|
+
<context ref="double-quoted-string"/>
|
104
|
+
<context ref="single-quoted-string"/>
|
105
|
+
<context ref="line-comment"/>
|
106
|
+
<context ref="keysymbol"/>
|
107
|
+
<context ref="number"/>
|
108
|
+
<context ref="keyword"/>
|
109
|
+
<context ref="variable"/>
|
110
|
+
<context ref="state"/>
|
111
|
+
<context ref="include-directive"/>
|
112
|
+
<context ref="boolean-value"/>
|
113
|
+
</include>
|
114
|
+
</context>
|
115
|
+
</definitions>
|
116
|
+
</language>
|