gtksourceview3 2.0.0-x86-mingw32 → 2.0.1-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/lib/2.0/gtksourceview3.so +0 -0
- data/vendor/local/bin/libgtksourceview-3.0-1.dll +0 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/completion-providers/words/gtksourcecompletionwords.h +0 -1
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcebuffer.h +0 -4
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletion.h +18 -5
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletioncontext.h +8 -7
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletioninfo.h +2 -1
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletionitem.h +1 -2
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletionproposal.h +21 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletionprovider.h +28 -9
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutter.h +0 -3
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutterrenderer.h +0 -2
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcelanguage.h +0 -2
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcelanguagemanager.h +0 -1
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcemarkattributes.h +0 -2
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceprintcompositor.h +0 -1
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestylescheme.h +0 -1
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyleschememanager.h +1 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcetypes.h +0 -9
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceview.h +1 -11
- 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/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/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/eo/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/es/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/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/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/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/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/ta/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/tg/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ug/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_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/gtk-doc/html/gtksourceview-3.0/GtkSourceBuffer.html +204 -165
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletion.html +216 -86
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionContext.html +45 -37
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionInfo.html +82 -31
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionItem.html +47 -43
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProposal.html +111 -33
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProvider.html +182 -46
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionWords.html +245 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutter.html +99 -39
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRenderer.html +1312 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererPixbuf.html +247 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererText.html +171 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguage.html +50 -50
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguageManager.html +37 -37
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMark.html +38 -38
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMarkAttributes.html +75 -74
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourcePrintCompositor.html +175 -175
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyle.html +34 -34
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleScheme.html +31 -31
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeManager.html +26 -26
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceUndoManager.html +24 -24
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceView.html +163 -137
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/annotation-glossary.html +21 -31
- 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-deprecated.html +19 -4
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-full.html +212 -44
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch01.html +98 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch02.html +47 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0.devhelp2 +111 -61
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/index.html +14 -10
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/index.sgml +128 -60
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-reference.html +26 -26
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-tutorial.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/object-tree.html +64 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/style-reference.html +6 -6
- data/vendor/local/share/gtksourceview-3.0/language-specs/R.lang +2082 -13
- data/vendor/local/share/gtksourceview-3.0/language-specs/bluespec.lang +188 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/def.lang +2 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/idl-exelis.lang +620 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/latex.lang +277 -233
- data/vendor/local/share/gtksourceview-3.0/language-specs/modelica.lang +262 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/ocaml.lang +4 -4
- data/vendor/local/share/gtksourceview-3.0/language-specs/perl.lang +26 -9
- data/vendor/local/share/gtksourceview-3.0/language-specs/php.lang +2 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/ruby.lang +192 -33
- data/vendor/local/share/gtksourceview-3.0/language-specs/verilog.lang +12 -0
- data/vendor/local/share/gtksourceview-3.0/styles/classic.xml +6 -3
- data/vendor/local/share/gtksourceview-3.0/styles/cobalt.xml +1 -0
- data/vendor/local/share/gtksourceview-3.0/styles/kate.xml +5 -3
- data/vendor/local/share/gtksourceview-3.0/styles/oblivion.xml +4 -2
- data/vendor/local/share/gtksourceview-3.0/styles/tango.xml +1 -0
- metadata +18 -6
@@ -46,255 +46,299 @@
|
|
46
46
|
</styles>
|
47
47
|
|
48
48
|
<definitions>
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
49
|
+
<context id="common-commands" style-ref="common-commands" class="no-spell-check">
|
50
|
+
<prefix>\\</prefix>
|
51
|
+
<!-- We need to special case "_" since it is not considered a
|
52
|
+
boundary but it is allowed in latex -->
|
53
|
+
<suffix>(\b|(?=_))</suffix>
|
54
|
+
<keyword>Alpha</keyword>
|
55
|
+
<keyword>Beta</keyword>
|
56
|
+
<keyword>Chi</keyword>
|
57
|
+
<keyword>Delta</keyword>
|
58
|
+
<keyword>Epsilon</keyword>
|
59
|
+
<keyword>Eta</keyword>
|
60
|
+
<keyword>Gamma</keyword>
|
61
|
+
<keyword>Iota</keyword>
|
62
|
+
<keyword>Kappa</keyword>
|
63
|
+
<keyword>Lambda</keyword>
|
64
|
+
<keyword>Leftarrow</keyword>
|
65
|
+
<keyword>Leftrightarrow</keyword>
|
66
|
+
<keyword>Mu</keyword>
|
67
|
+
<keyword>Nu</keyword>
|
68
|
+
<keyword>Omega</keyword>
|
69
|
+
<keyword>Phi</keyword>
|
70
|
+
<keyword>Pi</keyword>
|
71
|
+
<keyword>Psi</keyword>
|
72
|
+
<keyword>Rho</keyword>
|
73
|
+
<keyword>Rightarrow</keyword>
|
74
|
+
<keyword>Sigma</keyword>
|
75
|
+
<keyword>Tau</keyword>
|
76
|
+
<keyword>Zeta</keyword>
|
77
|
+
<keyword>alpha</keyword>
|
78
|
+
<keyword>appendix</keyword>
|
79
|
+
<keyword>begin</keyword>
|
80
|
+
<keyword>beta</keyword>
|
81
|
+
<keyword>bigcap</keyword>
|
82
|
+
<keyword>bigcup</keyword>
|
83
|
+
<keyword>cap</keyword>
|
84
|
+
<keyword>cdot</keyword>
|
85
|
+
<keyword>chapter</keyword>
|
86
|
+
<keyword>chi</keyword>
|
87
|
+
<keyword>cite</keyword>
|
88
|
+
<keyword>cup</keyword>
|
89
|
+
<keyword>delta</keyword>
|
90
|
+
<keyword>documentclass</keyword>
|
91
|
+
<keyword>end</keyword>
|
92
|
+
<keyword>enumi</keyword>
|
93
|
+
<keyword>enumii</keyword>
|
94
|
+
<keyword>enumiii</keyword>
|
95
|
+
<keyword>enumiv</keyword>
|
96
|
+
<keyword>epsilon</keyword>
|
97
|
+
<keyword>equation</keyword>
|
98
|
+
<keyword>eta</keyword>
|
99
|
+
<keyword>exists</keyword>
|
100
|
+
<keyword>figure</keyword>
|
101
|
+
<keyword>footnote</keyword>
|
102
|
+
<keyword>footnotemark</keyword>
|
103
|
+
<keyword>footnotetext</keyword>
|
104
|
+
<keyword>forall</keyword>
|
105
|
+
<keyword>gamma</keyword>
|
106
|
+
<keyword>geq</keyword>
|
107
|
+
<keyword>in</keyword>
|
108
|
+
<keyword>int</keyword>
|
109
|
+
<keyword>iota</keyword>
|
110
|
+
<keyword>kappa</keyword>
|
111
|
+
<keyword>label</keyword>
|
112
|
+
<keyword>lambda</keyword>
|
113
|
+
<keyword>ldots</keyword>
|
114
|
+
<keyword>leftarrow</keyword>
|
115
|
+
<keyword>leq</keyword>
|
116
|
+
<keyword>mpfootnote</keyword>
|
117
|
+
<keyword>mu</keyword>
|
118
|
+
<keyword>neq</keyword>
|
119
|
+
<keyword>newcommand</keyword>
|
120
|
+
<keyword>newenvironment</keyword>
|
121
|
+
<keyword>newfont</keyword>
|
122
|
+
<keyword>newtheorem</keyword>
|
123
|
+
<keyword>not</keyword>
|
124
|
+
<keyword>notin</keyword>
|
125
|
+
<keyword>nu</keyword>
|
126
|
+
<keyword>omega</keyword>
|
127
|
+
<keyword>onecolumn</keyword>
|
128
|
+
<keyword>page</keyword>
|
129
|
+
<keyword>pageref</keyword>
|
130
|
+
<keyword>paragraph</keyword>
|
131
|
+
<keyword>part</keyword>
|
132
|
+
<keyword>phi</keyword>
|
133
|
+
<keyword>pi</keyword>
|
134
|
+
<keyword>prod</keyword>
|
135
|
+
<keyword>psi</keyword>
|
136
|
+
<keyword>qquad</keyword>
|
137
|
+
<keyword>quad</keyword>
|
138
|
+
<keyword>ref</keyword>
|
139
|
+
<keyword>rho</keyword>
|
140
|
+
<keyword>rightarrow</keyword>
|
141
|
+
<keyword>section</keyword>
|
142
|
+
<keyword>setminus</keyword>
|
143
|
+
<keyword>sigma</keyword>
|
144
|
+
<keyword>subparagraph</keyword>
|
145
|
+
<keyword>subsection</keyword>
|
146
|
+
<keyword>subset</keyword>
|
147
|
+
<keyword>subseteq</keyword>
|
148
|
+
<keyword>subsetneq</keyword>
|
149
|
+
<keyword>subsubsection</keyword>
|
150
|
+
<keyword>subsubsubsection</keyword>
|
151
|
+
<keyword>sum</keyword>
|
152
|
+
<keyword>supset</keyword>
|
153
|
+
<keyword>supseteq</keyword>
|
154
|
+
<keyword>supsetneq</keyword>
|
155
|
+
<keyword>table</keyword>
|
156
|
+
<keyword>tau</keyword>
|
157
|
+
<keyword>times</keyword>
|
158
|
+
<keyword>twocolumn</keyword>
|
159
|
+
<keyword>varepsilon</keyword>
|
160
|
+
<keyword>varphi</keyword>
|
161
|
+
<keyword>zeta</keyword>
|
162
|
+
</context>
|
163
163
|
|
164
|
-
|
165
|
-
|
166
|
-
|
164
|
+
<context id="specials-symbol" style-ref="command" class="no-spell-check">
|
165
|
+
<prefix>\\</prefix>
|
166
|
+
<suffix></suffix>
|
167
167
|
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
168
|
+
<keyword>\$</keyword>
|
169
|
+
<keyword>&</keyword>
|
170
|
+
<keyword>%</keyword>
|
171
|
+
<keyword>#</keyword>
|
172
|
+
<keyword>_</keyword>
|
173
|
+
<keyword>\{</keyword>
|
174
|
+
<keyword>\}</keyword>
|
175
|
+
<keyword>~</keyword>
|
176
|
+
<keyword>\^</keyword>
|
177
|
+
<keyword>\\</keyword>
|
178
|
+
</context>
|
179
179
|
|
180
|
-
|
181
|
-
|
182
|
-
|
180
|
+
<context id="command" style-ref="command" class="no-spell-check">
|
181
|
+
<match>\\[a-zA-Z]+</match>
|
182
|
+
</context>
|
183
183
|
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
184
|
+
<context id="in-math" class="no-spell-check">
|
185
|
+
<include>
|
186
|
+
<context ref="common-commands"/>
|
187
|
+
<context ref="specials-symbol"/>
|
188
|
+
<context ref="command"/>
|
189
|
+
</include>
|
190
|
+
</context>
|
191
191
|
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
192
|
+
<context id="in-inline-math" class="no-spell-check">
|
193
|
+
<include>
|
194
|
+
<context ref="common-commands"/>
|
195
|
+
<context ref="specials-symbol"/>
|
196
|
+
<context ref="command"/>
|
197
|
+
</include>
|
198
|
+
</context>
|
199
199
|
|
200
|
-
|
201
|
-
|
200
|
+
<context id="comment" style-ref="comment">
|
201
|
+
<start>%</start>
|
202
|
+
<end>$</end>
|
203
|
+
<include>
|
204
|
+
<context ref="def:in-comment"/>
|
205
|
+
</include>
|
206
|
+
</context>
|
202
207
|
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
208
|
+
<context id="verbatim-comment" style-ref="comment" class="no-spell-check">
|
209
|
+
<start>\\begin\{comment\}</start>
|
210
|
+
<end>\\end\{comment\}</end>
|
211
|
+
<include>
|
212
|
+
<context ref="def:in-comment"/>
|
213
|
+
</include>
|
214
|
+
</context>
|
210
215
|
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
216
|
+
<context id="math-1" style-ref="math" class="no-spell-check">
|
217
|
+
<start>\$\$</start>
|
218
|
+
<end>\$\$</end>
|
219
|
+
<include>
|
220
|
+
<context sub-pattern="0" where="start" style-ref="math-bound"/>
|
221
|
+
<context sub-pattern="0" where="end" style-ref="math-bound"/>
|
222
|
+
<context ref="in-math"/>
|
223
|
+
</include>
|
224
|
+
</context>
|
218
225
|
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
226
|
+
<context id="math-2" style-ref="math" class="no-spell-check">
|
227
|
+
<start>\\\[</start>
|
228
|
+
<end>\\\]</end>
|
229
|
+
<include>
|
230
|
+
<context sub-pattern="0" where="start" style-ref="math-bound"/>
|
231
|
+
<context sub-pattern="0" where="end" style-ref="math-bound"/>
|
232
|
+
<context ref="in-math"/>
|
233
|
+
</include>
|
234
|
+
</context>
|
228
235
|
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
236
|
+
<context id="inline-math-1" style-ref="inline-math" class="no-spell-check">
|
237
|
+
<start>\$</start>
|
238
|
+
<end>\$</end>
|
239
|
+
<include>
|
240
|
+
<context sub-pattern="0" where="start" style-ref="math-bound"/>
|
241
|
+
<context sub-pattern="0" where="end" style-ref="math-bound"/>
|
242
|
+
<context ref="in-inline-math"/>
|
243
|
+
</include>
|
244
|
+
</context>
|
238
245
|
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
246
|
+
<context id="inline-math-2" style-ref="inline-math" class="no-spell-check">
|
247
|
+
<start>\\\(</start>
|
248
|
+
<end>\\\)</end>
|
249
|
+
<include>
|
250
|
+
<context sub-pattern="0" where="start" style-ref="math-bound"/>
|
251
|
+
<context sub-pattern="0" where="end" style-ref="math-bound"/>
|
252
|
+
<context ref="in-inline-math"/>
|
253
|
+
</include>
|
254
|
+
</context>
|
248
255
|
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
</context>
|
256
|
+
<context id="verbatim-env" style-inside="true" style-ref="verbatim" class-disabled="no-spell-check">
|
257
|
+
<start>(\\begin)\{(verbatim\*?|lstlisting|alltt)\}</start>
|
258
|
+
<end>(\\end)\{\%{2@start}\}</end>
|
259
|
+
<include>
|
260
|
+
<context sub-pattern="1" where="start" style-ref="common-commands" class="no-spell-check"/>
|
261
|
+
<context sub-pattern="1" where="end" style-ref="common-commands" class="no-spell-check"/>
|
262
|
+
</include>
|
263
|
+
</context>
|
258
264
|
|
259
|
-
|
260
|
-
|
261
|
-
\\begin\{
|
262
|
-
(
|
263
|
-
verbatim\*?|
|
264
|
-
lstlisting|
|
265
|
-
alltt
|
266
|
-
)
|
267
|
-
\}
|
268
|
-
</start>
|
269
|
-
<end>\\end\{\%{1@start}\}</end>
|
270
|
-
<include>
|
271
|
-
<context sub-pattern="0" where="start" class="no-spell-check"/>
|
272
|
-
<context sub-pattern="0" where="end" class="no-spell-check"/>
|
273
|
-
</include>
|
274
|
-
</context>
|
265
|
+
<!--using brackets is an experimental feature from the listings package. The
|
266
|
+
following must support these cases:
|
275
267
|
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
268
|
+
\lstinline[]{code in here}
|
269
|
+
\lstinline[key=val, key=val]{code in here}
|
270
|
+
\lstinline[key=val, key=val]!code in here!
|
271
|
+
\lstinline[]!code in here!
|
272
|
+
\lstinline[][code in here[
|
273
|
+
\lstinline[NOT code in here, must specify empty optional argument to use square brackets[
|
274
|
+
\lstinline{code in here}
|
275
|
+
\lstinline{code in {here} but NOT in here} % brackets do not nest
|
276
|
+
\lstinline!code in here!
|
277
|
+
\lstinline=code in here=
|
278
|
+
\lstinline{this needs to fail{
|
284
279
|
|
285
|
-
|
286
|
-
|
280
|
+
If using \verb instead of \lstinline, the brackets cannot be used
|
281
|
+
-->
|
282
|
+
<context id="lstinline-curly-brackets" style-inside="true" style-ref="verbatim" class-disabled="no-spell-check">
|
283
|
+
<start>(\\lstinline)(\[.*?\])?{</start>
|
284
|
+
<end>}</end>
|
285
|
+
<include>
|
286
|
+
<context sub-pattern="1" where="start" style-ref="command" class="no-spell-check"/>
|
287
|
+
</include>
|
288
|
+
</context>
|
289
|
+
<context id="lstinline-square-brackets" style-inside="true" style-ref="verbatim" class-disabled="no-spell-check">
|
290
|
+
<!-- square brackets don't match with the pair, and they require an
|
291
|
+
optional argument, even if empty -->
|
292
|
+
<start>(\\lstinline)(\[.*?\])\[</start>
|
293
|
+
<end>\[</end>
|
294
|
+
<include>
|
295
|
+
<context sub-pattern="1" where="start" style-ref="command" class="no-spell-check"/>
|
296
|
+
</include>
|
297
|
+
</context>
|
298
|
+
<context id="lstinline" style-inside="true" style-ref="verbatim" class-disabled="no-spell-check">
|
299
|
+
<start>(\\lstinline)(\[.*?\])?((?!\[)\S)</start> <!-- ignore when starting with [ -->
|
300
|
+
<end>\%{3@start}</end>
|
301
|
+
<include>
|
302
|
+
<context sub-pattern="1" where="start" style-ref="command" class="no-spell-check"/>
|
303
|
+
</include>
|
304
|
+
</context>
|
305
|
+
<!-- If using \verb instead of \lstinline, the brackets cannot be used -->
|
306
|
+
<context id="verbatim-inline" style-inside="true" style-ref="verbatim" class-disabled="no-spell-check">
|
307
|
+
<start>(\\verb)\*?(\S)</start>
|
308
|
+
<end>\%{2@start}</end>
|
309
|
+
<include>
|
310
|
+
<context sub-pattern="1" where="start" style-ref="command" class="no-spell-check"/>
|
311
|
+
</include>
|
312
|
+
</context>
|
287
313
|
|
288
|
-
<keyword>input</keyword>
|
289
|
-
<keyword>include</keyword>
|
290
|
-
<keyword>includeonly</keyword>
|
291
|
-
<keyword>usepackage</keyword>
|
292
|
-
</context>
|
293
314
|
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
315
|
+
<context id="include" style-ref="include" class="no-spell-check">
|
316
|
+
<prefix>\\</prefix>
|
317
|
+
|
318
|
+
<keyword>input</keyword>
|
319
|
+
<keyword>include</keyword>
|
320
|
+
<keyword>includeonly</keyword>
|
321
|
+
<keyword>usepackage</keyword>
|
322
|
+
</context>
|
323
|
+
|
324
|
+
<context id="latex">
|
325
|
+
<include>
|
326
|
+
<context ref="comment"/>
|
327
|
+
<context ref="verbatim-comment"/>
|
328
|
+
<context ref="math-1"/>
|
329
|
+
<context ref="math-2"/>
|
330
|
+
<context ref="inline-math-1"/>
|
331
|
+
<context ref="inline-math-2"/>
|
332
|
+
<context ref="verbatim-env"/>
|
333
|
+
<context ref="lstinline-curly-brackets"/>
|
334
|
+
<context ref="lstinline-square-brackets"/>
|
335
|
+
<context ref="lstinline"/>
|
336
|
+
<context ref="verbatim-inline"/>
|
337
|
+
<context ref="include"/>
|
338
|
+
<context ref="common-commands"/>
|
339
|
+
<context ref="specials-symbol"/>
|
340
|
+
<context ref="command"/>
|
341
|
+
</include>
|
342
|
+
</context>
|
299
343
|
</definitions>
|
300
344
|
</language>
|