gtksourceview3 2.2.0-x86-mingw32 → 2.2.1-x86-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 +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
@@ -23,7 +23,7 @@
|
|
23
23
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
24
24
|
|
25
25
|
-->
|
26
|
-
<language id="objj" _name="Objective-J" version="2.0" _section="
|
26
|
+
<language id="objj" _name="Objective-J" version="2.0" _section="Source">
|
27
27
|
<metadata>
|
28
28
|
<property name="mimetypes">text/x-objective-j</property>
|
29
29
|
<property name="globs">*.j</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="ocaml" _name="OCaml" version="2.0" _section="
|
27
|
+
<language id="ocaml" _name="OCaml" version="2.0" _section="Source">
|
28
28
|
<metadata>
|
29
29
|
<property name="mimetypes">text/x-ocaml</property>
|
30
30
|
<property name="globs">*.ml;*.mli;*.mll;*.mly</property>
|
@@ -30,7 +30,7 @@
|
|
30
30
|
http://www.omg.org/technology/documents/formal/ocl.htm
|
31
31
|
-->
|
32
32
|
|
33
|
-
<language id="ocl" _name="OCL" version="2.0" _section="
|
33
|
+
<language id="ocl" _name="OCL" version="2.0" _section="Other">
|
34
34
|
<metadata>
|
35
35
|
<property name="mimetypes">text/x-ocl</property>
|
36
36
|
<property name="globs">*.ocl</property>
|
@@ -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="ooc" _name="OOC" version="2.0" _section="
|
24
|
+
<language id="ooc" _name="OOC" version="2.0" _section="Source">
|
25
25
|
<metadata>
|
26
26
|
<property name="globs">*.ooc</property>
|
27
27
|
<property name="line-comment-start">//</property>
|
@@ -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="opal" _name="Opal" version="2.0" _section="
|
24
|
+
<language id="opal" _name="Opal" version="2.0" _section="Source">
|
25
25
|
<metadata>
|
26
26
|
<property name="globs">*.sign;*.impl</property>
|
27
27
|
<property name="line-comment-start">-- </property>
|
@@ -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="opencl" _name="OpenCL" version="2.0" _section="
|
24
|
+
<language id="opencl" _name="OpenCL" version="2.0" _section="Source">
|
25
25
|
<metadata>
|
26
26
|
<property name="globs">*.cl</property>
|
27
27
|
<property name="line-comment-start">//</property>
|
@@ -5,24 +5,24 @@
|
|
5
5
|
|
6
6
|
Author: Andrew Johnson <acjgenius@earthlink.net>
|
7
7
|
Copyright (C) 2004 Andrew Johnson <acjgenius@earthlink.net>
|
8
|
-
Copyright (C) 2005 Thierry Moisan <
|
8
|
+
Copyright (C) 2005 Thierry Moisan <thierry.moisan@gmail.com>
|
9
9
|
|
10
|
-
|
11
|
-
it under the terms of the GNU General Public
|
12
|
-
the Free Software Foundation; either
|
13
|
-
(at your option) any later version.
|
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
14
|
|
15
|
-
|
15
|
+
GtkSourceView is distributed in the hope that it will be useful,
|
16
16
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
17
|
-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
18
|
-
|
17
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
18
|
+
Lesser General Public License for more details.
|
19
19
|
|
20
|
-
You should have received a copy of the GNU General Public
|
21
|
-
along with this
|
22
|
-
Foundation, Inc.,
|
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
23
|
|
24
24
|
-->
|
25
|
-
<language id="pascal" _name="Pascal" version="2.0" _section="
|
25
|
+
<language id="pascal" _name="Pascal" version="2.0" _section="Source">
|
26
26
|
<metadata>
|
27
27
|
<property name="mimetypes">text/x-pascal</property>
|
28
28
|
<property name="globs">*.p;*.pas</property>
|
@@ -23,7 +23,7 @@ TODO: extended regex support
|
|
23
23
|
FIXME: =pod should require an empty line before/after, as written in perlpod
|
24
24
|
|
25
25
|
-->
|
26
|
-
<language id="perl" _name="Perl" version="2.0" _section="
|
26
|
+
<language id="perl" _name="Perl" version="2.0" _section="Script">
|
27
27
|
<metadata>
|
28
28
|
<property name="mimetypes">text/x-perl;application/x-perl</property>
|
29
29
|
<property name="globs">*.pl;*.pm;*.al;*.perl;*.t</property>
|
@@ -6,28 +6,27 @@
|
|
6
6
|
Author: Francesco Gigli <jaramir@aruba.it>
|
7
7
|
Copyright (C) 2003 Francesco Gigli <jaramir@aruba.it>
|
8
8
|
Copyright (C) 2004 David A Knight <david@ritter.demon.co.uk>
|
9
|
-
Copyright (C) 2005 Rowan Lewis <rowanjl@gmail.com>
|
10
9
|
Copyright (C) 2006 Steve Frécinaux <steve@istique.net>
|
11
10
|
Copyright (C) 2007 Patryk Zawadzki <patrys@pld-linux.org>
|
12
11
|
Copyright (C) 2007 Eric Norige <thelema@swbell.net>
|
13
12
|
Copyright (C) 2012 Christopher Blay <chris.b.blay@gmail.com>
|
14
13
|
|
15
|
-
|
16
|
-
it under the terms of the GNU General Public
|
17
|
-
the Free Software Foundation; either
|
18
|
-
(at your option) any later version.
|
14
|
+
GtkSourceView is free software; you can redistribute it and/or
|
15
|
+
modify it under the terms of the GNU Lesser General Public
|
16
|
+
License as published by the Free Software Foundation; either
|
17
|
+
version 2.1 of the License, or (at your option) any later version.
|
19
18
|
|
20
|
-
|
19
|
+
GtkSourceView is distributed in the hope that it will be useful,
|
21
20
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
22
|
-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
23
|
-
|
21
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
22
|
+
Lesser General Public License for more details.
|
24
23
|
|
25
|
-
You should have received a copy of the GNU General Public
|
26
|
-
along with this
|
27
|
-
Foundation, Inc.,
|
24
|
+
You should have received a copy of the GNU Lesser General Public
|
25
|
+
License along with this library; if not, write to the Free Software
|
26
|
+
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
28
27
|
|
29
28
|
-->
|
30
|
-
<language id="php" _name="PHP" version="2.0" _section="
|
29
|
+
<language id="php" _name="PHP" version="2.0" _section="Script">
|
31
30
|
<metadata>
|
32
31
|
<property name="mimetypes">text/x-php;application/x-php;text/x-php-source;application/x-php-source</property>
|
33
32
|
<property name="globs">*.php;*.php3;*.php4;*.phtml</property>
|
@@ -37,6 +36,7 @@
|
|
37
36
|
</metadata>
|
38
37
|
|
39
38
|
<styles>
|
39
|
+
<style id="preprocessor" _name="Preprocessor tags" map-to="def:preprocessor"/>
|
40
40
|
<style id="comment" _name="Comment" map-to="def:comment"/>
|
41
41
|
<style id="error" _name="Error" map-to="def:error"/>
|
42
42
|
<style id="variable" _name="Variable" map-to="def:identifier"/>
|
@@ -325,8 +325,8 @@
|
|
325
325
|
<start><([?](php)?)</start>
|
326
326
|
<end>[?]></end>
|
327
327
|
<include>
|
328
|
-
<context sub-pattern="0" where="start" style-ref="
|
329
|
-
<context sub-pattern="0" where="end" style-ref="
|
328
|
+
<context sub-pattern="0" where="start" style-ref="preprocessor"/>
|
329
|
+
<context sub-pattern="0" where="end" style-ref="preprocessor"/>
|
330
330
|
<context ref="cpp-line-comment"/>
|
331
331
|
<context ref="bash-line-comment"/>
|
332
332
|
<context ref="c-block-comment"/>
|
@@ -346,7 +346,7 @@
|
|
346
346
|
<context ref="decimal-number"/>
|
347
347
|
<context ref="octal-number"/>
|
348
348
|
<context ref="hexadecimal-number"/>
|
349
|
-
|
349
|
+
<context ref="identifier"/>
|
350
350
|
</include>
|
351
351
|
</context>
|
352
352
|
|
@@ -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="pkgconfig" _name="pkg-config" version="2.0" _section="
|
24
|
+
<language id="pkgconfig" _name="pkg-config" version="2.0" _section="Other">
|
25
25
|
<metadata>
|
26
26
|
<property name="mimetypes">text/x-pkg-config</property>
|
27
27
|
<property name="globs">*.pc</property>
|
@@ -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="gettext-translation" _name="gettext translation" version="2.0" _section="
|
24
|
+
<language id="gettext-translation" _name="gettext translation" version="2.0" _section="Other">
|
25
25
|
<metadata>
|
26
26
|
<property name="mimetypes">text/x-po;text/x-pot;text/x-pox;text/x-gettext-translation;text/x-gettext-translation-template</property>
|
27
27
|
<property name="globs">*.po;*.pot</property>
|
@@ -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="prolog" _name="Prolog" version="2.0" _section="
|
24
|
+
<language id="prolog" _name="Prolog" version="2.0" _section="Source">
|
25
25
|
<metadata>
|
26
26
|
<property name="mimetypes">text/x-prolog</property>
|
27
27
|
<property name="globs">*.prolog</property>
|
@@ -15,12 +15,10 @@
|
|
15
15
|
Library General Public License for more details.
|
16
16
|
|
17
17
|
You should have received a copy of the GNU Library General Public
|
18
|
-
License along with this library; if not,
|
19
|
-
Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
20
|
-
Boston, MA 02111-1307, USA.
|
18
|
+
License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
21
19
|
|
22
20
|
-->
|
23
|
-
<language id="proto" name="Protobuf" version="2.0" _section="
|
21
|
+
<language id="proto" name="Protobuf" version="2.0" _section="Other">
|
24
22
|
<metadata>
|
25
23
|
<property name="mimetypes">text/x-protobuf</property>
|
26
24
|
<property name="globs">*.proto</property>
|
@@ -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="puppet" _name="Puppet" version="2.0" _section="
|
24
|
+
<language id="puppet" _name="Puppet" version="2.0" _section="Other">
|
25
25
|
<metadata>
|
26
26
|
<property name="globs">*.pp</property>
|
27
27
|
<property name="line-comment-start">#</property>
|
@@ -3,11 +3,12 @@
|
|
3
3
|
|
4
4
|
This file is part of GtkSourceView
|
5
5
|
|
6
|
-
Author: Gustavo Giráldez <gustavo.giraldez@gmx.net>
|
7
6
|
Copyright (C) 2003 Gustavo Giráldez <gustavo.giraldez@gmx.net>
|
8
7
|
Copyright (C) 2004 Benoît Dejean <TaZForEver@free.fr>
|
9
8
|
Copyright (C) 2006 Steve Frécinaux <nud@apinc.org>
|
10
9
|
Copyright (C) 2012 Stefano Palazzo <stefano-palazzo@ubuntu.com>
|
10
|
+
Copyright (C) 2014 Patryk Zawadzki <patrys@pld-linux.org>
|
11
|
+
Copyright (C) 2014 Sébastien Wilmet <swilmet@gnome.org>
|
11
12
|
|
12
13
|
GtkSourceView is free software; you can redistribute it and/or
|
13
14
|
modify it under the terms of the GNU Lesser General Public
|
@@ -24,7 +25,7 @@
|
|
24
25
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
25
26
|
|
26
27
|
-->
|
27
|
-
<language id="python" _name="Python" version="2.0" _section="
|
28
|
+
<language id="python" _name="Python" version="2.0" _section="Script">
|
28
29
|
<metadata>
|
29
30
|
<property name="mimetypes">text/x-python;application/x-python</property>
|
30
31
|
<property name="globs">*.py</property>
|
@@ -38,7 +39,7 @@
|
|
38
39
|
<style id="string" _name="String" map-to="def:string"/>
|
39
40
|
<style id="escaped-char" _name="Escaped Character" map-to="def:special-char"/>
|
40
41
|
<style id="format" _name="Format" map-to="def:character"/>
|
41
|
-
<style id="string-conversion" _name="
|
42
|
+
<style id="string-conversion" _name="String Conversion"/>
|
42
43
|
<style id="special-variable" _name="Special Variable" map-to="def:identifier"/>
|
43
44
|
<style id="boolean" _name="Boolean" map-to="def:boolean"/>
|
44
45
|
<style id="floating-point" _name="Floating point number" map-to="def:floating-point"/>
|
@@ -48,12 +49,22 @@
|
|
48
49
|
<style id="builtin-constant" _name="Builtin Constant" map-to="def:special-constant"/>
|
49
50
|
<style id="builtin-object" _name="Builtin Object" map-to="def:type"/>
|
50
51
|
<style id="builtin-function" _name="Builtin Function" map-to="def:builtin"/>
|
52
|
+
<style id="function-name" _name="Function Name" map-to="def:function"/>
|
53
|
+
<style id="class-name" _name="Class Name" map-to="def:function"/>
|
54
|
+
<style id="decorator" _name="Decorator" map-to="def:preprocessor"/>
|
51
55
|
</styles>
|
52
56
|
|
53
57
|
<definitions>
|
54
58
|
<define-regex id="identifier">[_a-zA-Z][_a-zA-Z0-9]*</define-regex>
|
55
59
|
<define-regex id="number">[1-9][0-9]*</define-regex>
|
56
60
|
|
61
|
+
<define-regex id="identifier-path" extended="true">
|
62
|
+
(\%{identifier}\.)*\%{identifier}
|
63
|
+
</define-regex>
|
64
|
+
<define-regex id="relative-path" extended="true">
|
65
|
+
(\.*\%{identifier-path}|\.+)
|
66
|
+
</define-regex>
|
67
|
+
|
57
68
|
<!-- http://docs.python.org/lib/typesseq-strings.html -->
|
58
69
|
<context id="format" style-ref="format" extend-parent="false">
|
59
70
|
<match extended="true">
|
@@ -202,12 +213,56 @@
|
|
202
213
|
<match>(?<![\w\.])0[xX][0-9A-Fa-f]+[lL]?(?![\w\.])</match>
|
203
214
|
</context>
|
204
215
|
|
216
|
+
<context id="module-handler-from">
|
217
|
+
<match extended="true">
|
218
|
+
(from)
|
219
|
+
\s+
|
220
|
+
(\%{relative-path})
|
221
|
+
</match>
|
222
|
+
<include>
|
223
|
+
<context sub-pattern="1" style-ref="module-handler"/>
|
224
|
+
<context sub-pattern="2" style-ref="class-name"/>
|
225
|
+
</include>
|
226
|
+
</context>
|
227
|
+
|
205
228
|
<context id="module-handler" style-ref="module-handler">
|
206
229
|
<keyword>import</keyword>
|
207
230
|
<keyword>from</keyword>
|
208
231
|
<keyword>as</keyword>
|
209
232
|
</context>
|
210
233
|
|
234
|
+
<!-- 'def' is also present in the 'keyword' context, but has a lower
|
235
|
+
priority, so 'def' is highlighted even if the function name doesn't match. -->
|
236
|
+
<context id="function-definition">
|
237
|
+
<match extended="true">
|
238
|
+
(def)
|
239
|
+
\s+
|
240
|
+
(\%{identifier})
|
241
|
+
</match>
|
242
|
+
<include>
|
243
|
+
<context sub-pattern="1" style-ref="keyword"/>
|
244
|
+
<context sub-pattern="2" style-ref="function-name"/>
|
245
|
+
</include>
|
246
|
+
</context>
|
247
|
+
|
248
|
+
<!-- 'class' is also present in the 'keyword' context, but has a lower
|
249
|
+
priority, so 'class' is highlighted even if the class name doesn't match. -->
|
250
|
+
<context id="class-definition">
|
251
|
+
<match extended="true">
|
252
|
+
(class)
|
253
|
+
\s+
|
254
|
+
(\%{identifier})
|
255
|
+
</match>
|
256
|
+
<include>
|
257
|
+
<context sub-pattern="1" style-ref="keyword"/>
|
258
|
+
<context sub-pattern="2" style-ref="class-name"/>
|
259
|
+
</include>
|
260
|
+
</context>
|
261
|
+
|
262
|
+
<context id="decorator" style-ref="decorator">
|
263
|
+
<match>@\%{identifier-path}</match>
|
264
|
+
</context>
|
265
|
+
|
211
266
|
<context id="keywords" style-ref="keyword">
|
212
267
|
<keyword>and</keyword>
|
213
268
|
<keyword>assert</keyword>
|
@@ -400,7 +455,11 @@
|
|
400
455
|
<context ref="decimal"/>
|
401
456
|
<context ref="octal"/>
|
402
457
|
<context ref="hex"/>
|
458
|
+
<context ref="module-handler-from"/>
|
403
459
|
<context ref="module-handler"/>
|
460
|
+
<context ref="function-definition"/>
|
461
|
+
<context ref="class-definition"/>
|
462
|
+
<context ref="decorator"/>
|
404
463
|
<context ref="keywords"/>
|
405
464
|
<context ref="2x-only-keywords"/>
|
406
465
|
<context ref="builtin-constants"/>
|
@@ -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="python3" _name="Python 3" version="2.0" _section="
|
24
|
+
<language id="python3" _name="Python 3" version="2.0" _section="Script">
|
25
25
|
<metadata>
|
26
26
|
<property name="globs">*.py3</property>
|
27
27
|
<property name="line-comment-start">#</property>
|
@@ -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="rpmspec" _name="RPM spec" version="2.0" _section="
|
24
|
+
<language id="rpmspec" _name="RPM spec" version="2.0" _section="Other">
|
25
25
|
<metadata>
|
26
26
|
<property name="mimetypes">text/x-rpm-spec</property>
|
27
27
|
<property name="globs">*.spec</property>
|
@@ -124,6 +124,8 @@
|
|
124
124
|
<keyword>configure</keyword>
|
125
125
|
<keyword>make</keyword>
|
126
126
|
<keyword>makeinstall</keyword>
|
127
|
+
<keyword>make_install</keyword>
|
128
|
+
<keyword>make_build</keyword>
|
127
129
|
<keyword>dir</keyword>
|
128
130
|
<keyword>ghost</keyword>
|
129
131
|
<keyword>patch[0-9]+</keyword>
|
@@ -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>
|
@@ -24,10 +24,10 @@
|
|
24
24
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
25
25
|
|
26
26
|
-->
|
27
|
-
<language id="ruby" _name="Ruby" version="2.0" _section="
|
27
|
+
<language id="ruby" _name="Ruby" version="2.0" _section="Script">
|
28
28
|
<metadata>
|
29
29
|
<property name="mimetypes">application/x-ruby;text/x-ruby</property>
|
30
|
-
<property name="globs">*.rb;*.rake;Rakefile;Capfile;Gemfile</property>
|
30
|
+
<property name="globs">*.rb;*.rake;*.gemspec;Rakefile;Capfile;Gemfile</property>
|
31
31
|
<property name="line-comment-start">#</property>
|
32
32
|
</metadata>
|
33
33
|
|
@@ -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="scala" _name="Scala" version="2.0" _section="
|
25
|
+
<language id="scala" _name="Scala" version="2.0" _section="Source">
|
26
26
|
|
27
27
|
<metadata>
|
28
28
|
<property name="mimetypes">text/x-scala</property>
|
@@ -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="scheme" _name="Scheme" version="2.0" _section="
|
24
|
+
<language id="scheme" _name="Scheme" version="2.0" _section="Source">
|
25
25
|
<metadata>
|
26
26
|
<property name="mimetypes">text/x-scheme</property>
|
27
27
|
<property name="globs">*.scm</property>
|
@@ -22,10 +22,10 @@
|
|
22
22
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
23
23
|
|
24
24
|
-->
|
25
|
-
<language id="sh" _name="sh" version="2.0" _section="
|
25
|
+
<language id="sh" _name="sh" version="2.0" _section="Script">
|
26
26
|
<metadata>
|
27
27
|
<property name="mimetypes">text/x-shellscript;application/x-shellscript;text/x-sh</property>
|
28
|
-
<property name="globs">*.sh</property>
|
28
|
+
<property name="globs">*.sh;*bashrc;.profile;.bash_profile</property>
|
29
29
|
<property name="line-comment-start">#</property>
|
30
30
|
</metadata>
|
31
31
|
|
@@ -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="sml" _name="Standard ML" version="2.0" _section="
|
24
|
+
<language id="sml" _name="Standard ML" version="2.0" _section="Source">
|
25
25
|
<metadata>
|
26
26
|
<property name="globs">*.sml;*.sig</property>
|
27
27
|
<property name="block-comment-start">(*</property>
|
@@ -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="sparql" _name="SPARQL" version="2.0" _section="
|
24
|
+
<language id="sparql" _name="SPARQL" version="2.0" _section="Source">
|
25
25
|
|
26
26
|
<metadata>
|
27
27
|
<property name="mimetypes">application/sparql-query</property>
|
@@ -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="sql" _name="SQL" version="2.0" _section="
|
24
|
+
<language id="sql" _name="SQL" version="2.0" _section="Source">
|
25
25
|
<metadata>
|
26
26
|
<property name="mimetypes">text/x-sql</property>
|
27
27
|
<property name="globs">*.sql</property>
|