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.
Files changed (116) hide show
  1. data/Rakefile +1 -1
  2. data/lib/2.0/gtksourceview3.so +0 -0
  3. data/vendor/local/bin/libgtksourceview-3.0-1.dll +0 -0
  4. data/vendor/local/include/gtksourceview-3.0/gtksourceview/completion-providers/words/gtksourcecompletionwords.h +0 -1
  5. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcebuffer.h +0 -4
  6. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletion.h +18 -5
  7. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletioncontext.h +8 -7
  8. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletioninfo.h +2 -1
  9. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletionitem.h +1 -2
  10. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletionproposal.h +21 -0
  11. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletionprovider.h +28 -9
  12. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutter.h +0 -3
  13. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutterrenderer.h +0 -2
  14. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcelanguage.h +0 -2
  15. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcelanguagemanager.h +0 -1
  16. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcemarkattributes.h +0 -2
  17. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceprintcompositor.h +0 -1
  18. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestylescheme.h +0 -1
  19. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyleschememanager.h +1 -0
  20. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcetypes.h +0 -9
  21. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceview.h +1 -11
  22. data/vendor/local/lib/libgtksourceview-3.0.dll.a +0 -0
  23. data/vendor/local/lib/libgtksourceview-3.0.la +3 -3
  24. data/vendor/local/lib/locale/as/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  25. data/vendor/local/lib/locale/be/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  26. data/vendor/local/lib/locale/bg/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  27. data/vendor/local/lib/locale/ca/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  28. data/vendor/local/lib/locale/ca@valencia/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  29. data/vendor/local/lib/locale/cs/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  30. data/vendor/local/lib/locale/da/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  31. data/vendor/local/lib/locale/de/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  32. data/vendor/local/lib/locale/el/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  33. data/vendor/local/lib/locale/eo/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  34. data/vendor/local/lib/locale/es/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  35. data/vendor/local/lib/locale/eu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  36. data/vendor/local/lib/locale/fi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  37. data/vendor/local/lib/locale/fr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  38. data/vendor/local/lib/locale/gl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  39. data/vendor/local/lib/locale/he/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  40. data/vendor/local/lib/locale/hi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  41. data/vendor/local/lib/locale/hu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  42. data/vendor/local/lib/locale/id/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  43. data/vendor/local/lib/locale/it/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  44. data/vendor/local/lib/locale/ja/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  45. data/vendor/local/lib/locale/ko/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  46. data/vendor/local/lib/locale/lt/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  47. data/vendor/local/lib/locale/lv/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  48. data/vendor/local/lib/locale/nb/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  49. data/vendor/local/lib/locale/pa/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  50. data/vendor/local/lib/locale/pl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  51. data/vendor/local/lib/locale/pt/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  52. data/vendor/local/lib/locale/pt_BR/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  53. data/vendor/local/lib/locale/ru/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  54. data/vendor/local/lib/locale/sk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  55. data/vendor/local/lib/locale/sl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  56. data/vendor/local/lib/locale/sr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  57. data/vendor/local/lib/locale/sr@latin/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  58. data/vendor/local/lib/locale/ta/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  59. data/vendor/local/lib/locale/tg/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  60. data/vendor/local/lib/locale/ug/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  61. data/vendor/local/lib/locale/vi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  62. data/vendor/local/lib/locale/zh_HK/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  63. data/vendor/local/lib/locale/zh_TW/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  64. data/vendor/local/lib/pkgconfig/gtksourceview-3.0.pc +2 -2
  65. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceBuffer.html +204 -165
  66. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletion.html +216 -86
  67. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionContext.html +45 -37
  68. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionInfo.html +82 -31
  69. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionItem.html +47 -43
  70. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProposal.html +111 -33
  71. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProvider.html +182 -46
  72. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionWords.html +245 -0
  73. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutter.html +99 -39
  74. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRenderer.html +1312 -0
  75. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererPixbuf.html +247 -0
  76. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererText.html +171 -0
  77. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguage.html +50 -50
  78. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguageManager.html +37 -37
  79. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMark.html +38 -38
  80. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMarkAttributes.html +75 -74
  81. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourcePrintCompositor.html +175 -175
  82. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyle.html +34 -34
  83. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleScheme.html +31 -31
  84. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeManager.html +26 -26
  85. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceUndoManager.html +24 -24
  86. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceView.html +163 -137
  87. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/annotation-glossary.html +21 -31
  88. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-0.html +1 -1
  89. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-deprecated.html +19 -4
  90. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-full.html +212 -44
  91. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch01.html +98 -0
  92. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch02.html +47 -0
  93. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0.devhelp2 +111 -61
  94. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/index.html +14 -10
  95. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/index.sgml +128 -60
  96. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-reference.html +26 -26
  97. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-tutorial.html +6 -6
  98. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/object-tree.html +64 -0
  99. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/style-reference.html +6 -6
  100. data/vendor/local/share/gtksourceview-3.0/language-specs/R.lang +2082 -13
  101. data/vendor/local/share/gtksourceview-3.0/language-specs/bluespec.lang +188 -0
  102. data/vendor/local/share/gtksourceview-3.0/language-specs/def.lang +2 -0
  103. data/vendor/local/share/gtksourceview-3.0/language-specs/idl-exelis.lang +620 -0
  104. data/vendor/local/share/gtksourceview-3.0/language-specs/latex.lang +277 -233
  105. data/vendor/local/share/gtksourceview-3.0/language-specs/modelica.lang +262 -0
  106. data/vendor/local/share/gtksourceview-3.0/language-specs/ocaml.lang +4 -4
  107. data/vendor/local/share/gtksourceview-3.0/language-specs/perl.lang +26 -9
  108. data/vendor/local/share/gtksourceview-3.0/language-specs/php.lang +2 -0
  109. data/vendor/local/share/gtksourceview-3.0/language-specs/ruby.lang +192 -33
  110. data/vendor/local/share/gtksourceview-3.0/language-specs/verilog.lang +12 -0
  111. data/vendor/local/share/gtksourceview-3.0/styles/classic.xml +6 -3
  112. data/vendor/local/share/gtksourceview-3.0/styles/cobalt.xml +1 -0
  113. data/vendor/local/share/gtksourceview-3.0/styles/kate.xml +5 -3
  114. data/vendor/local/share/gtksourceview-3.0/styles/oblivion.xml +4 -2
  115. data/vendor/local/share/gtksourceview-3.0/styles/tango.xml +1 -0
  116. metadata +18 -6
@@ -46,255 +46,299 @@
46
46
  </styles>
47
47
 
48
48
  <definitions>
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>
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
- <context id="specials-symbol" style-ref="command" class="no-spell-check">
165
- <prefix>\\</prefix>
166
- <suffix></suffix>
164
+ <context id="specials-symbol" style-ref="command" class="no-spell-check">
165
+ <prefix>\\</prefix>
166
+ <suffix></suffix>
167
167
 
168
- <keyword>\$</keyword>
169
- <keyword>&amp;</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>
168
+ <keyword>\$</keyword>
169
+ <keyword>&amp;</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
- <context id="command" style-ref="command" class="no-spell-check">
181
- <match>\\[a-zA-Z]+</match>
182
- </context>
180
+ <context id="command" style-ref="command" class="no-spell-check">
181
+ <match>\\[a-zA-Z]+</match>
182
+ </context>
183
183
 
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>
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
- <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>
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
- <context id="latex">
201
- <include>
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
- <context id="comment" style-ref="comment">
204
- <start>%</start>
205
- <end>$</end>
206
- <include>
207
- <context ref="def:in-comment"/>
208
- </include>
209
- </context>
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
- <context id="verbatim-comment" style-ref="comment" class="no-spell-check">
212
- <start>\\begin\{comment\}</start>
213
- <end>\\end\{comment\}</end>
214
- <include>
215
- <context ref="def:in-comment"/>
216
- </include>
217
- </context>
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
- <context id="math-1" style-ref="math" class="no-spell-check">
220
- <start>\$\$</start>
221
- <end>\$\$</end>
222
- <include>
223
- <context sub-pattern="0" where="start" style-ref="math-bound"/>
224
- <context sub-pattern="0" where="end" style-ref="math-bound"/>
225
- <context ref="in-math"/>
226
- </include>
227
- </context>
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
- <context id="math-2" style-ref="math" class="no-spell-check">
230
- <start>\\\[</start>
231
- <end>\\\]</end>
232
- <include>
233
- <context sub-pattern="0" where="start" style-ref="math-bound"/>
234
- <context sub-pattern="0" where="end" style-ref="math-bound"/>
235
- <context ref="in-math"/>
236
- </include>
237
- </context>
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
- <context id="inline-math-1" style-ref="inline-math" class="no-spell-check">
240
- <start>\$</start>
241
- <end>\$</end>
242
- <include>
243
- <context sub-pattern="0" where="start" style-ref="math-bound"/>
244
- <context sub-pattern="0" where="end" style-ref="math-bound"/>
245
- <context ref="in-inline-math"/>
246
- </include>
247
- </context>
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
- <context id="inline-math-2" style-ref="inline-math" class="no-spell-check">
250
- <start>\\\(</start>
251
- <end>\\\)</end>
252
- <include>
253
- <context sub-pattern="0" where="start" style-ref="math-bound"/>
254
- <context sub-pattern="0" where="end" style-ref="math-bound"/>
255
- <context ref="in-inline-math"/>
256
- </include>
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
- <context id="verbatim-env" style-ref="verbatim" class-disabled="no-spell-check">
260
- <start extended="true">
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
- <context id="verbatim-inline" style-ref="verbatim" class-disabled="no-spell-check">
277
- <start>\\(verb\*?|lstinline)(\S)</start>
278
- <end>\%{2@start}</end>
279
- <include>
280
- <context sub-pattern="0" where="start" class="no-spell-check"/>
281
- <context sub-pattern="0" where="end" class="no-spell-check"/>
282
- </include>
283
- </context>
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
- <context id="include" style-ref="include" class="no-spell-check">
286
- <prefix>\\</prefix>
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
- <context ref="common-commands"/>
295
- <context ref="specials-symbol"/>
296
- <context ref="command"/>
297
- </include>
298
- </context>
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>