gtksourceview3 2.2.0-x86-mingw32 → 2.2.1-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +1 -1
- data/ext/gtksourceview3/extconf.rb +1 -2
- data/ext/gtksourceview3/rbgtksourcegutterrenderertext.c +1 -25
- data/ext/gtksourceview3/rbgtksourceview3conversions.h +7 -0
- data/ext/gtksourceview3/rbgtksourceview3private.h +0 -1
- data/lib/2.0/gtksourceview3.so +0 -0
- data/test/run-test.rb +17 -7
- data/test/test_mark_attributes.rb +1 -1
- data/test/test_source_gutter_renderer.rb +33 -0
- data/test/test_source_language_manager.rb +46 -0
- data/test/test_source_view.rb +34 -0
- data/vendor/local/bin/libgtksourceview-3.0-1.dll +0 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksource.h +4 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcebuffer.h +28 -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 +3 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcetypes.h +48 -2
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceundomanager.h +1 -3
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceview-typebuiltins.h +33 -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 +3 -3
- 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/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_IN/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/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/el/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/es/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/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/ml/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/nb/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/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/ru/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/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/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/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 +2 -2
- data/vendor/local/share/gir-1.0/GtkSource-3.0.gir +2211 -330
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceBuffer.html +1682 -983
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletion.html +818 -573
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionContext.html +267 -189
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionInfo.html +209 -157
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionItem.html +247 -167
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProposal.html +428 -295
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProvider.html +558 -420
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionWords.html +217 -125
- 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 +341 -196
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRenderer.html +1211 -827
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererPixbuf.html +327 -206
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererText.html +156 -96
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguage.html +431 -269
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguageManager.html +300 -235
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMark.html +203 -139
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMarkAttributes.html +640 -452
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourcePrintCompositor.html +1444 -1114
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSearchContext.html +794 -573
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSearchSettings.html +421 -280
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyle.html +232 -99
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleScheme.html +283 -178
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeManager.html +326 -220
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceUndoManager.html +313 -194
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceView.html +1430 -924
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/annotation-glossary.html +33 -13
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-0.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-10.html +47 -47
- 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 +5 -5
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-deprecated.html +35 -15
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-full.html +742 -430
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch01.html +31 -19
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch02.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-GtkSourceUtils.html +95 -81
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0.devhelp2 +519 -463
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/index.html +32 -18
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/index.sgml +326 -153
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-reference.html +151 -57
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-tutorial.html +14 -17
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/object-tree.html +42 -37
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/style-reference.html +39 -8
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/style.css +260 -105
- data/vendor/local/share/gtksourceview-3.0/language-specs/actionscript.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/ada.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/ansforth94.lang +729 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/asp.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/automake.lang +3 -2
- data/vendor/local/share/gtksourceview-3.0/language-specs/awk.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/bennugd.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/bluespec.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/boo.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/c.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/cg.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/changelog.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/chdr.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/cmake.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/cobol.lang +536 -345
- data/vendor/local/share/gtksourceview-3.0/language-specs/cpp.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/csharp.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/css.lang +6 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/cuda.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/d.lang +25 -3
- data/vendor/local/share/gtksourceview-3.0/language-specs/def.lang +8 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/desktop.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/diff.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/dosbatch.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/dot.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/dpatch.lang +2 -2
- data/vendor/local/share/gtksourceview-3.0/language-specs/dtd.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/eiffel.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/erlang.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/fcl.lang +1 -3
- data/vendor/local/share/gtksourceview-3.0/language-specs/forth.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/fortran.lang +85 -6
- data/vendor/local/share/gtksourceview-3.0/language-specs/fsharp.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/gdb-log.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/glsl.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/go.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/gtkrc.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/haskell-literate.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/haskell.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/html.lang +238 -137
- data/vendor/local/share/gtksourceview-3.0/language-specs/idl.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/ini.lang +2 -2
- data/vendor/local/share/gtksourceview-3.0/language-specs/j.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/java.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/javascript.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/json.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/latex.lang +389 -133
- data/vendor/local/share/gtksourceview-3.0/language-specs/lex.lang +209 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/libtool.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/llvm.lang +315 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/lua.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/m4.lang +4 -4
- data/vendor/local/share/gtksourceview-3.0/language-specs/makefile.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/mediawiki.lang +16 -12
- data/vendor/local/share/gtksourceview-3.0/language-specs/nemerle.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/netrexx.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/nsis.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/objc.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/objj.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/ocaml.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/ocl.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/ooc.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/opal.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/opencl.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/pascal.lang +12 -12
- data/vendor/local/share/gtksourceview-3.0/language-specs/perl.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/php.lang +15 -15
- data/vendor/local/share/gtksourceview-3.0/language-specs/pkgconfig.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/po.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/prolog.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/protobuf.lang +2 -4
- data/vendor/local/share/gtksourceview-3.0/language-specs/puppet.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/python.lang +62 -3
- data/vendor/local/share/gtksourceview-3.0/language-specs/python3.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/rpmspec.lang +3 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/rst.lang +142 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/ruby.lang +2 -2
- data/vendor/local/share/gtksourceview-3.0/language-specs/scala.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/scheme.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/sh.lang +2 -2
- data/vendor/local/share/gtksourceview-3.0/language-specs/sml.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/sparql.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/sql.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/sweave.lang +67 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/systemverilog.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/tcl.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/vala.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/vbnet.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/verilog.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/vhdl.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/yacc.lang +2 -2
- data/vendor/local/share/gtksourceview-3.0/language-specs/yaml.lang +214 -0
- data/vendor/local/share/gtksourceview-3.0/styles/classic.xml +13 -2
- data/vendor/local/share/gtksourceview-3.0/styles/cobalt.xml +16 -5
- data/vendor/local/share/gtksourceview-3.0/styles/kate.xml +11 -3
- data/vendor/local/share/gtksourceview-3.0/styles/oblivion.xml +14 -4
- 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 +3 -0
- data/vendor/local/share/gtksourceview-3.0/styles/tango.xml +14 -2
- data/vendor/local/share/license/gtksourceview/AUTHORS +1 -0
- data/vendor/local/share/license/gtksourceview/COPYING +415 -251
- metadata +31 -13
- data/lib/1.9/gtksourceview3.so +0 -0
- data/lib/2.1/gtksourceview3.so +0 -0
@@ -3,9 +3,9 @@
|
|
3
3
|
|
4
4
|
This file is part of GtkSourceView
|
5
5
|
|
6
|
-
|
7
|
-
Copyright (C) 2005-2007
|
8
|
-
Copyright (C)
|
6
|
+
Copyright (C) 2005-2007 - Marco Barisione <barisione@gmail.com>
|
7
|
+
Copyright (C) 2005-2007 - Emanuele Aina
|
8
|
+
Copyright (C) 2014 - Sébastien Wilmet <swilmet@gnome.org>
|
9
9
|
|
10
10
|
GtkSourceView is free software; you can redistribute it and/or
|
11
11
|
modify it under the terms of the GNU Lesser General Public
|
@@ -23,158 +23,259 @@
|
|
23
23
|
|
24
24
|
-->
|
25
25
|
<language id="html" _name="HTML" version="2.0" _section="Markup">
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
<styles>
|
34
|
-
<style id="comment" _name="Comment" map-to="xml:comment"/>
|
35
|
-
<style id="tag" _name="Tag" map-to="xml:element-name"/>
|
36
|
-
<style id="attrib-name" _name="Attribute Name" map-to="xml:attribute-name"/>
|
37
|
-
<style id="attrib-value" _name="Attribute Value" map-to="xml:attribute-value"/>
|
38
|
-
<style id="dtd" _name="DTD" map-to="xml:doctype"/>
|
39
|
-
<style id="error" _name="Error" map-to="xml:error"/>
|
40
|
-
</styles>
|
41
|
-
|
42
|
-
<default-regex-options case-sensitive="false"/>
|
43
|
-
|
44
|
-
<definitions>
|
45
|
-
<!-- Html comments are more permissive than xml comments -->
|
46
|
-
<context id="comment" style-ref="comment" class="comment">
|
47
|
-
<start><!--</start>
|
48
|
-
<end>--\s*></end>
|
49
|
-
<include>
|
50
|
-
<context ref="def:in-comment"/>
|
51
|
-
</include>
|
52
|
-
</context>
|
26
|
+
<metadata>
|
27
|
+
<property name="mimetypes">text/html</property>
|
28
|
+
<property name="globs">*.html;*.htm</property>
|
29
|
+
<property name="block-comment-start"><!--</property>
|
30
|
+
<property name="block-comment-end">--></property>
|
31
|
+
</metadata>
|
53
32
|
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
33
|
+
<styles>
|
34
|
+
<style id="comment" _name="Comment" map-to="xml:comment"/>
|
35
|
+
<style id="tag" _name="Tag" map-to="xml:element-name"/>
|
36
|
+
<style id="attrib-name" _name="Attribute Name" map-to="xml:attribute-name"/>
|
37
|
+
<style id="attrib-value" _name="Attribute Value" map-to="xml:attribute-value"/>
|
38
|
+
<style id="dtd" _name="DTD" map-to="xml:doctype"/>
|
39
|
+
<style id="error" _name="Error" map-to="xml:error"/>
|
40
|
+
<style id="title" _name="Page title" map-to="def:heading0"/>
|
41
|
+
<style id="h1" _name="Heading level 1" map-to="def:heading1"/>
|
42
|
+
<style id="h2" _name="Heading level 2" map-to="def:heading2"/>
|
43
|
+
<style id="h3" _name="Heading level 3" map-to="def:heading3"/>
|
44
|
+
<style id="h4" _name="Heading level 4" map-to="def:heading4"/>
|
45
|
+
<style id="h5" _name="Heading level 5" map-to="def:heading5"/>
|
46
|
+
</styles>
|
58
47
|
|
59
|
-
|
60
|
-
in languages like php that need to embedd contexts inside
|
61
|
-
html tags and attributes.
|
62
|
-
-->
|
63
|
-
<context id="embedded-lang-hook">
|
64
|
-
<start>\%{def:never-match}</start>
|
65
|
-
<end></end>
|
66
|
-
</context>
|
48
|
+
<default-regex-options case-sensitive="false"/>
|
67
49
|
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
</start>
|
78
|
-
<end>\"</end>
|
79
|
-
<include>
|
80
|
-
<context sub-pattern="1" where="start" style-ref="attrib-value"/>
|
81
|
-
<context sub-pattern="0" where="end" style-ref="attrib-value"/>
|
82
|
-
<context id="string" extend-parent="false" end-at-line-end="true" style-ref="attrib-value" class="string" class-disabled="no-spell-check">
|
83
|
-
<start>\%{def:always-match}</start>
|
84
|
-
<include>
|
85
|
-
<context ref="xml:entity"/>
|
86
|
-
<context ref="xml:character-reference"/>
|
87
|
-
<context ref="embedded-lang-hook"/>
|
88
|
-
</include>
|
89
|
-
</context>
|
90
|
-
</include>
|
91
|
-
</context>
|
92
|
-
|
93
|
-
<!-- Attribute in the form: name=value -->
|
94
|
-
<context id="attrib-unquoted" style-ref="attrib-value" class="no-spell-check">
|
95
|
-
<start extended="true">
|
96
|
-
[a-z0-9:_-]+ # attribute name
|
97
|
-
\s*=\s* # "="
|
98
|
-
</start>
|
99
|
-
<end>(?=>|\s)</end>
|
100
|
-
<include>
|
101
|
-
<context sub-pattern="0" where="start" style-ref="attrib-name"/>
|
102
|
-
<context ref="xml:entity"/>
|
103
|
-
<context ref="xml:character-reference"/>
|
104
|
-
</include>
|
105
|
-
</context>
|
106
|
-
|
107
|
-
<!-- Attribute in the form: name -->
|
108
|
-
<context id="attrib-no-value" style-ref="attrib-name" class="no-spell-check">
|
109
|
-
<match extended="true">
|
110
|
-
[a-z0-9:_-]+ # attribute name
|
111
|
-
</match>
|
112
|
-
</context>
|
50
|
+
<definitions>
|
51
|
+
<!-- Html comments are more permissive than xml comments -->
|
52
|
+
<context id="comment" style-ref="comment" class="comment">
|
53
|
+
<start><!--</start>
|
54
|
+
<end>--\s*></end>
|
55
|
+
<include>
|
56
|
+
<context ref="def:in-comment"/>
|
57
|
+
</include>
|
58
|
+
</context>
|
113
59
|
|
114
|
-
|
60
|
+
<context id="dtd" style-ref="dtd" class="no-spell-check">
|
61
|
+
<start><!</start>
|
62
|
+
<end>></end>
|
63
|
+
</context>
|
115
64
|
|
116
|
-
|
117
|
-
|
65
|
+
<!-- This is a placeholder context intended to be <replace>d
|
66
|
+
in languages like php that need to embedd contexts inside
|
67
|
+
html tags and attributes.
|
68
|
+
-->
|
69
|
+
<context id="embedded-lang-hook">
|
70
|
+
<start>\%{def:never-match}</start>
|
71
|
+
<end></end>
|
72
|
+
</context>
|
118
73
|
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
74
|
+
<context id="headings">
|
75
|
+
<include>
|
76
|
+
<context id="title" style-inside="true" style-ref="title" end-at-line-end="true">
|
77
|
+
<start><title></start>
|
78
|
+
<end></title></end>
|
79
|
+
<include>
|
80
|
+
<context sub-pattern="0" where="start" style-ref="tag"/>
|
81
|
+
<context sub-pattern="0" where="end" style-ref="tag"/>
|
82
|
+
</include>
|
83
|
+
</context>
|
84
|
+
<context id="h1" end-at-line-end="true">
|
85
|
+
<start><\s*h1</start>
|
86
|
+
<include>
|
87
|
+
<context sub-pattern="0" where="start" style-ref="tag"/>
|
88
|
+
<context ref="generic-tag"/>
|
89
|
+
<context id="h1-inside" style-inside="true" style-ref="h1" end-at-line-end="true" end-parent="true">
|
90
|
+
<start>></start>
|
91
|
+
<end><\s*/h1\s*></end>
|
92
|
+
<include>
|
124
93
|
<context sub-pattern="0" where="start" style-ref="tag"/>
|
125
94
|
<context sub-pattern="0" where="end" style-ref="tag"/>
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
<context sub-pattern="0" where="start" style-ref="tag"/>
|
131
|
-
<context ref="css:css"/>
|
132
|
-
</include>
|
133
|
-
</context>
|
134
|
-
</include>
|
95
|
+
<!-- We cannot match any further here, because matching to tag will override our end-match -->
|
96
|
+
</include>
|
97
|
+
</context>
|
98
|
+
</include>
|
135
99
|
</context>
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
<
|
140
|
-
|
141
|
-
<
|
100
|
+
<context id="h2" end-at-line-end="true">
|
101
|
+
<start><\s*h2</start>
|
102
|
+
<include>
|
103
|
+
<context sub-pattern="0" where="start" style-ref="tag"/>
|
104
|
+
<context ref="generic-tag"/>
|
105
|
+
<context id="h2-inside" style-inside="true" style-ref="h2" end-at-line-end="true" end-parent="true">
|
106
|
+
<start>></start>
|
107
|
+
<end><\s*/h2\s*></end>
|
108
|
+
<include>
|
142
109
|
<context sub-pattern="0" where="start" style-ref="tag"/>
|
143
110
|
<context sub-pattern="0" where="end" style-ref="tag"/>
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
<context sub-pattern="0" where="start" style-ref="tag"/>
|
149
|
-
<context ref="js:js"/>
|
150
|
-
</include>
|
151
|
-
</context>
|
152
|
-
</include>
|
111
|
+
<!-- We cannot match any further here, because matching to tag will override our end-match -->
|
112
|
+
</include>
|
113
|
+
</context>
|
114
|
+
</include>
|
153
115
|
</context>
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
<
|
158
|
-
<
|
116
|
+
<context id="h3" end-at-line-end="true">
|
117
|
+
<start><\s*h3</start>
|
118
|
+
<include>
|
119
|
+
<context sub-pattern="0" where="start" style-ref="tag"/>
|
120
|
+
<context ref="generic-tag"/>
|
121
|
+
<context id="h3-inside" style-inside="true" style-ref="h3" end-at-line-end="true" end-parent="true">
|
122
|
+
<start>></start>
|
123
|
+
<end><\s*/h3\s*></end>
|
124
|
+
<include>
|
125
|
+
<context sub-pattern="0" where="start" style-ref="tag"/>
|
126
|
+
<context sub-pattern="0" where="end" style-ref="tag"/>
|
127
|
+
<!-- We cannot match any further here, because matching to tag will override our end-match -->
|
128
|
+
</include>
|
129
|
+
</context>
|
130
|
+
</include>
|
131
|
+
</context>
|
132
|
+
<context id="h4" end-at-line-end="true">
|
133
|
+
<start><\s*h4</start>
|
134
|
+
<include>
|
135
|
+
<context sub-pattern="0" where="start" style-ref="tag"/>
|
136
|
+
<context ref="generic-tag"/>
|
137
|
+
<context id="h4-inside" style-inside="true" style-ref="h4" end-at-line-end="true" end-parent="true">
|
138
|
+
<start>></start>
|
139
|
+
<end><\s*/h4\s*></end>
|
140
|
+
<include>
|
159
141
|
<context sub-pattern="0" where="start" style-ref="tag"/>
|
160
142
|
<context sub-pattern="0" where="end" style-ref="tag"/>
|
161
|
-
|
162
|
-
|
143
|
+
<!-- We cannot match any further here, because matching to tag will override our end-match -->
|
144
|
+
</include>
|
145
|
+
</context>
|
146
|
+
</include>
|
163
147
|
</context>
|
148
|
+
<context id="h5" end-at-line-end="true">
|
149
|
+
<start><\s*h5</start>
|
150
|
+
<include>
|
151
|
+
<context sub-pattern="0" where="start" style-ref="tag"/>
|
152
|
+
<context ref="generic-tag"/>
|
153
|
+
<context id="h5-inside" style-inside="true" style-ref="h5" end-at-line-end="true" end-parent="true">
|
154
|
+
<start>></start>
|
155
|
+
<end><\s*/h5\s*></end>
|
156
|
+
<include>
|
157
|
+
<context sub-pattern="0" where="start" style-ref="tag"/>
|
158
|
+
<context sub-pattern="0" where="end" style-ref="tag"/>
|
159
|
+
<!-- We cannot match any further here, because matching to tag will override our end-match -->
|
160
|
+
</include>
|
161
|
+
</context>
|
162
|
+
</include>
|
163
|
+
</context>
|
164
|
+
</include>
|
165
|
+
</context>
|
166
|
+
|
167
|
+
<define-regex id="attribute-name">[a-z0-9:_-]+</define-regex>
|
164
168
|
|
165
|
-
|
166
|
-
|
167
|
-
|
169
|
+
<context id="generic-tag">
|
170
|
+
<include>
|
171
|
+
<!-- Attribute in the form: name="value" -->
|
172
|
+
<context id="attrib-quoted" class="no-spell-check">
|
173
|
+
<start>(\%{attribute-name}\s*=\s*)(\")</start>
|
174
|
+
<include>
|
175
|
+
<context sub-pattern="1" where="start" style-ref="attrib-name"/>
|
176
|
+
<context sub-pattern="2" where="start" style-ref="attrib-value"/>
|
177
|
+
<context id="string" end-parent="true" end-at-line-end="true" style-ref="attrib-value" class="string" class-disabled="no-spell-check">
|
178
|
+
<start>\%{def:always-match}</start>
|
179
|
+
<end>\"</end>
|
180
|
+
<include>
|
168
181
|
<context ref="xml:entity"/>
|
169
182
|
<context ref="xml:character-reference"/>
|
170
|
-
<context ref="
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
183
|
+
<context ref="embedded-lang-hook"/>
|
184
|
+
</include>
|
185
|
+
</context>
|
186
|
+
</include>
|
187
|
+
</context>
|
188
|
+
|
189
|
+
<!-- Attribute in the form: name=value -->
|
190
|
+
<context id="attrib-unquoted" style-ref="attrib-value" class="no-spell-check">
|
191
|
+
<start>\%{attribute-name}\s*=\s*</start>
|
192
|
+
<end>(?=>|\s)</end>
|
193
|
+
<include>
|
194
|
+
<context sub-pattern="0" where="start" style-ref="attrib-name"/>
|
195
|
+
<context ref="xml:entity"/>
|
196
|
+
<context ref="xml:character-reference"/>
|
197
|
+
<context ref="embedded-lang-hook"/>
|
198
|
+
</include>
|
199
|
+
</context>
|
200
|
+
|
201
|
+
<!-- Attribute in the form: name -->
|
202
|
+
<context id="attrib-no-value" style-ref="attrib-name" class="no-spell-check">
|
203
|
+
<match>\%{attribute-name}</match>
|
204
|
+
</context>
|
205
|
+
|
206
|
+
<context ref="embedded-lang-hook"/>
|
207
|
+
</include>
|
208
|
+
</context>
|
209
|
+
|
210
|
+
<context id="style" class="no-spell-check">
|
211
|
+
<start><\s*style\%]</start>
|
212
|
+
<include>
|
213
|
+
<context sub-pattern="0" where="start" style-ref="tag"/>
|
214
|
+
<context ref="generic-tag"/>
|
215
|
+
|
216
|
+
<context end-parent="true" style-ref="tag">
|
217
|
+
<match>/\s*></match>
|
177
218
|
</context>
|
178
219
|
|
179
|
-
|
220
|
+
<context id="style-code" end-parent="true">
|
221
|
+
<start>></start>
|
222
|
+
<end><\s*/\s*style\s*></end>
|
223
|
+
<include>
|
224
|
+
<context sub-pattern="0" where="start" style-ref="tag"/>
|
225
|
+
<context sub-pattern="0" where="end" style-ref="tag"/>
|
226
|
+
<context ref="embedded-lang-hook"/>
|
227
|
+
<context ref="css:css"/>
|
228
|
+
</include>
|
229
|
+
</context>
|
230
|
+
</include>
|
231
|
+
</context>
|
232
|
+
|
233
|
+
<context id="script" class="no-spell-check">
|
234
|
+
<start><\s*script\%]</start>
|
235
|
+
<include>
|
236
|
+
<context sub-pattern="0" where="start" style-ref="tag"/>
|
237
|
+
<context ref="generic-tag"/>
|
238
|
+
|
239
|
+
<context end-parent="true" style-ref="tag">
|
240
|
+
<match>/\s*></match>
|
241
|
+
</context>
|
242
|
+
|
243
|
+
<context id="js-code" end-parent="true">
|
244
|
+
<start>></start>
|
245
|
+
<end><\s*/\s*script\s*></end>
|
246
|
+
<include>
|
247
|
+
<context sub-pattern="0" where="start" style-ref="tag"/>
|
248
|
+
<context sub-pattern="0" where="end" style-ref="tag"/>
|
249
|
+
<context ref="embedded-lang-hook"/>
|
250
|
+
<context ref="js:js"/>
|
251
|
+
</include>
|
252
|
+
</context>
|
253
|
+
</include>
|
254
|
+
</context>
|
255
|
+
|
256
|
+
<context id="tag" class="no-spell-check">
|
257
|
+
<start><\s*/?\s*[a-z0-9_-]+</start>
|
258
|
+
<end>/?\s*></end>
|
259
|
+
<include>
|
260
|
+
<context sub-pattern="0" where="start" style-ref="tag"/>
|
261
|
+
<context sub-pattern="0" where="end" style-ref="tag"/>
|
262
|
+
<context ref="generic-tag"/>
|
263
|
+
</include>
|
264
|
+
</context>
|
265
|
+
|
266
|
+
<context id="html">
|
267
|
+
<include>
|
268
|
+
<context ref="xml:doctype"/>
|
269
|
+
<context ref="xml:entity"/>
|
270
|
+
<context ref="xml:character-reference"/>
|
271
|
+
<context ref="xml:cdata"/>
|
272
|
+
<context ref="comment"/>
|
273
|
+
<context ref="dtd"/>
|
274
|
+
<context ref="headings"/>
|
275
|
+
<context ref="style"/>
|
276
|
+
<context ref="script"/>
|
277
|
+
<context ref="tag"/>
|
278
|
+
</include>
|
279
|
+
</context>
|
280
|
+
</definitions>
|
180
281
|
</language>
|
@@ -21,7 +21,7 @@
|
|
21
21
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
22
22
|
|
23
23
|
-->
|
24
|
-
<language id="idl" _name="IDL" version="2.0" _section="
|
24
|
+
<language id="idl" _name="IDL" version="2.0" _section="Source">
|
25
25
|
<metadata>
|
26
26
|
<property name="mimetypes">text/x-idl</property>
|
27
27
|
<property name="globs">*.idl</property>
|
@@ -20,7 +20,7 @@
|
|
20
20
|
License along with this library; if not, write to the Free Software
|
21
21
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
22
22
|
-->
|
23
|
-
<language id="ini" _name=".ini" version="2.0" _section="
|
23
|
+
<language id="ini" _name=".ini" version="2.0" _section="Other">
|
24
24
|
<metadata>
|
25
25
|
<property name="mimetypes">text/x-ini-file;application/x-ini-file</property>
|
26
26
|
<property name="globs">*.ini</property>
|
@@ -40,7 +40,7 @@
|
|
40
40
|
|
41
41
|
<definitions>
|
42
42
|
<context id="line-comment" style-ref="comment" end-at-line-end="true" class="comment" class-disabled="no-spell-check">
|
43
|
-
<start
|
43
|
+
<start>;|#</start>
|
44
44
|
</context>
|
45
45
|
<context id="group" style-ref="keyword">
|
46
46
|
<start>^\[</start>
|
@@ -21,7 +21,7 @@
|
|
21
21
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
22
22
|
|
23
23
|
-->
|
24
|
-
<language id="j" _name="J" version="2.0" _section="
|
24
|
+
<language id="j" _name="J" version="2.0" _section="Source">
|
25
25
|
<metadata>
|
26
26
|
<property name="globs">*.ijs</property>
|
27
27
|
<property name="line-comment-start">NB\.</property>
|
@@ -22,7 +22,7 @@
|
|
22
22
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
23
23
|
|
24
24
|
-->
|
25
|
-
<language id="java" _name="Java" version="2.0" _section="
|
25
|
+
<language id="java" _name="Java" version="2.0" _section="Source">
|
26
26
|
<metadata>
|
27
27
|
<property name="mimetypes">text/x-java</property>
|
28
28
|
<property name="globs">*.java</property>
|
@@ -24,7 +24,7 @@
|
|
24
24
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
25
25
|
|
26
26
|
-->
|
27
|
-
<language id="js" _name="JavaScript" version="2.0" _section="
|
27
|
+
<language id="js" _name="JavaScript" version="2.0" _section="Script">
|
28
28
|
<metadata>
|
29
29
|
<property name="mimetypes">application/javascript;application/x-javascript;text/x-javascript;text/javascript;text/x-js</property>
|
30
30
|
<property name="globs">*.js;*.node</property>
|
@@ -26,7 +26,7 @@
|
|
26
26
|
value in the doc, after a key, and between each comma in an array. Also
|
27
27
|
I'd be able to add support for displaying an error for trailing commas.
|
28
28
|
-->
|
29
|
-
<language id="json" name="JSON" version="2.0" _section="
|
29
|
+
<language id="json" name="JSON" version="2.0" _section="Other">
|
30
30
|
<metadata>
|
31
31
|
<property name="globs">*.json</property>
|
32
32
|
</metadata>
|