Bayeux 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (238) hide show
  1. data/.hgrc +2 -0
  2. data/.rvmrc +27 -0
  3. data/Gemfile +42 -0
  4. data/Gemfile.lock +42 -0
  5. data/HISTORY +63 -0
  6. data/README.rdoc +19 -0
  7. data/Rakefile +89 -0
  8. data/VERSION +1 -0
  9. data/bib/Modules.bib +21 -0
  10. data/code/render/latex/active4d.render +132 -0
  11. data/code/render/latex/all_hallows_eve.render +96 -0
  12. data/code/render/latex/amy.render +171 -0
  13. data/code/render/latex/blackboard.render +111 -0
  14. data/code/render/latex/brilliance_black.render +552 -0
  15. data/code/render/latex/brilliance_dull.render +561 -0
  16. data/code/render/latex/cobalt.render +162 -0
  17. data/code/render/latex/dawn.render +126 -0
  18. data/code/render/latex/eiffel.render +132 -0
  19. data/code/render/latex/espresso_libre.render +123 -0
  20. data/code/render/latex/idle.render +93 -0
  21. data/code/render/latex/iplastic.render +99 -0
  22. data/code/render/latex/lazy.render +96 -0
  23. data/code/render/latex/mac_classic.render +135 -0
  24. data/code/render/latex/magicwb_amiga.render +117 -0
  25. data/code/render/latex/pastels_on_dark.render +204 -0
  26. data/code/render/latex/slush_poppies.render +123 -0
  27. data/code/render/latex/spacecadet.render +81 -0
  28. data/code/render/latex/sunburst.render +186 -0
  29. data/code/render/latex/twilight.render +153 -0
  30. data/code/render/latex/zenburnesque.render +126 -0
  31. data/code/render/old/txt2tags.render +131 -0
  32. data/code/render/xhtml/active4d.render +140 -0
  33. data/code/render/xhtml/all_hallows_eve.render +104 -0
  34. data/code/render/xhtml/amy.render +179 -0
  35. data/code/render/xhtml/blackboard.render +119 -0
  36. data/code/render/xhtml/brilliance_black.render +560 -0
  37. data/code/render/xhtml/brilliance_dull.render +569 -0
  38. data/code/render/xhtml/cobalt.render +170 -0
  39. data/code/render/xhtml/dawn.render +134 -0
  40. data/code/render/xhtml/eiffel.render +140 -0
  41. data/code/render/xhtml/espresso_libre.render +131 -0
  42. data/code/render/xhtml/files/css/active4d.css +114 -0
  43. data/code/render/xhtml/files/css/all_hallows_eve.css +72 -0
  44. data/code/render/xhtml/files/css/amy.css +147 -0
  45. data/code/render/xhtml/files/css/blackboard.css +88 -0
  46. data/code/render/xhtml/files/css/brilliance_black.css +605 -0
  47. data/code/render/xhtml/files/css/brilliance_dull.css +599 -0
  48. data/code/render/xhtml/files/css/cobalt.css +149 -0
  49. data/code/render/xhtml/files/css/dawn.css +121 -0
  50. data/code/render/xhtml/files/css/eiffel.css +121 -0
  51. data/code/render/xhtml/files/css/espresso_libre.css +109 -0
  52. data/code/render/xhtml/files/css/idle.css +62 -0
  53. data/code/render/xhtml/files/css/iplastic.css +80 -0
  54. data/code/render/xhtml/files/css/lazy.css +73 -0
  55. data/code/render/xhtml/files/css/mac_classic.css +123 -0
  56. data/code/render/xhtml/files/css/magicwb_amiga.css +104 -0
  57. data/code/render/xhtml/files/css/pastels_on_dark.css +188 -0
  58. data/code/render/xhtml/files/css/slush_poppies.css +85 -0
  59. data/code/render/xhtml/files/css/spacecadet.css +51 -0
  60. data/code/render/xhtml/files/css/sunburst.css +180 -0
  61. data/code/render/xhtml/files/css/twilight.css +137 -0
  62. data/code/render/xhtml/files/css/zenburnesque.css +91 -0
  63. data/code/render/xhtml/idle.render +101 -0
  64. data/code/render/xhtml/iplastic.render +107 -0
  65. data/code/render/xhtml/lazy.render +104 -0
  66. data/code/render/xhtml/mac_classic.render +143 -0
  67. data/code/render/xhtml/magicwb_amiga.render +125 -0
  68. data/code/render/xhtml/pastels_on_dark.render +212 -0
  69. data/code/render/xhtml/slush_poppies.render +131 -0
  70. data/code/render/xhtml/spacecadet.render +89 -0
  71. data/code/render/xhtml/sunburst.render +194 -0
  72. data/code/render/xhtml/twilight.render +161 -0
  73. data/code/render/xhtml/zenburnesque.render +134 -0
  74. data/code/syntax/actionscript.syntax +97 -0
  75. data/code/syntax/active4d.syntax +276 -0
  76. data/code/syntax/active4d_html.syntax +311 -0
  77. data/code/syntax/active4d_ini.syntax +50 -0
  78. data/code/syntax/active4d_library.syntax +21 -0
  79. data/code/syntax/ada.syntax +33 -0
  80. data/code/syntax/antlr.syntax +151 -0
  81. data/code/syntax/apache.syntax +191 -0
  82. data/code/syntax/applescript.syntax +384 -0
  83. data/code/syntax/asp.syntax +70 -0
  84. data/code/syntax/asp_vb.net.syntax +129 -0
  85. data/code/syntax/bibtex.syntax +151 -0
  86. data/code/syntax/blog_html.syntax +41 -0
  87. data/code/syntax/blog_markdown.syntax +42 -0
  88. data/code/syntax/blog_text.syntax +27 -0
  89. data/code/syntax/blog_textile.syntax +27 -0
  90. data/code/syntax/build.syntax +53 -0
  91. data/code/syntax/bulletin_board.syntax +287 -0
  92. data/code/syntax/cake.syntax +55 -0
  93. data/code/syntax/camlp4.syntax +36 -0
  94. data/code/syntax/cm.syntax +32 -0
  95. data/code/syntax/coldfusion.syntax +119 -0
  96. data/code/syntax/context_free.syntax +176 -0
  97. data/code/syntax/cs.syntax +59 -0
  98. data/code/syntax/css.syntax +195 -0
  99. data/code/syntax/css_experimental.syntax +1925 -0
  100. data/code/syntax/csv.syntax +68 -0
  101. data/code/syntax/d.syntax +142 -0
  102. data/code/syntax/diff.syntax +81 -0
  103. data/code/syntax/dokuwiki.syntax +204 -0
  104. data/code/syntax/dot.syntax +47 -0
  105. data/code/syntax/doxygen.syntax +43 -0
  106. data/code/syntax/dylan.syntax +62 -0
  107. data/code/syntax/eiffel.syntax +78 -0
  108. data/code/syntax/erlang.syntax +922 -0
  109. data/code/syntax/f-script.syntax +80 -0
  110. data/code/syntax/fortran.syntax +141 -0
  111. data/code/syntax/fxscript.syntax +142 -0
  112. data/code/syntax/greasemonkey.syntax +34 -0
  113. data/code/syntax/gri.syntax +83 -0
  114. data/code/syntax/groovy.syntax +191 -0
  115. data/code/syntax/gtd.syntax +22 -0
  116. data/code/syntax/gtdalt.syntax +143 -0
  117. data/code/syntax/haml.syntax +88 -0
  118. data/code/syntax/haskell.syntax +88 -0
  119. data/code/syntax/html-asp.syntax +27 -0
  120. data/code/syntax/html.syntax +362 -0
  121. data/code/syntax/html_django.syntax +36 -0
  122. data/code/syntax/html_for_asp.net.syntax +424 -0
  123. data/code/syntax/html_mason.syntax +119 -0
  124. data/code/syntax/html_rails.syntax +40 -0
  125. data/code/syntax/html_tcl.syntax +26 -0
  126. data/code/syntax/icalendar.syntax +32 -0
  127. data/code/syntax/inform.syntax +48 -0
  128. data/code/syntax/ini.syntax +55 -0
  129. data/code/syntax/installer_distribution_script.syntax +77 -0
  130. data/code/syntax/io.syntax +81 -0
  131. data/code/syntax/java.syntax +211 -0
  132. data/code/syntax/javaproperties.syntax +20 -0
  133. data/code/syntax/javascript.syntax +256 -0
  134. data/code/syntax/javascript_+_prototype.syntax +72 -0
  135. data/code/syntax/javascript_+_prototype_bracketed.syntax +140 -0
  136. data/code/syntax/jquery_javascript.syntax +114 -0
  137. data/code/syntax/json.syntax +136 -0
  138. data/code/syntax/languagedefinition.syntax +708 -0
  139. data/code/syntax/latex.syntax +566 -0
  140. data/code/syntax/latex_beamer.syntax +41 -0
  141. data/code/syntax/latex_log.syntax +50 -0
  142. data/code/syntax/latex_memoir.syntax +64 -0
  143. data/code/syntax/lexflex.syntax +219 -0
  144. data/code/syntax/lighttpd.syntax +54 -0
  145. data/code/syntax/lilypond.syntax +492 -0
  146. data/code/syntax/lisp.syntax +61 -0
  147. data/code/syntax/literate_haskell.syntax +24 -0
  148. data/code/syntax/logo.syntax +29 -0
  149. data/code/syntax/logtalk.syntax +152 -0
  150. data/code/syntax/lua.syntax +86 -0
  151. data/code/syntax/m.syntax +142 -0
  152. data/code/syntax/macports_portfile.syntax +163 -0
  153. data/code/syntax/makefile.syntax +36 -0
  154. data/code/syntax/man.syntax +17 -0
  155. data/code/syntax/mediawiki.syntax +567 -0
  156. data/code/syntax/mips.syntax +66 -0
  157. data/code/syntax/mod_perl.syntax +50 -0
  158. data/code/syntax/modula-3.syntax +47 -0
  159. data/code/syntax/moinmoin.syntax +189 -0
  160. data/code/syntax/mootools.syntax +572 -0
  161. data/code/syntax/movable_type.syntax +162 -0
  162. data/code/syntax/multimarkdown.syntax +39 -0
  163. data/code/syntax/objective-c++.syntax +18 -0
  164. data/code/syntax/objective-c.syntax +233 -0
  165. data/code/syntax/ocaml.syntax +764 -0
  166. data/code/syntax/ocamllex.syntax +167 -0
  167. data/code/syntax/ocamlyacc.syntax +184 -0
  168. data/code/syntax/opengl.syntax +14 -0
  169. data/code/syntax/pascal.syntax +77 -0
  170. data/code/syntax/perl.syntax +1115 -0
  171. data/code/syntax/plain_text.syntax +32 -0
  172. data/code/syntax/postscript.syntax +114 -0
  173. data/code/syntax/processing.syntax +106 -0
  174. data/code/syntax/prolog.syntax +40 -0
  175. data/code/syntax/property_list.syntax +635 -0
  176. data/code/syntax/python.syntax +868 -0
  177. data/code/syntax/python_django.syntax +21 -0
  178. data/code/syntax/qmake_project.syntax +114 -0
  179. data/code/syntax/qt_c++.syntax +26 -0
  180. data/code/syntax/quake3_config.syntax +32 -0
  181. data/code/syntax/r.syntax +81 -0
  182. data/code/syntax/r_console.syntax +16 -0
  183. data/code/syntax/ragel.syntax +201 -0
  184. data/code/syntax/rd_r_documentation.syntax +91 -0
  185. data/code/syntax/regexp.syntax +50 -0
  186. data/code/syntax/release_notes.syntax +46 -0
  187. data/code/syntax/remind.syntax +253 -0
  188. data/code/syntax/restructuredtext.syntax +250 -0
  189. data/code/syntax/rez.syntax +80 -0
  190. data/code/syntax/ruby.syntax +1035 -0
  191. data/code/syntax/ruby_experimental.syntax +145 -0
  192. data/code/syntax/ruby_on_rails.syntax +88 -0
  193. data/code/syntax/s5.syntax +69 -0
  194. data/code/syntax/scheme.syntax +347 -0
  195. data/code/syntax/scilab.syntax +41 -0
  196. data/code/syntax/setext.syntax +147 -0
  197. data/code/syntax/shell-unix-generic.syntax +384 -0
  198. data/code/syntax/slate.syntax +149 -0
  199. data/code/syntax/sql.syntax +237 -0
  200. data/code/syntax/sql_rails.syntax +18 -0
  201. data/code/syntax/ssh-config.syntax +33 -0
  202. data/code/syntax/standard_ml.syntax +121 -0
  203. data/code/syntax/strings_file.syntax +39 -0
  204. data/code/syntax/subversion_commit_message.syntax +36 -0
  205. data/code/syntax/sweave.syntax +84 -0
  206. data/code/syntax/swig.syntax +57 -0
  207. data/code/syntax/tcl.syntax +152 -0
  208. data/code/syntax/template_toolkit.syntax +121 -0
  209. data/code/syntax/tex.syntax +86 -0
  210. data/code/syntax/tex_math.syntax +49 -0
  211. data/code/syntax/textile.syntax +215 -0
  212. data/code/syntax/tsv.syntax +50 -0
  213. data/code/syntax/twiki.syntax +241 -0
  214. data/code/syntax/txt2tags.syntax +79 -0
  215. data/code/syntax/vectorscript.syntax +57 -0
  216. data/code/syntax/xhtml_1.0.syntax +4027 -0
  217. data/code/syntax/xml.syntax +180 -0
  218. data/code/syntax/xml_strict.syntax +92 -0
  219. data/code/syntax/xsl.syntax +60 -0
  220. data/code/syntax/yaml.syntax +160 -0
  221. data/code/syntax/yui_javascript.syntax +176 -0
  222. data/lib/bayeux/bayeux.rb +727 -0
  223. data/lib/bayeux/html_gen.rb +506 -0
  224. data/lib/bayeux/latex_gen.rb +333 -0
  225. data/lib/bayeux/para_block.rb +201 -0
  226. data/lib/bayeux/text_gen.rb +307 -0
  227. data/lib/bayeux/tree_walker.rb +166 -0
  228. data/lib/filters/bayeux.rb +44 -0
  229. data/lib/filters/pandoc.rb +23 -0
  230. data/lib/filters/section_id.rb +105 -0
  231. data/lib/helpers/breadcrumbs.rb +64 -0
  232. data/lib/helpers/site_toc.rb +11 -0
  233. data/lib/lib/uv.rb +92 -0
  234. data/lib/lib/uv/render_processor.rb +146 -0
  235. data/lib/lib/uv/utility.rb +67 -0
  236. data/lib/refs/Doc_Blocks.rb +2 -0
  237. data/lib/refs/References.rb +104 -0
  238. metadata +415 -0
@@ -0,0 +1,287 @@
1
+ ---
2
+ name: Bulletin Board
3
+ fileTypes:
4
+ - bbcode
5
+ scopeName: text.bbcode
6
+ uuid: AC4E0E7E-CC15-4394-A858-6C7E3C09C414
7
+ foldingStartMarker: |-
8
+ (?x)
9
+ (\[(?i:quote|code|list)\b.*?\]
10
+ |<!--(?!.*-->)
11
+ |\{\s*($|\?>\s*$|//|/\*(.*\*/\s*$|(?!.*?\*/)))
12
+ )
13
+ patterns:
14
+ - captures:
15
+ "0":
16
+ name: meta.tag.bbcode
17
+ "1":
18
+ name: punctuation.definition.tag.bbcode
19
+ "2":
20
+ name: punctuation.definition.tag.bbcode
21
+ begin: (\[)(?i:list)(\])
22
+ end: (\[/)(?i:list)(\])
23
+ patterns:
24
+ - captures:
25
+ "0":
26
+ name: meta.tag.bbcode
27
+ "1":
28
+ name: punctuation.definition.tag.bbcode
29
+ begin: (\[\*\])
30
+ contentName: markup.list.unnumbered.bbcode
31
+ end: (?=\[\*\]|\[/(?i:list)\])
32
+ patterns:
33
+ - include: $self
34
+ - endCaptures:
35
+ "0":
36
+ name: meta.tag.bbcode
37
+ "1":
38
+ name: punctuation.definition.tag.bbcode
39
+ "2":
40
+ name: punctuation.definition.tag.bbcode
41
+ begin: (\[)(?i:list)=(1|a)(\])
42
+ beginCaptures:
43
+ "0":
44
+ name: meta.tag.bbcode
45
+ "1":
46
+ name: punctuation.definition.tag.bbcode
47
+ "2":
48
+ name: constant.other.list-type.bbcode
49
+ "3":
50
+ name: punctuation.definition.tag.bbcode
51
+ end: (\[/)(?i:list)(\])
52
+ patterns:
53
+ - captures:
54
+ "0":
55
+ name: meta.tag.bbcode
56
+ "1":
57
+ name: punctuation.definition.tag.bbcode
58
+ begin: (\[\*\])
59
+ contentName: markup.list.numbered.bbcode
60
+ end: (?=\[\*\]|\[/(?i:list)\])
61
+ patterns:
62
+ - include: $self
63
+ - captures:
64
+ "0":
65
+ name: meta.tag.bbcode
66
+ "1":
67
+ name: punctuation.definition.tag.bbcode
68
+ "2":
69
+ name: punctuation.definition.tag.bbcode
70
+ begin: (\[)(?i:quote)(?:=[^\]]+)?(\])
71
+ contentName: markup.quote.bbcode
72
+ end: (\[/)(?i:quote)(\])
73
+ patterns:
74
+ - include: $self
75
+ - captures:
76
+ "0":
77
+ name: meta.tag.bbcode
78
+ "1":
79
+ name: punctuation.definition.tag.bbcode
80
+ "2":
81
+ name: punctuation.definition.tag.bbcode
82
+ begin: (\[)(?i:code)(\])
83
+ contentName: markup.raw.block.bbcode
84
+ end: (\[/)(?i:code)(\])
85
+ - captures:
86
+ "0":
87
+ name: meta.tag.bbcode
88
+ "1":
89
+ name: punctuation.definition.tag.bbcode
90
+ "2":
91
+ name: punctuation.definition.tag.bbcode
92
+ begin: (\[)(?i:i)(\])
93
+ contentName: markup.italic.bbcode
94
+ end: (\[/)(?i:i)(\])
95
+ patterns:
96
+ - include: $self
97
+ - captures:
98
+ "0":
99
+ name: meta.tag.bbcode
100
+ "1":
101
+ name: punctuation.definition.tag.bbcode
102
+ "2":
103
+ name: punctuation.definition.tag.bbcode
104
+ begin: (\[)(?i:b)(\])
105
+ contentName: markup.bold.bbcode
106
+ end: (\[/)(?i:b)(\])
107
+ patterns:
108
+ - include: $self
109
+ - captures:
110
+ "0":
111
+ name: meta.tag.bbcode
112
+ "1":
113
+ name: punctuation.definition.tag.bbcode
114
+ "2":
115
+ name: punctuation.definition.tag.bbcode
116
+ begin: (\[)(?i:u)(\])
117
+ contentName: markup.underline.bbcode
118
+ end: (\[/)(?i:u)(\])
119
+ patterns:
120
+ - include: $self
121
+ - captures:
122
+ "0":
123
+ name: meta.tag.bbcode
124
+ "1":
125
+ name: punctuation.definition.tag.bbcode
126
+ "2":
127
+ name: punctuation.definition.tag.bbcode
128
+ begin: (\[)(?i:strike)(\])
129
+ contentName: markup.other.strikethrough.bbcode
130
+ end: (\[/)(?i:strike)(\])
131
+ patterns:
132
+ - include: $self
133
+ - endCaptures:
134
+ "0":
135
+ name: meta.tag.bbcode
136
+ "1":
137
+ name: punctuation.definition.tag.bbcode
138
+ "2":
139
+ name: punctuation.definition.tag.bbcode
140
+ begin: |-
141
+ (?x)(\[)(?i:color)=(
142
+ (?i:(red|green|blue|yellow
143
+ |white|black|pink
144
+ |purple|brown|grey))
145
+ |(\#([0-9a-fA-F]{6}))
146
+ |([^\]]+))
147
+ (\])
148
+ contentName: markup.other.colored.bbcode
149
+ beginCaptures:
150
+ "6":
151
+ name: invalid.illegal.expected-a-color.bbcode
152
+ "7":
153
+ name: punctuation.definition.tag.bbcode
154
+ "0":
155
+ name: meta.tag.bbcode
156
+ "1":
157
+ name: punctuation.definition.tag.bbcode
158
+ "2":
159
+ name: constant.other.named-color.bbcode
160
+ "3":
161
+ name: constant.other.rgb-value.bbcode
162
+ end: (\[/)(?i:color)(\])
163
+ patterns:
164
+ - include: $self
165
+ - endCaptures:
166
+ "0":
167
+ name: meta.tag.bbcode
168
+ "1":
169
+ name: punctuation.definition.tag.bbcode
170
+ "2":
171
+ name: punctuation.definition.tag.bbcode
172
+ begin: |-
173
+ (?x)(\[)(?i:size)=
174
+ (?i:([0-9]{1,3})\b
175
+ |([^\]]+))
176
+ (\])
177
+ contentName: markup.other.resized.bbcode
178
+ beginCaptures:
179
+ "0":
180
+ name: meta.tag.bbcode
181
+ "1":
182
+ name: punctuation.definition.tag.bbcode
183
+ "2":
184
+ name: constant.numeric.size.bbcode
185
+ "3":
186
+ name: invalid.illegal.expected-a-size.bbcode
187
+ "4":
188
+ name: punctuation.definition.tag.bbcode
189
+ end: (\[/)(?i:size)(\])
190
+ patterns:
191
+ - include: $self
192
+ - name: meta.link.inline.bbcode
193
+ endCaptures:
194
+ "0":
195
+ name: meta.tag.bbcode
196
+ "1":
197
+ name: punctuation.definition.tag.bbcode
198
+ "2":
199
+ name: punctuation.definition.tag.bbcode
200
+ begin: (\[)(?i:url)=([^\]]+)(\])
201
+ contentName: string.other.link.title.bbcode
202
+ beginCaptures:
203
+ "0":
204
+ name: meta.tag.bbcode
205
+ "1":
206
+ name: punctuation.definition.tag.bbcode
207
+ "2":
208
+ name: markup.underline.link.bbcode
209
+ "3":
210
+ name: punctuation.definition.tag.bbcode
211
+ end: (\[/)(?i:url)(\])
212
+ patterns:
213
+ - include: $self
214
+ - name: meta.link.inline.bbcode
215
+ captures:
216
+ "0":
217
+ name: meta.tag.bbcode
218
+ "1":
219
+ name: punctuation.definition.tag.bbcode
220
+ "2":
221
+ name: punctuation.definition.tag.bbcode
222
+ begin: (\[)(?i:url)(\])
223
+ contentName: markup.underline.link.bbcode
224
+ end: (\[/)(?i:url)(\])
225
+ patterns:
226
+ - match: "[\\[]]+"
227
+ - name: meta.link.inline.bbcode
228
+ captures:
229
+ "0":
230
+ name: meta.tag.bbcode
231
+ "1":
232
+ name: punctuation.definition.tag.bbcode
233
+ "2":
234
+ name: punctuation.definition.tag.bbcode
235
+ begin: (\[)(?i:email)(\])
236
+ contentName: markup.underline.link.email.bbcode
237
+ end: (\[/)(?i:email)(\])
238
+ patterns:
239
+ - match: "[\\[]]+"
240
+ - name: meta.link.image.bbcode
241
+ endCaptures:
242
+ "0":
243
+ name: meta.tag.bbcode
244
+ "1":
245
+ name: punctuation.definition.tag.bbcode
246
+ "2":
247
+ name: punctuation.definition.tag.bbcode
248
+ begin: (\[)(?i:img)(:((?i:right|left|top))|([^\]]+))?(\])
249
+ contentName: markup.underline.link.image.bbcode
250
+ beginCaptures:
251
+ "0":
252
+ name: meta.tag.bbcode
253
+ "1":
254
+ name: punctuation.definition.tag.bbcode
255
+ "3":
256
+ name: constant.other.alignment.bbcode
257
+ "4":
258
+ name: invalid.illegal.expected-an-alignment.bbcode
259
+ "5":
260
+ name: punctuation.definition.tag.bbcode
261
+ end: (\[/)(?i:img)(\])
262
+ patterns:
263
+ - match: "[\\[]]+?"
264
+ - name: constant.other.smiley.bbcode
265
+ captures:
266
+ "3":
267
+ name: punctuation.definition.constant.bbcode
268
+ "5":
269
+ name: punctuation.definition.constant.bbcode
270
+ match: |-
271
+ (?x)
272
+ (
273
+ (
274
+ (:)
275
+ (mad|rolleyes|cool|eek|confused|devious|
276
+ judge|scared|eyebrow|bigdumbgrin)
277
+ (:)
278
+ )
279
+ | (?::\)|;\)|:D|:\(|:p|:o)
280
+ )
281
+ foldingStopMarker: |-
282
+ (?x)
283
+ (\[/(?i:quote|code|list)\b.*?\]
284
+ |^\s*-->
285
+ |(^|\s)\}
286
+ )
287
+ keyEquivalent: ^~B
@@ -0,0 +1,55 @@
1
+ ---
2
+ name: Cake
3
+ fileTypes:
4
+ - thtml
5
+ scopeName: source.php.cake
6
+ uuid: 3DF2FE0B-94CC-4EE2-A50A-BD4823D1B09D
7
+ foldingStartMarker: (/\*|\{|\()
8
+ patterns:
9
+ - name: support.function.model.cake
10
+ match: \b(bindModel|unbindModel|hasField|read|field|save|saveField|remove|del|delete|exists|hasAny|find|findAll|findCount|execute|query|validates|invalidate|invalidFields|isForeignKey|getDisplayField|generateList|getID|getLastInsertID|getInsertID|getNumRows|getAffectedRows|setDatasource|beforeFind|afterFind|beforeSave|afterSave|beforeDelete|afterDelete)\b
11
+ - name: support.function.controller.cake
12
+ match: \b(redirect|set|setAction|validate|validateErrors|render|referer|flash|flashOut|generateFieldNames|postCondtions|cleanUpFields|beforeFilter|beforeRender|afterFilter)\b
13
+ - name: support.constant.core.cake
14
+ match: \b(ACL_CLASSNAME|ACL_FILENAME|APP|APP_DIR|APP_PATH|AUTO_OUTPUT|AUTO_SESSION|CACHE|CACHE_CHECK|CAKE|CAKE_CORE_INCLUDE_PATH|CAKE_SECURITY|CAKE_SESSION_COOKIE|CAKE_SESSION_SAVE|CAKE_SESSION_STRING|CAKE_SESSION_TIMEOUT|COMPONENTS|COMPRESS_CSS|CONFIGS|CONTROLLER_TESTS|CONTROLLERS|CORE_PATH|CSS|DAY|DEBUG|DS|ELEMENTS|HELPER_TESTS|HELPERS|HOUR|INFLECTIONS|JS|LAYOUTS|LIB_TESTS|LIBS|LOG_ERROR|LOGS|MAX_MD5SIZE|MINUTE|MODEL_TESTS|MODELS|MODULES|MONTH|PEAR|ROOT|SCRIPTS|SECOND|TAG_DIV|TAG_FIELDSET|TAG_LABEL|TAG_P_CLASS|TESTS|TMP|VALID_EMAIL|VALID_NOT_EMPTY|VALID_NUMBER|VALID_YEAR|VENDORS|VIEWS|WEBROOT_DIR|WEBSERVICES|WEEK|WWW_ROOT|YEAR)\b
15
+ - name: invalid.deprecated.model.cake
16
+ match: \b(setId|findBySql)\b
17
+ - name: invalid.deprecated.helper.html.cake
18
+ match: \b(areaTag|charsetTag|checkboxTag|contentTag|cssTag|fileTag|formTag|guiListTag|hiddenTag|imageTag|inputTag|javascriptIncludeTag|javascriptTag|linkEmail|linkOut|linkTo|parseHtmlOptions|passwordTag|radioTags|submitTag|tag|urlFor)\b
19
+ - name: invalid.deprecated.helper.ajax.cake
20
+ match: \b(linkToRemote)\b
21
+ - name: support.function.helper.cake
22
+ match: \b(isFieldError|labelTag|divTag|pTag|generate(Input|Checkbox|Area|Select|submit)Div|generate(Date|DateTime|Fields))\b
23
+ - name: support.function.helper.html.cake
24
+ match: \b(addCrumb|charset|url|link|submit|password|textarea|checkbox|css|file|getCrumbs|hidden|image|input|radio|tableHeaders|tableCells|validate|tagIsValid|validateErrors|tagErrorMsg|selectTag|(day|year|month|hour|minute|meridian|date)OptionTag)\b
25
+ - name: support.function.helper.ajax.cake
26
+ match: \b(link|remoteFunction|remoteTimer|form|submit|observe(Field|Form)|autoComplete|drag|drop|dropRemote|slider|editor|sortable)\b
27
+ - name: support.function.file.cake
28
+ match: \b(read|append|write|get(Md5|Size|Ext|Name|Owner|Group|Folder|Chmod|FullPath)|create|exists|delete|writable|executable|readable|last(Access|Change))\b
29
+ - name: support.function.log.cake
30
+ match: \b(write)\b
31
+ - name: support.function.helper.number.cake
32
+ match: \b(precision|toReadableSize|toPercentage)\b
33
+ - name: support.function.component.requestHandler.cake
34
+ match: \b(startup|setAjax|is(Ajax|Xml|Rss|Atom|Post|Get|Delete|Mobile)|getAjaxVersion|setContent|get(Referer|ClientIP)|strip(WhiteSpace|Images|Scripts|All|tags)|accepts|prefers)\b
35
+ - name: support.function.component.session.cake
36
+ match: \b(write|read|del|delete|check|error|setFlash|flash|renew|valid)\b
37
+ - name: support.function.component.security.cake
38
+ match: \b(startup|blackHole|requirePost|requireAuth)\b
39
+ - name: support.function.component.sanitize.cake
40
+ match: \b(paranoid|sql|html|cleanArray|cleanArrayR|cleanValue|formatColumns)\b
41
+ - name: support.function.helper.time.cake
42
+ match: \b(trim|fromString|nice|niceShort|isToday|daysAsSql|dayAsSql|isThisYear|wasYesterday|isTomorrow|toUnix|toAtom|toRSS|timeAgoInWords|relativeTime|wasWithinLast)\b
43
+ - name: support.function.helper.text.cake
44
+ match: \b(highlight|stripLinks|autoLinkUrls|autoLinkEmails|autoLink|truncate|excerpt|flay)\b
45
+ - name: support.function.helper.javascript.cake
46
+ match: \b(codeBlock|link|linkOut|escape(String|Script)|event|(cache|write)Events|includeScript|object)\b
47
+ - name: support.function.neatArray.cake
48
+ match: \b(findIn|cleanup|add|plus|totals|filter|walk|sprintf|extract|unique|makeUnique|joinWith|threaded|multi_search)\b
49
+ - name: support.function.neatString.cake
50
+ match: \b(toArray|toRoman|toCompressed|randomPassword)\b
51
+ - name: support.function.basics.cake
52
+ match: \b(load(Models|PluginModels|View|Model|Controllers|PluginController)|listClasses|config|gendor|debug|aa|ha|a|e|low|up|r|pr|params|am|setUri|env|cache|clearCache|stripslashes_deep|countDim|LogError|fileExistsInPAth|convertSlash)\b
53
+ - include: source.php
54
+ - include: text.html.basic
55
+ foldingStopMarker: (\*/|\}|\))
@@ -0,0 +1,36 @@
1
+ ---
2
+ name: camlp4
3
+ scopeName: source.camlp4.ocaml
4
+ repository:
5
+ camlpppp-streams:
6
+ patterns:
7
+ - name: meta.camlp4-stream.element.ocaml
8
+ endCaptures:
9
+ "1":
10
+ name: punctuation.separator.camlp4.ocaml
11
+ begin: (')
12
+ beginCaptures:
13
+ "1":
14
+ name: punctuation.definition.camlp4.simple-element.ocaml
15
+ end: (;)(?=\s*')|(?=\s*>])
16
+ patterns:
17
+ - include: source.ocaml
18
+ uuid: 37538B6B-CEFA-4DAE-B1E4-1218DB82B37F
19
+ foldingStartMarker: (\bEXTEND\B)
20
+ patterns:
21
+ - name: meta.camlp4-stream.ocaml
22
+ endCaptures:
23
+ "1":
24
+ name: punctuation.definition.camlp4-stream.ocaml
25
+ begin: (\[<)(?=.*?>])
26
+ beginCaptures:
27
+ "1":
28
+ name: punctuation.definition.camlp4-stream.ocaml
29
+ end: (?=>])
30
+ patterns:
31
+ - include: "#camlpppp-streams"
32
+ - name: punctuation.definition.camlp4-stream.ocaml
33
+ match: \[<|>]
34
+ - name: keyword.other.camlp4.ocaml
35
+ match: \bparser\b|<(<|:)|>>|\$(:|\${0,1})
36
+ foldingStopMarker: (\bEND\b)
@@ -0,0 +1,32 @@
1
+ ---
2
+ name: CM
3
+ fileTypes:
4
+ - cm
5
+ scopeName: source.cm
6
+ uuid: AEF91285-0D21-4BB0-B702-F5D0CEDBA4B8
7
+ foldingStartMarker: \(\*
8
+ patterns:
9
+ - name: comment.block.cm
10
+ captures:
11
+ "0":
12
+ name: punctuation.definition.comment.cm
13
+ begin: \(\*
14
+ end: \*\)
15
+ - name: keyword.other.cm
16
+ match: \b(Library|is|Group|structure|signature|functor)\b
17
+ - name: meta.directive.cm
18
+ captures:
19
+ "1":
20
+ name: meta.preprocessor.cm
21
+ "2":
22
+ name: keyword.control.import.if.cm
23
+ begin: ^\s*(#(if).*)
24
+ end: ^\s*(#(endif))
25
+ - name: string.quoted.double.cm
26
+ begin: "\""
27
+ end: "\""
28
+ patterns:
29
+ - name: constant.character.escape.cm
30
+ match: \\.
31
+ foldingStopMarker: \*\)
32
+ comment: CM is the SML Compilation Manager, a sophisticated make that determines dependencies for you.
@@ -0,0 +1,119 @@
1
+ ---
2
+ name: ColdFusion
3
+ fileTypes:
4
+ - cfm
5
+ - cfml
6
+ - cfc
7
+ bundleUUID: 1A09BE0B-E81A-4CB7-AF69-AFC845162D1F
8
+ scopeName: text.html.cfm
9
+ repository:
10
+ tag-stuff:
11
+ patterns:
12
+ - include: "#tag-id-attribute"
13
+ - include: "#tag-generic-attribute"
14
+ - include: "#string-double-quoted"
15
+ - include: "#string-single-quoted"
16
+ - include: "#embedded-code"
17
+ string-double-quoted:
18
+ name: string.quoted.double.cfml
19
+ begin: "\""
20
+ end: "\""
21
+ patterns:
22
+ - include: "#embedded-code"
23
+ - include: "#entities"
24
+ coldfusion-comment:
25
+ name: comment.block.cfml
26
+ begin: <!---
27
+ end: --->
28
+ patterns:
29
+ - include: "#coldfusion-comment"
30
+ entities:
31
+ patterns:
32
+ - name: constant.character.entity.html
33
+ match: "&([a-zA-Z0-9]+|#[0-9]+|#x[0-9a-fA-F]+);"
34
+ - name: invalid.illegal.bad-ampersand.html
35
+ match: "&"
36
+ string-single-quoted:
37
+ name: string.quoted.single.cfml
38
+ begin: "'"
39
+ end: "'"
40
+ patterns:
41
+ - include: "#embedded-code"
42
+ - include: "#entities"
43
+ tag-id-attribute:
44
+ name: meta.attribute-with-value.id.cfml
45
+ captures:
46
+ "1":
47
+ name: entity.other.attribute-name.id.html
48
+ begin: \b(id)\b\s*=
49
+ end: (?<='|")
50
+ patterns:
51
+ - name: string.quoted.double.cfml
52
+ begin: "\""
53
+ contentName: meta.toc-list.id.cfml
54
+ end: "\""
55
+ patterns:
56
+ - include: "#embedded-code"
57
+ - include: "#entities"
58
+ - name: string.quoted.single.cfml
59
+ begin: "'"
60
+ contentName: meta.toc-list.id.cfml
61
+ end: "'"
62
+ patterns:
63
+ - include: "#embedded-code"
64
+ - include: "#entities"
65
+ tag-generic-attribute:
66
+ name: entity.other.attribute-name.cfml
67
+ match: \b([a-zA-Z\-:]+)
68
+ embedded-code:
69
+ patterns: []
70
+
71
+ uuid: 97CAD6F7-0807-4EB4-876E-DA9E9C1CEC14
72
+ foldingStartMarker: |-
73
+ (?x)
74
+ (<(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|form|dl|cfloop|cfif|cfswitch|cfcomponent)\b.*?>
75
+ |<!---(?!.*---\s*>)
76
+ )
77
+ patterns:
78
+ - name: meta.tag.cfoutput.cfml
79
+ captures:
80
+ "1":
81
+ name: entity.name.tag.cfoutput.cfml
82
+ begin: (?:^\s+)?<((?i:cfoutput))\b(?![^>]*/>)
83
+ end: </((?i:cfoutput))>(?:\s*\n)?
84
+ patterns:
85
+ - include: "#tag-stuff"
86
+ - name: meta.scope.output.cfml
87
+ begin: (?<=>)
88
+ end: (?=</(?i:cfoutput))
89
+ patterns:
90
+ - include: $self
91
+ - name: meta.tag.cfquery.cfml
92
+ captures:
93
+ "1":
94
+ name: entity.name.tag.cfquery.cfml
95
+ begin: (?:^\s+)?<((?i:cfquery))\b(?![^>]*/>)
96
+ end: </((?i:cfquery))>(?:\s*\n)?
97
+ patterns:
98
+ - include: "#tag-stuff"
99
+ - name: source.sql.embedded
100
+ begin: (?<=>)
101
+ end: (?=</(?i:cfquery))
102
+ patterns:
103
+ - include: source.sql
104
+ - name: meta.tag.any.cfml
105
+ begin: </?((?i:cf)([a-zA-Z0-9]+))(?=[^>]*>)
106
+ beginCaptures:
107
+ "1":
108
+ name: entity.name.tag.cfml
109
+ end: ">"
110
+ patterns:
111
+ - include: "#tag-stuff"
112
+ - include: "#coldfusion-comment"
113
+ - include: text.html.basic
114
+ foldingStopMarker: |-
115
+ (?x)
116
+ (</(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|form|dl|cfloop|cfif|cfswitch|cfcomponent)>
117
+ |^(?!.*?<!---).*?---\s*>
118
+ )
119
+ keyEquivalent: ^~@c