gtksourceview3 2.2.5-x64-mingw32 → 3.0.0-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +3 -4
- data/lib/gtksourceview3/loader.rb +46 -0
- data/lib/gtksourceview3/mark-attributes.rb +29 -0
- data/lib/gtksourceview3.rb +47 -12
- data/test/run-test.rb +2 -0
- data/test/{test_mark_attributes.rb → test-mark-attributes.rb} +1 -1
- data/test/{test_source_gutter_renderer.rb → test-source-gutter-renderer.rb} +0 -0
- data/test/{test_source_language_manager.rb → test-source-language-manager.rb} +6 -6
- data/test/{test_source_view.rb → test-source-view.rb} +1 -1
- data/vendor/local/bin/libgtksourceview-3.0-1.dll +0 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksource.h +3 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcebuffer.h +4 -5
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletioncontext.h +1 -1
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutter.h +0 -3
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcesearchcontext.h +5 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestylescheme.h +5 -4
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyleschemechooser.h +60 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyleschemechooserbutton.h +56 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyleschemechooserwidget.h +56 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcetypes.h +13 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceview-typebuiltins.h +5 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceview.h +41 -14
- 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/bs/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/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/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/gl/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/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/kk/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/nb/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_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/tr/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 +501 -39
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceBuffer.html +186 -132
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletion.html +55 -55
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionContext.html +29 -23
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionInfo.html +39 -39
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionItem.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProposal.html +22 -22
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProvider.html +35 -35
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionWords.html +14 -14
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceEncoding.html +19 -19
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFile.html +19 -19
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFileLoader.html +26 -26
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFileSaver.html +32 -32
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutter.html +28 -28
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRenderer.html +141 -133
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererPixbuf.html +14 -14
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererText.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguage.html +26 -26
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguageManager.html +17 -17
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMark.html +18 -18
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMarkAttributes.html +42 -42
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourcePrintCompositor.html +89 -89
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSearchContext.html +155 -56
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSearchSettings.html +23 -23
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyle.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleScheme.html +17 -19
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeChooser.html +215 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeChooserButton.html +129 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeChooserWidget.html +129 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeManager.html +18 -18
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceUndoManager.html +27 -26
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceView.html +751 -327
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/annotation-glossary.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-0.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-10.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-12.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-14.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-16.html +107 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-4.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-deprecated.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-full.html +89 -1
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch01.html +9 -90
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch02.html +25 -16
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch03.html +53 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch04.html +44 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch05.html +50 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch06.html +33 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch07.html +38 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch08.html +38 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-GtkSourceUtils.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0.devhelp2 +253 -161
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/index.html +57 -25
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/index.sgml +295 -190
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-reference.html +73 -30
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-tutorial.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/object-tree.html +13 -9
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/pt01.html +153 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/pt02.html +50 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/style-reference.html +3 -3
- data/vendor/local/share/gtksourceview-3.0/language-specs/c.lang +4 -4
- data/vendor/local/share/gtksourceview-3.0/language-specs/cmake.lang +234 -125
- data/vendor/local/share/gtksourceview-3.0/language-specs/css.lang +1 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/cuda.lang +247 -257
- data/vendor/local/share/gtksourceview-3.0/language-specs/fortran.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/genie.lang +238 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/java.lang +4 -3
- data/vendor/local/share/gtksourceview-3.0/language-specs/javascript.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/json.lang +3 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/lua.lang +150 -5
- data/vendor/local/share/gtksourceview-3.0/language-specs/matlab.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/octave.lang +1008 -172
- data/vendor/local/share/gtksourceview-3.0/language-specs/pig.lang +283 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/protobuf.lang +2 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/thrift.lang +267 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/xslt.lang +13 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/yacc.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/styles/classic.xml +2 -0
- data/vendor/local/share/gtksourceview-3.0/styles/cobalt.xml +3 -0
- data/vendor/local/share/gtksourceview-3.0/styles/kate.xml +1 -0
- data/vendor/local/share/gtksourceview-3.0/styles/oblivion.xml +3 -0
- data/vendor/local/share/gtksourceview-3.0/styles/solarized-dark.xml +3 -1
- data/vendor/local/share/gtksourceview-3.0/styles/solarized-light.xml +3 -1
- data/vendor/local/share/gtksourceview-3.0/styles/tango.xml +2 -0
- data/vendor/local/share/license/gtksourceview/AUTHORS +7 -5
- metadata +43 -35
- data/ext/gtksourceview3/depend +0 -6
- data/ext/gtksourceview3/extconf.rb +0 -67
- data/ext/gtksourceview3/gtksourceview3.def +0 -2
- data/ext/gtksourceview3/rbgtksource.c +0 -53
- data/ext/gtksourceview3/rbgtksourcebuffer.c +0 -318
- data/ext/gtksourceview3/rbgtksourcegutter.c +0 -82
- data/ext/gtksourceview3/rbgtksourcegutterrenderer.c +0 -143
- data/ext/gtksourceview3/rbgtksourcegutterrendererpixbuf.c +0 -42
- data/ext/gtksourceview3/rbgtksourcegutterrenderertext.c +0 -40
- data/ext/gtksourceview3/rbgtksourcelanguage.c +0 -124
- data/ext/gtksourceview3/rbgtksourcelanguagemanager.c +0 -114
- data/ext/gtksourceview3/rbgtksourcemark.c +0 -85
- data/ext/gtksourceview3/rbgtksourcemarkattributes.c +0 -77
- data/ext/gtksourceview3/rbgtksourceprintcompositor.c +0 -171
- data/ext/gtksourceview3/rbgtksourcestyle.c +0 -42
- data/ext/gtksourceview3/rbgtksourcestylescheme.c +0 -72
- data/ext/gtksourceview3/rbgtksourcestyleschememanager.c +0 -140
- data/ext/gtksourceview3/rbgtksourceundomanager.c +0 -83
- data/ext/gtksourceview3/rbgtksourceview.c +0 -94
- data/ext/gtksourceview3/rbgtksourceview3conversions.h +0 -50
- data/ext/gtksourceview3/rbgtksourceview3private.h +0 -53
- data/extconf.rb +0 -49
- 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/sample/sourcelanguagemanager.rb +0 -21
- data/sample/test.rb +0 -32
@@ -0,0 +1,238 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!--
|
3
|
+
|
4
|
+
This file is part of GtkSourceView
|
5
|
+
|
6
|
+
Author: Jamie McCracken jamiemcc gnome org
|
7
|
+
Copyright (C) 2008 Jamie McCracken jamiemcc gnome org
|
8
|
+
|
9
|
+
GtkSourceView is free software; you can redistribute it and/or
|
10
|
+
modify it under the terms of the GNU Lesser General Public
|
11
|
+
License as published by the Free Software Foundation; either
|
12
|
+
version 2.1 of the License, or (at your option) any later version.
|
13
|
+
|
14
|
+
GtkSourceView is distributed in the hope that it will be useful,
|
15
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
16
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
17
|
+
Lesser General Public License for more details.
|
18
|
+
|
19
|
+
You should have received a copy of the GNU Lesser General Public
|
20
|
+
License along with this library; if not, write to the Free Software
|
21
|
+
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
22
|
+
|
23
|
+
-->
|
24
|
+
<language id="genie" _name="Genie" version="2.0" _section="Source">
|
25
|
+
<metadata>
|
26
|
+
<property name="mimetypes">text/x-genie</property>
|
27
|
+
<property name="globs">*.gs</property>
|
28
|
+
<property name="line-comment-start">//</property>
|
29
|
+
<property name="block-comment-start">/*</property>
|
30
|
+
<property name="block-comment-end">*/</property>
|
31
|
+
</metadata>
|
32
|
+
|
33
|
+
<styles>
|
34
|
+
<style id="comment" _name="Comment" map-to="def:comment"/>
|
35
|
+
<style id="multiline-string" _name="Multiline string" map-to="def:string"/>
|
36
|
+
<style id="string" _name="String" map-to="def:string"/>
|
37
|
+
<style id="regex" _name="Regular Expression" map-to="def:string"/>
|
38
|
+
<style id="namespace" _name="Namespace" map-to="def:preprocessor"/>
|
39
|
+
<style id="type" _name="Data Type" map-to="def:type"/>
|
40
|
+
<style id="definition" _name="Definition" map-to="def:keyword"/>
|
41
|
+
<style id="keyword" _name="Keyword" map-to="def:keyword"/>
|
42
|
+
<style id="special-variable" _name="Special Variable" map-to="def:identifier"/>
|
43
|
+
<style id="null-value" _name="Null Value" map-to="def:special-constant"/>
|
44
|
+
<style id="boolean" _name="Boolean" map-to="def:boolean"/>
|
45
|
+
<style id="number" _name="Number" map-to="def:number"/>
|
46
|
+
<style id="builtin" _name="Builtin Function" map-to="def:builtin"/>
|
47
|
+
<style id="printf" _name="printf Conversion" map-to="def:special-char"/>
|
48
|
+
</styles>
|
49
|
+
|
50
|
+
<definitions>
|
51
|
+
|
52
|
+
<context id="multiline-string" style-ref="multiline-string" class-disabled="no-spell-check">
|
53
|
+
<start>"""</start>
|
54
|
+
<end>"""</end>
|
55
|
+
<include>
|
56
|
+
<context ref="def:escape"/>
|
57
|
+
</include>
|
58
|
+
</context>
|
59
|
+
|
60
|
+
<context id="double-quoted-string" style-ref="string" end-at-line-end="true" class-disabled="no-spell-check">
|
61
|
+
<start>"</start>
|
62
|
+
<end>"</end>
|
63
|
+
<include>
|
64
|
+
<context ref="c:printf"/>
|
65
|
+
<context ref="def:escape"/>
|
66
|
+
<context ref="def:line-continue"/>
|
67
|
+
</include>
|
68
|
+
</context>
|
69
|
+
|
70
|
+
<context id="single-quoted-string" style-ref="string" end-at-line-end="true" class-disabled="no-spell-check">
|
71
|
+
<start>'</start>
|
72
|
+
<end>'</end>
|
73
|
+
<include>
|
74
|
+
<context ref="def:escape"/>
|
75
|
+
<context ref="def:line-continue"/>
|
76
|
+
</include>
|
77
|
+
</context>
|
78
|
+
|
79
|
+
<context id="regex" style-ref="regex" end-at-line-end="true">
|
80
|
+
<start>/(?!/)</start>
|
81
|
+
<end>/</end>
|
82
|
+
</context>
|
83
|
+
|
84
|
+
<context id="namespace" style-ref="namespace">
|
85
|
+
<keyword>uses</keyword>
|
86
|
+
<keyword>namespace</keyword>
|
87
|
+
</context>
|
88
|
+
|
89
|
+
<context id="primitives" style-ref="type">
|
90
|
+
<keyword>bool</keyword>
|
91
|
+
<keyword>byte</keyword>
|
92
|
+
<keyword>char</keyword>
|
93
|
+
<keyword>date</keyword>
|
94
|
+
<keyword>datetime</keyword>
|
95
|
+
<keyword>decimal</keyword>
|
96
|
+
<keyword>double</keyword>
|
97
|
+
<keyword>float</keyword>
|
98
|
+
<keyword>int</keyword>
|
99
|
+
<keyword>long</keyword>
|
100
|
+
<keyword>object</keyword>
|
101
|
+
<keyword>sbyte</keyword>
|
102
|
+
<keyword>short</keyword>
|
103
|
+
<keyword>single</keyword>
|
104
|
+
<keyword>string</keyword>
|
105
|
+
<keyword>ulong</keyword>
|
106
|
+
<keyword>ushort</keyword>
|
107
|
+
</context>
|
108
|
+
|
109
|
+
<context id="definitions" style-ref="definition">
|
110
|
+
<keyword>const</keyword>
|
111
|
+
<keyword>class</keyword>
|
112
|
+
<keyword>construct</keyword>
|
113
|
+
<keyword>def</keyword>
|
114
|
+
<keyword>delegate</keyword>
|
115
|
+
<keyword>enum</keyword>
|
116
|
+
<keyword>exception</keyword>
|
117
|
+
<keyword>extern</keyword>
|
118
|
+
<keyword>event</keyword>
|
119
|
+
<keyword>final</keyword>
|
120
|
+
<keyword>get</keyword>
|
121
|
+
<keyword>init</keyword>
|
122
|
+
<keyword>inline</keyword>
|
123
|
+
<keyword>interface</keyword>
|
124
|
+
<keyword>override</keyword>
|
125
|
+
<keyword>prop</keyword>
|
126
|
+
<keyword>return</keyword>
|
127
|
+
<keyword>set</keyword>
|
128
|
+
<keyword>static</keyword>
|
129
|
+
<keyword>struct</keyword>
|
130
|
+
<keyword>var</keyword>
|
131
|
+
<keyword>virtual</keyword>
|
132
|
+
<keyword>weak</keyword>
|
133
|
+
</context>
|
134
|
+
|
135
|
+
<context id="keywords" style-ref="keyword">
|
136
|
+
<keyword>abstract</keyword>
|
137
|
+
<keyword>as</keyword>
|
138
|
+
<keyword>and</keyword>
|
139
|
+
<keyword>break</keyword>
|
140
|
+
<keyword>case</keyword>
|
141
|
+
<keyword>cast</keyword>
|
142
|
+
<keyword>continue</keyword>
|
143
|
+
<keyword>default</keyword>
|
144
|
+
<keyword>delete</keyword>
|
145
|
+
<keyword>div</keyword>
|
146
|
+
<keyword>do</keyword>
|
147
|
+
<keyword>downto</keyword>
|
148
|
+
<keyword>dynamic</keyword>
|
149
|
+
<keyword>else</keyword>
|
150
|
+
<keyword>ensures</keyword>
|
151
|
+
<keyword>except</keyword>
|
152
|
+
<keyword>extern</keyword>
|
153
|
+
<keyword>finally</keyword>
|
154
|
+
<keyword>for</keyword>
|
155
|
+
<keyword>if</keyword>
|
156
|
+
<keyword>implements</keyword>
|
157
|
+
<keyword>in</keyword>
|
158
|
+
<keyword>isa</keyword>
|
159
|
+
<keyword>is</keyword>
|
160
|
+
<keyword>lock</keyword>
|
161
|
+
<keyword>new</keyword>
|
162
|
+
<keyword>not</keyword>
|
163
|
+
<keyword>of</keyword>
|
164
|
+
<keyword>out</keyword>
|
165
|
+
<keyword>or</keyword>
|
166
|
+
<keyword>otherwise</keyword>
|
167
|
+
<keyword>pass</keyword>
|
168
|
+
<keyword>private</keyword>
|
169
|
+
<keyword>raise</keyword>
|
170
|
+
<keyword>raises</keyword>
|
171
|
+
<keyword>readonly</keyword>
|
172
|
+
<keyword>ref</keyword>
|
173
|
+
<keyword>requires</keyword>
|
174
|
+
<keyword>to</keyword>
|
175
|
+
<keyword>try</keyword>
|
176
|
+
<keyword>unless</keyword>
|
177
|
+
<keyword>when</keyword>
|
178
|
+
<keyword>while</keyword>
|
179
|
+
</context>
|
180
|
+
|
181
|
+
<context id="special-variables" style-ref="special-variable">
|
182
|
+
<keyword>self</keyword>
|
183
|
+
<keyword>super</keyword>
|
184
|
+
</context>
|
185
|
+
|
186
|
+
<context id="null-value" style-ref="null-value">
|
187
|
+
<keyword>null</keyword>
|
188
|
+
</context>
|
189
|
+
|
190
|
+
<context id="boolean" style-ref="boolean">
|
191
|
+
<keyword>false</keyword>
|
192
|
+
<keyword>true</keyword>
|
193
|
+
</context>
|
194
|
+
|
195
|
+
<context id="numbers" style-ref="number">
|
196
|
+
<match extended="true">
|
197
|
+
(?<![\w\.])
|
198
|
+
[0-9][0-9\.]*(m|ms|d|h|s|f|F|l|L)?
|
199
|
+
(?![\w\.])
|
200
|
+
</match>
|
201
|
+
</context>
|
202
|
+
|
203
|
+
<context id="builtins" style-ref="builtin">
|
204
|
+
<keyword>array</keyword>
|
205
|
+
<keyword>assert</keyword>
|
206
|
+
<keyword>dict</keyword>
|
207
|
+
<keyword>list</keyword>
|
208
|
+
<keyword>max</keyword>
|
209
|
+
<keyword>min</keyword>
|
210
|
+
<keyword>print</keyword>
|
211
|
+
<keyword>prop</keyword>
|
212
|
+
<keyword>sizeof</keyword>
|
213
|
+
<keyword>typeof</keyword>
|
214
|
+
</context>
|
215
|
+
|
216
|
+
<context id="genie" class="no-spell-check">
|
217
|
+
<include>
|
218
|
+
<context ref="def:shell-like-comment" style-ref="comment"/>
|
219
|
+
<context ref="def:c-like-comment" style-ref="comment"/>
|
220
|
+
<context ref="def:c-like-comment-multiline" style-ref="comment"/>
|
221
|
+
<context ref="multiline-string"/>
|
222
|
+
<context ref="double-quoted-string"/>
|
223
|
+
<context ref="single-quoted-string"/>
|
224
|
+
<context ref="regex"/>
|
225
|
+
<context ref="namespace"/>
|
226
|
+
<context ref="primitives"/>
|
227
|
+
<context ref="definitions"/>
|
228
|
+
<context ref="keywords"/>
|
229
|
+
<context ref="special-variables"/>
|
230
|
+
<context ref="null-value"/>
|
231
|
+
<context ref="boolean"/>
|
232
|
+
<context ref="numbers"/>
|
233
|
+
<context ref="builtins"/>
|
234
|
+
</include>
|
235
|
+
</context>
|
236
|
+
|
237
|
+
</definitions>
|
238
|
+
</language>
|
@@ -32,6 +32,7 @@
|
|
32
32
|
</metadata>
|
33
33
|
|
34
34
|
<styles>
|
35
|
+
<style id="comment" _name="Comment" map-to="def:comment"/>
|
35
36
|
<style id="escaped-character" _name="Escaped Character" map-to="def:special-char"/>
|
36
37
|
<style id="string" _name="String" map-to="def:string"/>
|
37
38
|
<style id="char" _name="Character" map-to="def:character"/>
|
@@ -167,11 +168,11 @@
|
|
167
168
|
|
168
169
|
<context id="java" class="no-spell-check">
|
169
170
|
<include>
|
171
|
+
<context ref="def:c-like-comment" style-ref="comment"/>
|
172
|
+
<context ref="def:c-like-comment-multiline" style-ref="comment"/>
|
173
|
+
<context ref="def:c-like-close-comment-outside-comment"/>
|
170
174
|
<context ref="string"/>
|
171
175
|
<context ref="char"/>
|
172
|
-
<context ref="def:c-like-comment"/>
|
173
|
-
<context ref="def:c-like-comment-multiline"/>
|
174
|
-
<context ref="def:c-like-close-comment-outside-comment"/>
|
175
176
|
<context ref="externals"/>
|
176
177
|
<context ref="declarations"/>
|
177
178
|
<context ref="primitive-types"/>
|
@@ -1,5 +1,6 @@
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
2
|
<!--
|
3
|
+
|
3
4
|
This file is part of GtkSourceView
|
4
5
|
|
5
6
|
Author: Sapphire Becker <guess@logicplace.com>
|
@@ -28,7 +29,8 @@
|
|
28
29
|
-->
|
29
30
|
<language id="json" name="JSON" version="2.0" _section="Other">
|
30
31
|
<metadata>
|
31
|
-
<property name="
|
32
|
+
<property name="mimetypes">application/json</property>
|
33
|
+
<property name="globs">*.json;*.geojson;*.topojson</property>
|
32
34
|
</metadata>
|
33
35
|
|
34
36
|
<styles>
|
@@ -36,6 +36,7 @@
|
|
36
36
|
<style id="keyword" _name="Keyword" map-to="def:keyword"/>
|
37
37
|
<style id="escape" _name="Escaped Character" map-to="def:special-char"/>
|
38
38
|
<style id="reserved" _name="Reserved Identifier" map-to="def:keyword"/>
|
39
|
+
<style id="label" _name="Label" map-to="def:keyword"/>
|
39
40
|
<style id="function" _name="Function" map-to="def:function"/>
|
40
41
|
<style id="nil-value" _name="Nil Constant" map-to="def:special-constant"/>
|
41
42
|
<style id="boolean" _name="Boolean value" map-to="def:boolean"/>
|
@@ -43,7 +44,11 @@
|
|
43
44
|
|
44
45
|
<definitions>
|
45
46
|
<context id="lua-escape" style-ref="escape">
|
46
|
-
<match>\\(\d
|
47
|
+
<match>\\(\d{1,3}|a|b|f|n|r|t|u{[0-9a-fA-F]+?}|v|x[0-9a-fA-F]{2}|z|\\|"|'|\[|\])</match>
|
48
|
+
</context>
|
49
|
+
|
50
|
+
<context id="label" style-ref="label">
|
51
|
+
<match>\:\:[A-Za-z_][A-Za-z0-9_]*\:\:</match>
|
47
52
|
</context>
|
48
53
|
|
49
54
|
<context id="string" style-ref="string" end-at-line-end="true" class="string" class-disabled="no-spell-check">
|
@@ -84,6 +89,7 @@
|
|
84
89
|
<keyword>end</keyword>
|
85
90
|
<keyword>for</keyword>
|
86
91
|
<keyword>function</keyword>
|
92
|
+
<keyword>goto</keyword>
|
87
93
|
<keyword>if</keyword>
|
88
94
|
<keyword>in</keyword>
|
89
95
|
<keyword>local</keyword>
|
@@ -98,31 +104,169 @@
|
|
98
104
|
|
99
105
|
<context id="functions" style-ref="function">
|
100
106
|
<keyword>assert</keyword>
|
107
|
+
<keyword>bit32\.arshift</keyword>
|
108
|
+
<keyword>bit32\.band</keyword>
|
109
|
+
<keyword>bit32\.bnot</keyword>
|
110
|
+
<keyword>bit32\.bor</keyword>
|
111
|
+
<keyword>bit32\.btest</keyword>
|
112
|
+
<keyword>bit32\.bxor</keyword>
|
113
|
+
<keyword>bit32\.extract</keyword>
|
114
|
+
<keyword>bit32\.lrotate</keyword>
|
115
|
+
<keyword>bit32\.lshift</keyword>
|
116
|
+
<keyword>bit32\.replace</keyword>
|
117
|
+
<keyword>bit32\.rrotate</keyword>
|
118
|
+
<keyword>bit32\.rshift</keyword>
|
101
119
|
<keyword>collectgarbage</keyword>
|
120
|
+
<keyword>coroutine\.create</keyword>
|
121
|
+
<keyword>coroutine\.resume</keyword>
|
122
|
+
<keyword>coroutine\.running</keyword>
|
123
|
+
<keyword>coroutine\.status</keyword>
|
124
|
+
<keyword>coroutine\.wrap</keyword>
|
125
|
+
<keyword>coroutine\.yield</keyword>
|
126
|
+
<keyword>debug\.debug</keyword>
|
127
|
+
<keyword>debug\.gethook</keyword>
|
128
|
+
<keyword>debug\.getinfo</keyword>
|
129
|
+
<keyword>debug\.getlocal</keyword>
|
130
|
+
<keyword>debug\.getmetatable</keyword>
|
131
|
+
<keyword>debug\.getregistry</keyword>
|
132
|
+
<keyword>debug\.getupvalue</keyword>
|
133
|
+
<keyword>debug\.getuservalue</keyword>
|
134
|
+
<keyword>debug\.sethook</keyword>
|
135
|
+
<keyword>debug\.setlocal</keyword>
|
136
|
+
<keyword>debug\.setmetatable</keyword>
|
137
|
+
<keyword>debug\.setupvalue</keyword>
|
138
|
+
<keyword>debug\.setuservalue</keyword>
|
139
|
+
<keyword>debug\.traceback</keyword>
|
140
|
+
<keyword>debug\.upvalueid</keyword>
|
141
|
+
<keyword>debug\.upvaluejoin</keyword>
|
102
142
|
<keyword>dofile</keyword>
|
103
143
|
<keyword>error</keyword>
|
104
|
-
<keyword>getfenv</keyword>
|
105
144
|
<keyword>getmetatable</keyword>
|
106
|
-
<keyword>
|
145
|
+
<keyword>io\.close</keyword>
|
146
|
+
<keyword>io\.flush</keyword>
|
147
|
+
<keyword>io\.input</keyword>
|
148
|
+
<keyword>io\.lines</keyword>
|
149
|
+
<keyword>io\.open</keyword>
|
150
|
+
<keyword>io\.output</keyword>
|
151
|
+
<keyword>io\.popen</keyword>
|
152
|
+
<keyword>io\.read</keyword>
|
153
|
+
<keyword>io\.tmpfile</keyword>
|
154
|
+
<keyword>io\.type</keyword>
|
155
|
+
<keyword>io\.write</keyword>
|
107
156
|
<keyword>ipairs</keyword>
|
157
|
+
<keyword>load</keyword>
|
108
158
|
<keyword>loadfile</keyword>
|
109
|
-
<keyword>loadlib</keyword>
|
110
159
|
<keyword>loadstring</keyword>
|
160
|
+
<keyword>math\.abs</keyword>
|
161
|
+
<keyword>math\.acos</keyword>
|
162
|
+
<keyword>math\.asin</keyword>
|
163
|
+
<keyword>math\.atan</keyword>
|
164
|
+
<keyword>math\.atan2</keyword>
|
165
|
+
<keyword>math\.ceil</keyword>
|
166
|
+
<keyword>math\.cos</keyword>
|
167
|
+
<keyword>math\.cosh</keyword>
|
168
|
+
<keyword>math\.deg</keyword>
|
169
|
+
<keyword>math\.exp</keyword>
|
170
|
+
<keyword>math\.floor</keyword>
|
171
|
+
<keyword>math\.fmod</keyword>
|
172
|
+
<keyword>math\.frexp</keyword>
|
173
|
+
<keyword>math\.ldexp</keyword>
|
174
|
+
<keyword>math\.log</keyword>
|
175
|
+
<keyword>math\.log10</keyword>
|
176
|
+
<keyword>math\.max</keyword>
|
177
|
+
<keyword>math\.min</keyword>
|
178
|
+
<keyword>math\.modf</keyword>
|
179
|
+
<keyword>math\.pow</keyword>
|
180
|
+
<keyword>math\.rad</keyword>
|
181
|
+
<keyword>math\.random</keyword>
|
182
|
+
<keyword>math\.randomseed</keyword>
|
183
|
+
<keyword>math\.sin</keyword>
|
184
|
+
<keyword>math\.sinh</keyword>
|
185
|
+
<keyword>math\.sqrt</keyword>
|
186
|
+
<keyword>math\.tan</keyword>
|
187
|
+
<keyword>math\.tanh</keyword>
|
188
|
+
<keyword>module</keyword>
|
111
189
|
<keyword>next</keyword>
|
190
|
+
<keyword>os\.clock</keyword>
|
191
|
+
<keyword>os\.date</keyword>
|
192
|
+
<keyword>os\.difftime</keyword>
|
193
|
+
<keyword>os\.execute</keyword>
|
194
|
+
<keyword>os\.exit</keyword>
|
195
|
+
<keyword>os\.getenv</keyword>
|
196
|
+
<keyword>os\.remove</keyword>
|
197
|
+
<keyword>os\.rename</keyword>
|
198
|
+
<keyword>os\.setlocale</keyword>
|
199
|
+
<keyword>os\.time</keyword>
|
200
|
+
<keyword>os\.tmpname</keyword>
|
201
|
+
<keyword>package\.loadlib</keyword>
|
202
|
+
<keyword>package\.searchpath</keyword>
|
203
|
+
<keyword>package\.seeall</keyword>
|
112
204
|
<keyword>pairs</keyword>
|
113
205
|
<keyword>pcall</keyword>
|
114
206
|
<keyword>print</keyword>
|
115
207
|
<keyword>rawequal</keyword>
|
116
208
|
<keyword>rawget</keyword>
|
209
|
+
<keyword>rawlen</keyword>
|
117
210
|
<keyword>rawset</keyword>
|
118
211
|
<keyword>require</keyword>
|
119
|
-
<keyword>
|
212
|
+
<keyword>select</keyword>
|
120
213
|
<keyword>setmetatable</keyword>
|
214
|
+
<keyword>string\.byte</keyword>
|
215
|
+
<keyword>string\.char</keyword>
|
216
|
+
<keyword>string\.dump</keyword>
|
217
|
+
<keyword>string\.find</keyword>
|
218
|
+
<keyword>string\.format</keyword>
|
219
|
+
<keyword>string\.gmatch</keyword>
|
220
|
+
<keyword>string\.gsub</keyword>
|
221
|
+
<keyword>string\.len</keyword>
|
222
|
+
<keyword>string\.lower</keyword>
|
223
|
+
<keyword>string\.match</keyword>
|
224
|
+
<keyword>string\.rep</keyword>
|
225
|
+
<keyword>string\.reverse</keyword>
|
226
|
+
<keyword>string\.sub</keyword>
|
227
|
+
<keyword>string\.upper</keyword>
|
228
|
+
<keyword>table\.concat</keyword>
|
229
|
+
<keyword>table\.insert</keyword>
|
230
|
+
<keyword>table\.maxn</keyword>
|
231
|
+
<keyword>table\.pack</keyword>
|
232
|
+
<keyword>table\.remove</keyword>
|
233
|
+
<keyword>table\.sort</keyword>
|
234
|
+
<keyword>table\.unpack</keyword>
|
121
235
|
<keyword>tonumber</keyword>
|
122
236
|
<keyword>tostring</keyword>
|
123
237
|
<keyword>type</keyword>
|
124
238
|
<keyword>unpack</keyword>
|
125
239
|
<keyword>xpcall</keyword>
|
240
|
+
|
241
|
+
<!-- Lua <= 5.1 -->
|
242
|
+
<keyword>getfenv</keyword>
|
243
|
+
<keyword>gcinfo</keyword>
|
244
|
+
<keyword>loadlib</keyword>
|
245
|
+
<keyword>setfenv</keyword>
|
246
|
+
|
247
|
+
<!-- table mode -->
|
248
|
+
<keyword>__mode</keyword>
|
249
|
+
|
250
|
+
<!-- metamethods -->
|
251
|
+
<keyword>__index</keyword>
|
252
|
+
<keyword>__newindex</keyword>
|
253
|
+
<keyword>__mode</keyword>
|
254
|
+
<keyword>__call</keyword>
|
255
|
+
<keyword>__metatable</keyword>
|
256
|
+
<keyword>__tostring</keyword>
|
257
|
+
<keyword>__len</keyword>
|
258
|
+
<keyword>__gc</keyword>
|
259
|
+
<keyword>__unm</keyword>
|
260
|
+
<keyword>__add</keyword>
|
261
|
+
<keyword>__sub</keyword>
|
262
|
+
<keyword>__mul</keyword>
|
263
|
+
<keyword>__div</keyword>
|
264
|
+
<keyword>__mod</keyword>
|
265
|
+
<keyword>__pow</keyword>
|
266
|
+
<keyword>__concat</keyword>
|
267
|
+
<keyword>__eq</keyword>
|
268
|
+
<keyword>__lt</keyword>
|
269
|
+
<keyword>__le</keyword>
|
126
270
|
</context>
|
127
271
|
|
128
272
|
<context id="lua-reserved" style-ref="reserved">
|
@@ -142,6 +286,7 @@
|
|
142
286
|
<include>
|
143
287
|
<context ref="def:shebang"/>
|
144
288
|
<context ref="multi-line-string"/>
|
289
|
+
<context ref="label"/>
|
145
290
|
<context ref="string"/>
|
146
291
|
<context ref="block-comment"/>
|
147
292
|
<context ref="line-comment"/>
|
@@ -25,7 +25,7 @@
|
|
25
25
|
-->
|
26
26
|
<language id="matlab" _name="Matlab" version="2.0" _section="Scientific">
|
27
27
|
<metadata>
|
28
|
-
<property name="mimetypes">text/x-
|
28
|
+
<property name="mimetypes">text/x-matlab</property>
|
29
29
|
<property name="globs">*.m</property>
|
30
30
|
<property name="line-comment-start">%</property>
|
31
31
|
<property name="block-comment-start">%{</property>
|