kitabu 0.4.7 → 1.0.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (544) hide show
  1. data/.gitignore +3 -0
  2. data/.gitmodules +3 -0
  3. data/.rspec +1 -0
  4. data/Gemfile +2 -0
  5. data/Gemfile.lock +62 -0
  6. data/README.rdoc +187 -0
  7. data/Rakefile +4 -36
  8. data/bin/kitabu +2 -5
  9. data/examples/RailsGuides/config/helper.rb +29 -0
  10. data/examples/RailsGuides/config/kitabu.yml +48 -0
  11. data/examples/RailsGuides/images/challenge.png +0 -0
  12. data/examples/RailsGuides/images/posts_index.png +0 -0
  13. data/examples/RailsGuides/images/rails_welcome.png +0 -0
  14. data/examples/RailsGuides/output/RailsGuides.epub +0 -0
  15. data/examples/RailsGuides/output/RailsGuides.html +1556 -0
  16. data/examples/RailsGuides/output/RailsGuides.pdf +4930 -7
  17. data/examples/RailsGuides/templates/cover.erb +16 -0
  18. data/examples/RailsGuides/templates/layout.css +352 -0
  19. data/examples/RailsGuides/templates/layout.erb +43 -0
  20. data/{lib/kitabu/vendor/ruby1.8/uv/render/xhtml/files/css/idle.css → examples/RailsGuides/templates/syntax.css} +0 -0
  21. data/examples/RailsGuides/templates/user.css +19 -0
  22. data/examples/RailsGuides/text/01_Guide_Assumptions.mkdn +13 -0
  23. data/examples/RailsGuides/text/02_What_is_Rails.mkdn +106 -0
  24. data/examples/RailsGuides/text/03_Creating_a_new_Rails_project.mkdn +200 -0
  25. data/examples/RailsGuides/text/04_Hello_Rails.mkdn +62 -0
  26. data/examples/RailsGuides/text/05_Getting_Up_and_Running_Quickly_with_Scaffolding.mkdn +4 -0
  27. data/examples/RailsGuides/text/06_Creating_a_resource.mkdn +503 -0
  28. data/examples/RailsGuides/text/07_Adding_a_second_model.mkdn +232 -0
  29. data/examples/RailsGuides/text/08_Refactoring.mkdn +123 -0
  30. data/examples/RailsGuides/text/09_Deleting_comments.mkdn +57 -0
  31. data/examples/RailsGuides/text/09_Security.mkdn +56 -0
  32. data/examples/RailsGuides/text/10_Building_a_multi_model_form.mkdn +130 -0
  33. data/examples/RailsGuides/text/11_View_helpers.mkdn +50 -0
  34. data/examples/RailsGuides/text/12_Whats_next.mkdn +14 -0
  35. data/examples/RailsGuides/text/13_Configuration_gotchas.mkdn +10 -0
  36. data/kitabu.gemspec +28 -491
  37. data/lib/kitabu.rb +54 -46
  38. data/lib/kitabu/cli.rb +88 -0
  39. data/lib/kitabu/errors.rb +3 -0
  40. data/lib/kitabu/exporter.rb +81 -0
  41. data/lib/kitabu/extensions/redcloth.rb +65 -0
  42. data/lib/kitabu/extensions/string.rb +11 -0
  43. data/lib/kitabu/generator.rb +74 -0
  44. data/lib/kitabu/parser.rb +34 -0
  45. data/lib/kitabu/parser/epub.rb +131 -0
  46. data/lib/kitabu/parser/html.rb +174 -0
  47. data/lib/kitabu/parser/mobi.rb +17 -0
  48. data/lib/kitabu/parser/pdf.rb +41 -0
  49. data/lib/kitabu/parser/txt.rb +22 -0
  50. data/lib/kitabu/stream.rb +27 -0
  51. data/lib/kitabu/syntax.rb +109 -107
  52. data/lib/kitabu/toc.rb +62 -33
  53. data/lib/kitabu/version.rb +8 -0
  54. data/spec/kitabu/cli/export_spec.rb +17 -0
  55. data/spec/kitabu/cli/new_spec.rb +21 -0
  56. data/spec/kitabu/cli/permalinks_spec.rb +12 -0
  57. data/spec/kitabu/cli/version_spec.rb +12 -0
  58. data/spec/kitabu/extensions/redcloth_spec.rb +52 -0
  59. data/spec/kitabu/extensions/string_spec.rb +21 -0
  60. data/spec/kitabu/generator_spec.rb +10 -0
  61. data/spec/kitabu/parser/epub_spec.rb +10 -0
  62. data/spec/kitabu/parser/html_spec.rb +75 -0
  63. data/spec/kitabu/parser/pdf_spec.rb +14 -0
  64. data/spec/kitabu/syntax_spec.rb +80 -76
  65. data/spec/kitabu/toc_spec.rb +42 -68
  66. data/spec/kitabu_spec.rb +4 -0
  67. data/spec/spec_helper.rb +20 -24
  68. data/spec/support/exit_with_code.rb +26 -0
  69. data/spec/support/have_tag.rb +115 -0
  70. data/spec/support/helper.rb +18 -0
  71. data/spec/support/mybook/.gitignore +1 -0
  72. data/spec/support/mybook/code/.gitkeep +0 -0
  73. data/spec/support/mybook/code/code.rb +13 -0
  74. data/spec/support/mybook/config/helper.rb +29 -0
  75. data/spec/support/mybook/config/kitabu.yml +59 -0
  76. data/spec/support/mybook/images/.gitkeep +0 -0
  77. data/spec/support/mybook/images/logo.gif +0 -0
  78. data/spec/support/mybook/output/.gitkeep +0 -0
  79. data/spec/support/mybook/templates/cover.erb +16 -0
  80. data/spec/support/mybook/templates/epub.css +1 -0
  81. data/spec/support/mybook/templates/epub.erb +15 -0
  82. data/spec/support/mybook/templates/layout.css +137 -0
  83. data/{templates/layouts/boom/layout.html → spec/support/mybook/templates/layout.erb} +26 -17
  84. data/{templates/themes/mac_classic.css → spec/support/mybook/templates/syntax.css} +63 -0
  85. data/spec/support/mybook/templates/user.css +1 -0
  86. data/spec/support/mybook/text/.gitkeep +0 -0
  87. data/spec/support/mybook/text/01_Markdown_Chapter.markdown +8 -0
  88. data/spec/support/mybook/text/02_Textile_Chapter.textile +3 -0
  89. data/spec/support/mybook/text/03_HTML_Chapter.html +3 -0
  90. data/spec/support/mybook/text/04_With_Directory/Some_Chapter.mkdn +3 -0
  91. data/spec/support/mybook/text/CHANGELOG.textile +6 -0
  92. data/spec/support/mybook/text/TOC.textile +0 -0
  93. data/spec/support/mybook/text/_00_Introduction.markdown +3 -0
  94. data/spec/support/shared.rb +16 -0
  95. data/templates/config.erb +48 -0
  96. data/templates/cover.erb +16 -0
  97. data/templates/ebook.png +0 -0
  98. data/templates/epub.css +0 -0
  99. data/templates/epub.erb +15 -0
  100. data/templates/helper.rb +29 -0
  101. data/templates/layout.css +353 -0
  102. data/templates/layout.erb +44 -0
  103. data/{lib/kitabu/vendor/ruby1.8/uv/render/xhtml/files/css → templates/styles}/active4d.css +0 -0
  104. data/{lib/kitabu/vendor/ruby1.8/uv/render/xhtml/files/css → templates/styles}/all_hallows_eve.css +0 -0
  105. data/{lib/kitabu/vendor/ruby1.8/uv/render/xhtml/files/css → templates/styles}/amy.css +0 -0
  106. data/{lib/kitabu/vendor/ruby1.8/uv/render/xhtml/files/css → templates/styles}/blackboard.css +0 -0
  107. data/{lib/kitabu/vendor/ruby1.8/uv/render/xhtml/files/css → templates/styles}/brilliance_black.css +0 -0
  108. data/{lib/kitabu/vendor/ruby1.8/uv/render/xhtml/files/css → templates/styles}/brilliance_dull.css +0 -0
  109. data/{lib/kitabu/vendor/ruby1.8/uv/render/xhtml/files/css → templates/styles}/cobalt.css +0 -0
  110. data/{lib/kitabu/vendor/ruby1.9/uv/render/xhtml/files/css → templates/styles}/dawn.css +0 -0
  111. data/{lib/kitabu/vendor/ruby1.8/uv/render/xhtml/files/css → templates/styles}/eiffel.css +0 -0
  112. data/{lib/kitabu/vendor/ruby1.8/uv/render/xhtml/files/css → templates/styles}/espresso_libre.css +0 -0
  113. data/{lib/kitabu/vendor/ruby1.9/uv/render/xhtml/files/css → templates/styles}/idle.css +0 -0
  114. data/{lib/kitabu/vendor/ruby1.8/uv/render/xhtml/files/css → templates/styles}/iplastic.css +0 -0
  115. data/{lib/kitabu/vendor/ruby1.8/uv/render/xhtml/files/css → templates/styles}/lazy.css +0 -0
  116. data/{lib/kitabu/vendor/ruby1.8/uv/render/xhtml/files/css → templates/styles}/mac_classic.css +0 -0
  117. data/{lib/kitabu/vendor/ruby1.8/uv/render/xhtml/files/css → templates/styles}/magicwb_amiga.css +0 -0
  118. data/{lib/kitabu/vendor/ruby1.8/uv/render/xhtml/files/css → templates/styles}/pastels_on_dark.css +0 -0
  119. data/{lib/kitabu/vendor/ruby1.8/uv/render/xhtml/files/css → templates/styles}/slush_poppies.css +0 -0
  120. data/{lib/kitabu/vendor/ruby1.8/uv/render/xhtml/files/css → templates/styles}/spacecadet.css +0 -0
  121. data/{lib/kitabu/vendor/ruby1.8/uv/render/xhtml/files/css → templates/styles}/sunburst.css +0 -0
  122. data/{lib/kitabu/vendor/ruby1.8/uv/render/xhtml/files/css → templates/styles}/twilight.css +0 -0
  123. data/{lib/kitabu/vendor/ruby1.8/uv/render/xhtml/files/css → templates/styles}/zenburnesque.css +0 -0
  124. data/templates/user.css +1 -1
  125. metadata +395 -501
  126. data/README.markdown +0 -60
  127. data/VERSION +0 -1
  128. data/lib/kitabu/base.rb +0 -271
  129. data/lib/kitabu/blackcloth.rb +0 -184
  130. data/lib/kitabu/command.rb +0 -94
  131. data/lib/kitabu/redcloth.rb +0 -964
  132. data/lib/kitabu/tasks.rb +0 -113
  133. data/lib/kitabu/templates.rb +0 -54
  134. data/lib/kitabu/vendor/colorize/colorize.rb +0 -81
  135. data/lib/kitabu/vendor/ruby1.8/plist/plist.rb +0 -22
  136. data/lib/kitabu/vendor/ruby1.8/plist/plist/generator.rb +0 -224
  137. data/lib/kitabu/vendor/ruby1.8/plist/plist/parser.rb +0 -224
  138. data/lib/kitabu/vendor/ruby1.8/textpow/textpow.rb +0 -10
  139. data/lib/kitabu/vendor/ruby1.8/textpow/textpow/debug_processor.rb +0 -36
  140. data/lib/kitabu/vendor/ruby1.8/textpow/textpow/score_manager.rb +0 -65
  141. data/lib/kitabu/vendor/ruby1.8/textpow/textpow/syntax.rb +0 -284
  142. data/lib/kitabu/vendor/ruby1.8/uv/render/xhtml/active4d.render +0 -140
  143. data/lib/kitabu/vendor/ruby1.8/uv/render/xhtml/all_hallows_eve.render +0 -104
  144. data/lib/kitabu/vendor/ruby1.8/uv/render/xhtml/amy.render +0 -179
  145. data/lib/kitabu/vendor/ruby1.8/uv/render/xhtml/blackboard.render +0 -119
  146. data/lib/kitabu/vendor/ruby1.8/uv/render/xhtml/brilliance_black.render +0 -560
  147. data/lib/kitabu/vendor/ruby1.8/uv/render/xhtml/brilliance_dull.render +0 -569
  148. data/lib/kitabu/vendor/ruby1.8/uv/render/xhtml/cobalt.render +0 -170
  149. data/lib/kitabu/vendor/ruby1.8/uv/render/xhtml/dawn.render +0 -134
  150. data/lib/kitabu/vendor/ruby1.8/uv/render/xhtml/eiffel.render +0 -140
  151. data/lib/kitabu/vendor/ruby1.8/uv/render/xhtml/espresso_libre.render +0 -131
  152. data/lib/kitabu/vendor/ruby1.8/uv/render/xhtml/files/css/dawn.css +0 -121
  153. data/lib/kitabu/vendor/ruby1.8/uv/render/xhtml/idle.render +0 -101
  154. data/lib/kitabu/vendor/ruby1.8/uv/render/xhtml/iplastic.render +0 -107
  155. data/lib/kitabu/vendor/ruby1.8/uv/render/xhtml/lazy.render +0 -104
  156. data/lib/kitabu/vendor/ruby1.8/uv/render/xhtml/mac_classic.render +0 -143
  157. data/lib/kitabu/vendor/ruby1.8/uv/render/xhtml/magicwb_amiga.render +0 -125
  158. data/lib/kitabu/vendor/ruby1.8/uv/render/xhtml/pastels_on_dark.render +0 -212
  159. data/lib/kitabu/vendor/ruby1.8/uv/render/xhtml/slush_poppies.render +0 -131
  160. data/lib/kitabu/vendor/ruby1.8/uv/render/xhtml/spacecadet.render +0 -89
  161. data/lib/kitabu/vendor/ruby1.8/uv/render/xhtml/sunburst.render +0 -194
  162. data/lib/kitabu/vendor/ruby1.8/uv/render/xhtml/twilight.render +0 -161
  163. data/lib/kitabu/vendor/ruby1.8/uv/render/xhtml/zenburnesque.render +0 -134
  164. data/lib/kitabu/vendor/ruby1.8/uv/syntax/actionscript.syntax +0 -97
  165. data/lib/kitabu/vendor/ruby1.8/uv/syntax/active4d.syntax +0 -276
  166. data/lib/kitabu/vendor/ruby1.8/uv/syntax/active4d_html.syntax +0 -311
  167. data/lib/kitabu/vendor/ruby1.8/uv/syntax/active4d_ini.syntax +0 -50
  168. data/lib/kitabu/vendor/ruby1.8/uv/syntax/active4d_library.syntax +0 -21
  169. data/lib/kitabu/vendor/ruby1.8/uv/syntax/ada.syntax +0 -33
  170. data/lib/kitabu/vendor/ruby1.8/uv/syntax/antlr.syntax +0 -151
  171. data/lib/kitabu/vendor/ruby1.8/uv/syntax/apache.syntax +0 -191
  172. data/lib/kitabu/vendor/ruby1.8/uv/syntax/applescript.syntax +0 -384
  173. data/lib/kitabu/vendor/ruby1.8/uv/syntax/asp.syntax +0 -70
  174. data/lib/kitabu/vendor/ruby1.8/uv/syntax/asp_vb.net.syntax +0 -129
  175. data/lib/kitabu/vendor/ruby1.8/uv/syntax/bibtex.syntax +0 -151
  176. data/lib/kitabu/vendor/ruby1.8/uv/syntax/blog_html.syntax +0 -41
  177. data/lib/kitabu/vendor/ruby1.8/uv/syntax/blog_markdown.syntax +0 -42
  178. data/lib/kitabu/vendor/ruby1.8/uv/syntax/blog_text.syntax +0 -27
  179. data/lib/kitabu/vendor/ruby1.8/uv/syntax/blog_textile.syntax +0 -27
  180. data/lib/kitabu/vendor/ruby1.8/uv/syntax/buggy/nemerle.syntax +0 -74
  181. data/lib/kitabu/vendor/ruby1.8/uv/syntax/build.syntax +0 -53
  182. data/lib/kitabu/vendor/ruby1.8/uv/syntax/bulletin_board.syntax +0 -287
  183. data/lib/kitabu/vendor/ruby1.8/uv/syntax/c++.syntax +0 -109
  184. data/lib/kitabu/vendor/ruby1.8/uv/syntax/c.syntax +0 -326
  185. data/lib/kitabu/vendor/ruby1.8/uv/syntax/cake.syntax +0 -55
  186. data/lib/kitabu/vendor/ruby1.8/uv/syntax/camlp4.syntax +0 -36
  187. data/lib/kitabu/vendor/ruby1.8/uv/syntax/cm.syntax +0 -32
  188. data/lib/kitabu/vendor/ruby1.8/uv/syntax/coldfusion.syntax +0 -119
  189. data/lib/kitabu/vendor/ruby1.8/uv/syntax/context_free.syntax +0 -176
  190. data/lib/kitabu/vendor/ruby1.8/uv/syntax/cs.syntax +0 -59
  191. data/lib/kitabu/vendor/ruby1.8/uv/syntax/css.syntax +0 -195
  192. data/lib/kitabu/vendor/ruby1.8/uv/syntax/css_experimental.syntax +0 -1925
  193. data/lib/kitabu/vendor/ruby1.8/uv/syntax/csv.syntax +0 -68
  194. data/lib/kitabu/vendor/ruby1.8/uv/syntax/d.syntax +0 -142
  195. data/lib/kitabu/vendor/ruby1.8/uv/syntax/diff.syntax +0 -81
  196. data/lib/kitabu/vendor/ruby1.8/uv/syntax/dokuwiki.syntax +0 -204
  197. data/lib/kitabu/vendor/ruby1.8/uv/syntax/dot.syntax +0 -47
  198. data/lib/kitabu/vendor/ruby1.8/uv/syntax/doxygen.syntax +0 -43
  199. data/lib/kitabu/vendor/ruby1.8/uv/syntax/dylan.syntax +0 -62
  200. data/lib/kitabu/vendor/ruby1.8/uv/syntax/eiffel.syntax +0 -78
  201. data/lib/kitabu/vendor/ruby1.8/uv/syntax/erlang.syntax +0 -922
  202. data/lib/kitabu/vendor/ruby1.8/uv/syntax/f-script.syntax +0 -80
  203. data/lib/kitabu/vendor/ruby1.8/uv/syntax/fortran.syntax +0 -141
  204. data/lib/kitabu/vendor/ruby1.8/uv/syntax/fxscript.syntax +0 -142
  205. data/lib/kitabu/vendor/ruby1.8/uv/syntax/greasemonkey.syntax +0 -34
  206. data/lib/kitabu/vendor/ruby1.8/uv/syntax/gri.syntax +0 -83
  207. data/lib/kitabu/vendor/ruby1.8/uv/syntax/groovy.syntax +0 -191
  208. data/lib/kitabu/vendor/ruby1.8/uv/syntax/gtd.syntax +0 -22
  209. data/lib/kitabu/vendor/ruby1.8/uv/syntax/gtdalt.syntax +0 -143
  210. data/lib/kitabu/vendor/ruby1.8/uv/syntax/haml.syntax +0 -88
  211. data/lib/kitabu/vendor/ruby1.8/uv/syntax/haskell.syntax +0 -88
  212. data/lib/kitabu/vendor/ruby1.8/uv/syntax/html-asp.syntax +0 -27
  213. data/lib/kitabu/vendor/ruby1.8/uv/syntax/html.syntax +0 -362
  214. data/lib/kitabu/vendor/ruby1.8/uv/syntax/html_django.syntax +0 -36
  215. data/lib/kitabu/vendor/ruby1.8/uv/syntax/html_for_asp.net.syntax +0 -424
  216. data/lib/kitabu/vendor/ruby1.8/uv/syntax/html_mason.syntax +0 -119
  217. data/lib/kitabu/vendor/ruby1.8/uv/syntax/html_rails.syntax +0 -40
  218. data/lib/kitabu/vendor/ruby1.8/uv/syntax/html_tcl.syntax +0 -26
  219. data/lib/kitabu/vendor/ruby1.8/uv/syntax/icalendar.syntax +0 -32
  220. data/lib/kitabu/vendor/ruby1.8/uv/syntax/inform.syntax +0 -48
  221. data/lib/kitabu/vendor/ruby1.8/uv/syntax/ini.syntax +0 -55
  222. data/lib/kitabu/vendor/ruby1.8/uv/syntax/installer_distribution_script.syntax +0 -77
  223. data/lib/kitabu/vendor/ruby1.8/uv/syntax/io.syntax +0 -81
  224. data/lib/kitabu/vendor/ruby1.8/uv/syntax/java.syntax +0 -211
  225. data/lib/kitabu/vendor/ruby1.8/uv/syntax/javaproperties.syntax +0 -20
  226. data/lib/kitabu/vendor/ruby1.8/uv/syntax/javascript.syntax +0 -256
  227. data/lib/kitabu/vendor/ruby1.8/uv/syntax/javascript_+_prototype.syntax +0 -72
  228. data/lib/kitabu/vendor/ruby1.8/uv/syntax/javascript_+_prototype_bracketed.syntax +0 -140
  229. data/lib/kitabu/vendor/ruby1.8/uv/syntax/jquery_javascript.syntax +0 -114
  230. data/lib/kitabu/vendor/ruby1.8/uv/syntax/json.syntax +0 -136
  231. data/lib/kitabu/vendor/ruby1.8/uv/syntax/languagedefinition.syntax +0 -708
  232. data/lib/kitabu/vendor/ruby1.8/uv/syntax/latex.syntax +0 -566
  233. data/lib/kitabu/vendor/ruby1.8/uv/syntax/latex_beamer.syntax +0 -41
  234. data/lib/kitabu/vendor/ruby1.8/uv/syntax/latex_log.syntax +0 -50
  235. data/lib/kitabu/vendor/ruby1.8/uv/syntax/latex_memoir.syntax +0 -64
  236. data/lib/kitabu/vendor/ruby1.8/uv/syntax/lexflex.syntax +0 -219
  237. data/lib/kitabu/vendor/ruby1.8/uv/syntax/lighttpd.syntax +0 -54
  238. data/lib/kitabu/vendor/ruby1.8/uv/syntax/lilypond.syntax +0 -492
  239. data/lib/kitabu/vendor/ruby1.8/uv/syntax/lisp.syntax +0 -61
  240. data/lib/kitabu/vendor/ruby1.8/uv/syntax/literate_haskell.syntax +0 -24
  241. data/lib/kitabu/vendor/ruby1.8/uv/syntax/logo.syntax +0 -29
  242. data/lib/kitabu/vendor/ruby1.8/uv/syntax/logtalk.syntax +0 -152
  243. data/lib/kitabu/vendor/ruby1.8/uv/syntax/lua.syntax +0 -86
  244. data/lib/kitabu/vendor/ruby1.8/uv/syntax/m.syntax +0 -142
  245. data/lib/kitabu/vendor/ruby1.8/uv/syntax/macports_portfile.syntax +0 -163
  246. data/lib/kitabu/vendor/ruby1.8/uv/syntax/mail.syntax +0 -118
  247. data/lib/kitabu/vendor/ruby1.8/uv/syntax/makefile.syntax +0 -36
  248. data/lib/kitabu/vendor/ruby1.8/uv/syntax/man.syntax +0 -17
  249. data/lib/kitabu/vendor/ruby1.8/uv/syntax/markdown.syntax +0 -543
  250. data/lib/kitabu/vendor/ruby1.8/uv/syntax/mediawiki.syntax +0 -567
  251. data/lib/kitabu/vendor/ruby1.8/uv/syntax/mel.syntax +0 -92
  252. data/lib/kitabu/vendor/ruby1.8/uv/syntax/mips.syntax +0 -66
  253. data/lib/kitabu/vendor/ruby1.8/uv/syntax/mod_perl.syntax +0 -50
  254. data/lib/kitabu/vendor/ruby1.8/uv/syntax/modula-3.syntax +0 -47
  255. data/lib/kitabu/vendor/ruby1.8/uv/syntax/moinmoin.syntax +0 -189
  256. data/lib/kitabu/vendor/ruby1.8/uv/syntax/mootools.syntax +0 -572
  257. data/lib/kitabu/vendor/ruby1.8/uv/syntax/movable_type.syntax +0 -162
  258. data/lib/kitabu/vendor/ruby1.8/uv/syntax/multimarkdown.syntax +0 -39
  259. data/lib/kitabu/vendor/ruby1.8/uv/syntax/objective-c++.syntax +0 -18
  260. data/lib/kitabu/vendor/ruby1.8/uv/syntax/objective-c.syntax +0 -233
  261. data/lib/kitabu/vendor/ruby1.8/uv/syntax/ocaml.syntax +0 -764
  262. data/lib/kitabu/vendor/ruby1.8/uv/syntax/ocamllex.syntax +0 -167
  263. data/lib/kitabu/vendor/ruby1.8/uv/syntax/ocamlyacc.syntax +0 -184
  264. data/lib/kitabu/vendor/ruby1.8/uv/syntax/old/YAML.yaml +0 -160
  265. data/lib/kitabu/vendor/ruby1.8/uv/syntax/old/txt2tags.yaml +0 -139
  266. data/lib/kitabu/vendor/ruby1.8/uv/syntax/opengl.syntax +0 -14
  267. data/lib/kitabu/vendor/ruby1.8/uv/syntax/pascal.syntax +0 -77
  268. data/lib/kitabu/vendor/ruby1.8/uv/syntax/perl.syntax +0 -1115
  269. data/lib/kitabu/vendor/ruby1.8/uv/syntax/php.syntax +0 -1253
  270. data/lib/kitabu/vendor/ruby1.8/uv/syntax/plain_text.syntax +0 -32
  271. data/lib/kitabu/vendor/ruby1.8/uv/syntax/pmwiki.syntax +0 -113
  272. data/lib/kitabu/vendor/ruby1.8/uv/syntax/postscript.syntax +0 -114
  273. data/lib/kitabu/vendor/ruby1.8/uv/syntax/processing.syntax +0 -106
  274. data/lib/kitabu/vendor/ruby1.8/uv/syntax/prolog.syntax +0 -40
  275. data/lib/kitabu/vendor/ruby1.8/uv/syntax/property_list.syntax +0 -635
  276. data/lib/kitabu/vendor/ruby1.8/uv/syntax/python.syntax +0 -868
  277. data/lib/kitabu/vendor/ruby1.8/uv/syntax/python_django.syntax +0 -21
  278. data/lib/kitabu/vendor/ruby1.8/uv/syntax/qmake_project.syntax +0 -114
  279. data/lib/kitabu/vendor/ruby1.8/uv/syntax/qt_c++.syntax +0 -26
  280. data/lib/kitabu/vendor/ruby1.8/uv/syntax/quake3_config.syntax +0 -32
  281. data/lib/kitabu/vendor/ruby1.8/uv/syntax/r.syntax +0 -81
  282. data/lib/kitabu/vendor/ruby1.8/uv/syntax/r_console.syntax +0 -16
  283. data/lib/kitabu/vendor/ruby1.8/uv/syntax/ragel.syntax +0 -201
  284. data/lib/kitabu/vendor/ruby1.8/uv/syntax/rd_r_documentation.syntax +0 -91
  285. data/lib/kitabu/vendor/ruby1.8/uv/syntax/regexp.syntax +0 -50
  286. data/lib/kitabu/vendor/ruby1.8/uv/syntax/regular_expressions_oniguruma.syntax +0 -107
  287. data/lib/kitabu/vendor/ruby1.8/uv/syntax/regular_expressions_python.syntax +0 -109
  288. data/lib/kitabu/vendor/ruby1.8/uv/syntax/release_notes.syntax +0 -46
  289. data/lib/kitabu/vendor/ruby1.8/uv/syntax/remind.syntax +0 -253
  290. data/lib/kitabu/vendor/ruby1.8/uv/syntax/restructuredtext.syntax +0 -250
  291. data/lib/kitabu/vendor/ruby1.8/uv/syntax/rez.syntax +0 -80
  292. data/lib/kitabu/vendor/ruby1.8/uv/syntax/ruby.syntax +0 -1035
  293. data/lib/kitabu/vendor/ruby1.8/uv/syntax/ruby_experimental.syntax +0 -145
  294. data/lib/kitabu/vendor/ruby1.8/uv/syntax/ruby_on_rails.syntax +0 -88
  295. data/lib/kitabu/vendor/ruby1.8/uv/syntax/s5.syntax +0 -69
  296. data/lib/kitabu/vendor/ruby1.8/uv/syntax/scheme.syntax +0 -347
  297. data/lib/kitabu/vendor/ruby1.8/uv/syntax/scilab.syntax +0 -41
  298. data/lib/kitabu/vendor/ruby1.8/uv/syntax/setext.syntax +0 -147
  299. data/lib/kitabu/vendor/ruby1.8/uv/syntax/shell-unix-generic.syntax +0 -384
  300. data/lib/kitabu/vendor/ruby1.8/uv/syntax/slate.syntax +0 -149
  301. data/lib/kitabu/vendor/ruby1.8/uv/syntax/smarty.syntax +0 -63
  302. data/lib/kitabu/vendor/ruby1.8/uv/syntax/sql.syntax +0 -237
  303. data/lib/kitabu/vendor/ruby1.8/uv/syntax/sql_rails.syntax +0 -18
  304. data/lib/kitabu/vendor/ruby1.8/uv/syntax/ssh-config.syntax +0 -33
  305. data/lib/kitabu/vendor/ruby1.8/uv/syntax/standard_ml.syntax +0 -121
  306. data/lib/kitabu/vendor/ruby1.8/uv/syntax/strings_file.syntax +0 -39
  307. data/lib/kitabu/vendor/ruby1.8/uv/syntax/subversion_commit_message.syntax +0 -36
  308. data/lib/kitabu/vendor/ruby1.8/uv/syntax/sweave.syntax +0 -84
  309. data/lib/kitabu/vendor/ruby1.8/uv/syntax/swig.syntax +0 -57
  310. data/lib/kitabu/vendor/ruby1.8/uv/syntax/tcl.syntax +0 -152
  311. data/lib/kitabu/vendor/ruby1.8/uv/syntax/template_toolkit.syntax +0 -121
  312. data/lib/kitabu/vendor/ruby1.8/uv/syntax/tex.syntax +0 -86
  313. data/lib/kitabu/vendor/ruby1.8/uv/syntax/tex_math.syntax +0 -49
  314. data/lib/kitabu/vendor/ruby1.8/uv/syntax/textile.syntax +0 -215
  315. data/lib/kitabu/vendor/ruby1.8/uv/syntax/tsv.syntax +0 -50
  316. data/lib/kitabu/vendor/ruby1.8/uv/syntax/twiki.syntax +0 -241
  317. data/lib/kitabu/vendor/ruby1.8/uv/syntax/txt2tags.syntax +0 -79
  318. data/lib/kitabu/vendor/ruby1.8/uv/syntax/vectorscript.syntax +0 -57
  319. data/lib/kitabu/vendor/ruby1.8/uv/syntax/xhtml_1.0.syntax +0 -4027
  320. data/lib/kitabu/vendor/ruby1.8/uv/syntax/xml.syntax +0 -180
  321. data/lib/kitabu/vendor/ruby1.8/uv/syntax/xml_strict.syntax +0 -92
  322. data/lib/kitabu/vendor/ruby1.8/uv/syntax/xsl.syntax +0 -60
  323. data/lib/kitabu/vendor/ruby1.8/uv/syntax/yaml.syntax +0 -160
  324. data/lib/kitabu/vendor/ruby1.8/uv/syntax/yui_javascript.syntax +0 -176
  325. data/lib/kitabu/vendor/ruby1.8/uv/uv.rb +0 -88
  326. data/lib/kitabu/vendor/ruby1.8/uv/uv/render_processor.rb +0 -131
  327. data/lib/kitabu/vendor/ruby1.8/uv/uv/utility.rb +0 -67
  328. data/lib/kitabu/vendor/ruby1.9/plist/plist.rb +0 -23
  329. data/lib/kitabu/vendor/ruby1.9/plist/plist/generator.rb +0 -228
  330. data/lib/kitabu/vendor/ruby1.9/plist/plist/parser.rb +0 -225
  331. data/lib/kitabu/vendor/ruby1.9/textpow/textpow.rb +0 -10
  332. data/lib/kitabu/vendor/ruby1.9/textpow/textpow/debug_processor.rb +0 -37
  333. data/lib/kitabu/vendor/ruby1.9/textpow/textpow/score_manager.rb +0 -66
  334. data/lib/kitabu/vendor/ruby1.9/textpow/textpow/syntax.rb +0 -286
  335. data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/active4d.render +0 -140
  336. data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/all_hallows_eve.render +0 -104
  337. data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/amy.render +0 -179
  338. data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/blackboard.render +0 -119
  339. data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/brilliance_black.render +0 -560
  340. data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/brilliance_dull.render +0 -569
  341. data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/cobalt.render +0 -170
  342. data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/dawn.render +0 -134
  343. data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/eiffel.render +0 -140
  344. data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/espresso_libre.render +0 -131
  345. data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/files/css/active4d.css +0 -114
  346. data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/files/css/all_hallows_eve.css +0 -72
  347. data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/files/css/amy.css +0 -147
  348. data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/files/css/blackboard.css +0 -88
  349. data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/files/css/brilliance_black.css +0 -605
  350. data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/files/css/brilliance_dull.css +0 -599
  351. data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/files/css/cobalt.css +0 -149
  352. data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/files/css/eiffel.css +0 -121
  353. data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/files/css/espresso_libre.css +0 -109
  354. data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/files/css/iplastic.css +0 -80
  355. data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/files/css/lazy.css +0 -73
  356. data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/files/css/mac_classic.css +0 -123
  357. data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/files/css/magicwb_amiga.css +0 -104
  358. data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/files/css/pastels_on_dark.css +0 -188
  359. data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/files/css/slush_poppies.css +0 -85
  360. data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/files/css/spacecadet.css +0 -51
  361. data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/files/css/sunburst.css +0 -180
  362. data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/files/css/twilight.css +0 -137
  363. data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/files/css/zenburnesque.css +0 -91
  364. data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/idle.render +0 -101
  365. data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/iplastic.render +0 -107
  366. data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/lazy.render +0 -104
  367. data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/mac_classic.render +0 -143
  368. data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/magicwb_amiga.render +0 -125
  369. data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/pastels_on_dark.render +0 -212
  370. data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/slush_poppies.render +0 -131
  371. data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/spacecadet.render +0 -89
  372. data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/sunburst.render +0 -194
  373. data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/twilight.render +0 -161
  374. data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/zenburnesque.render +0 -134
  375. data/lib/kitabu/vendor/ruby1.9/uv/syntax/actionscript.syntax +0 -97
  376. data/lib/kitabu/vendor/ruby1.9/uv/syntax/active4d.syntax +0 -276
  377. data/lib/kitabu/vendor/ruby1.9/uv/syntax/active4d_html.syntax +0 -311
  378. data/lib/kitabu/vendor/ruby1.9/uv/syntax/active4d_ini.syntax +0 -50
  379. data/lib/kitabu/vendor/ruby1.9/uv/syntax/active4d_library.syntax +0 -21
  380. data/lib/kitabu/vendor/ruby1.9/uv/syntax/ada.syntax +0 -33
  381. data/lib/kitabu/vendor/ruby1.9/uv/syntax/antlr.syntax +0 -151
  382. data/lib/kitabu/vendor/ruby1.9/uv/syntax/apache.syntax +0 -191
  383. data/lib/kitabu/vendor/ruby1.9/uv/syntax/applescript.syntax +0 -384
  384. data/lib/kitabu/vendor/ruby1.9/uv/syntax/asp.syntax +0 -70
  385. data/lib/kitabu/vendor/ruby1.9/uv/syntax/asp_vb.net.syntax +0 -129
  386. data/lib/kitabu/vendor/ruby1.9/uv/syntax/bibtex.syntax +0 -151
  387. data/lib/kitabu/vendor/ruby1.9/uv/syntax/blog_html.syntax +0 -41
  388. data/lib/kitabu/vendor/ruby1.9/uv/syntax/blog_markdown.syntax +0 -42
  389. data/lib/kitabu/vendor/ruby1.9/uv/syntax/blog_text.syntax +0 -27
  390. data/lib/kitabu/vendor/ruby1.9/uv/syntax/blog_textile.syntax +0 -27
  391. data/lib/kitabu/vendor/ruby1.9/uv/syntax/build.syntax +0 -53
  392. data/lib/kitabu/vendor/ruby1.9/uv/syntax/bulletin_board.syntax +0 -287
  393. data/lib/kitabu/vendor/ruby1.9/uv/syntax/cake.syntax +0 -55
  394. data/lib/kitabu/vendor/ruby1.9/uv/syntax/camlp4.syntax +0 -36
  395. data/lib/kitabu/vendor/ruby1.9/uv/syntax/cm.syntax +0 -32
  396. data/lib/kitabu/vendor/ruby1.9/uv/syntax/coldfusion.syntax +0 -119
  397. data/lib/kitabu/vendor/ruby1.9/uv/syntax/context_free.syntax +0 -176
  398. data/lib/kitabu/vendor/ruby1.9/uv/syntax/cs.syntax +0 -59
  399. data/lib/kitabu/vendor/ruby1.9/uv/syntax/css.syntax +0 -195
  400. data/lib/kitabu/vendor/ruby1.9/uv/syntax/css_experimental.syntax +0 -1925
  401. data/lib/kitabu/vendor/ruby1.9/uv/syntax/csv.syntax +0 -68
  402. data/lib/kitabu/vendor/ruby1.9/uv/syntax/d.syntax +0 -142
  403. data/lib/kitabu/vendor/ruby1.9/uv/syntax/diff.syntax +0 -81
  404. data/lib/kitabu/vendor/ruby1.9/uv/syntax/dokuwiki.syntax +0 -204
  405. data/lib/kitabu/vendor/ruby1.9/uv/syntax/dot.syntax +0 -47
  406. data/lib/kitabu/vendor/ruby1.9/uv/syntax/doxygen.syntax +0 -43
  407. data/lib/kitabu/vendor/ruby1.9/uv/syntax/dylan.syntax +0 -62
  408. data/lib/kitabu/vendor/ruby1.9/uv/syntax/eiffel.syntax +0 -78
  409. data/lib/kitabu/vendor/ruby1.9/uv/syntax/erlang.syntax +0 -922
  410. data/lib/kitabu/vendor/ruby1.9/uv/syntax/f-script.syntax +0 -80
  411. data/lib/kitabu/vendor/ruby1.9/uv/syntax/fortran.syntax +0 -141
  412. data/lib/kitabu/vendor/ruby1.9/uv/syntax/fxscript.syntax +0 -142
  413. data/lib/kitabu/vendor/ruby1.9/uv/syntax/greasemonkey.syntax +0 -34
  414. data/lib/kitabu/vendor/ruby1.9/uv/syntax/gri.syntax +0 -83
  415. data/lib/kitabu/vendor/ruby1.9/uv/syntax/groovy.syntax +0 -191
  416. data/lib/kitabu/vendor/ruby1.9/uv/syntax/gtd.syntax +0 -22
  417. data/lib/kitabu/vendor/ruby1.9/uv/syntax/gtdalt.syntax +0 -143
  418. data/lib/kitabu/vendor/ruby1.9/uv/syntax/haml.syntax +0 -88
  419. data/lib/kitabu/vendor/ruby1.9/uv/syntax/haskell.syntax +0 -88
  420. data/lib/kitabu/vendor/ruby1.9/uv/syntax/html-asp.syntax +0 -27
  421. data/lib/kitabu/vendor/ruby1.9/uv/syntax/html.syntax +0 -362
  422. data/lib/kitabu/vendor/ruby1.9/uv/syntax/html_django.syntax +0 -36
  423. data/lib/kitabu/vendor/ruby1.9/uv/syntax/html_for_asp.net.syntax +0 -424
  424. data/lib/kitabu/vendor/ruby1.9/uv/syntax/html_mason.syntax +0 -119
  425. data/lib/kitabu/vendor/ruby1.9/uv/syntax/html_rails.syntax +0 -40
  426. data/lib/kitabu/vendor/ruby1.9/uv/syntax/html_tcl.syntax +0 -26
  427. data/lib/kitabu/vendor/ruby1.9/uv/syntax/icalendar.syntax +0 -32
  428. data/lib/kitabu/vendor/ruby1.9/uv/syntax/inform.syntax +0 -48
  429. data/lib/kitabu/vendor/ruby1.9/uv/syntax/ini.syntax +0 -55
  430. data/lib/kitabu/vendor/ruby1.9/uv/syntax/installer_distribution_script.syntax +0 -77
  431. data/lib/kitabu/vendor/ruby1.9/uv/syntax/io.syntax +0 -81
  432. data/lib/kitabu/vendor/ruby1.9/uv/syntax/java.syntax +0 -211
  433. data/lib/kitabu/vendor/ruby1.9/uv/syntax/javaproperties.syntax +0 -20
  434. data/lib/kitabu/vendor/ruby1.9/uv/syntax/javascript.syntax +0 -256
  435. data/lib/kitabu/vendor/ruby1.9/uv/syntax/javascript_+_prototype.syntax +0 -72
  436. data/lib/kitabu/vendor/ruby1.9/uv/syntax/javascript_+_prototype_bracketed.syntax +0 -140
  437. data/lib/kitabu/vendor/ruby1.9/uv/syntax/jquery_javascript.syntax +0 -114
  438. data/lib/kitabu/vendor/ruby1.9/uv/syntax/json.syntax +0 -136
  439. data/lib/kitabu/vendor/ruby1.9/uv/syntax/languagedefinition.syntax +0 -708
  440. data/lib/kitabu/vendor/ruby1.9/uv/syntax/latex.syntax +0 -566
  441. data/lib/kitabu/vendor/ruby1.9/uv/syntax/latex_beamer.syntax +0 -41
  442. data/lib/kitabu/vendor/ruby1.9/uv/syntax/latex_log.syntax +0 -50
  443. data/lib/kitabu/vendor/ruby1.9/uv/syntax/latex_memoir.syntax +0 -64
  444. data/lib/kitabu/vendor/ruby1.9/uv/syntax/lexflex.syntax +0 -219
  445. data/lib/kitabu/vendor/ruby1.9/uv/syntax/lighttpd.syntax +0 -54
  446. data/lib/kitabu/vendor/ruby1.9/uv/syntax/lilypond.syntax +0 -492
  447. data/lib/kitabu/vendor/ruby1.9/uv/syntax/lisp.syntax +0 -61
  448. data/lib/kitabu/vendor/ruby1.9/uv/syntax/literate_haskell.syntax +0 -24
  449. data/lib/kitabu/vendor/ruby1.9/uv/syntax/logo.syntax +0 -29
  450. data/lib/kitabu/vendor/ruby1.9/uv/syntax/logtalk.syntax +0 -152
  451. data/lib/kitabu/vendor/ruby1.9/uv/syntax/lua.syntax +0 -86
  452. data/lib/kitabu/vendor/ruby1.9/uv/syntax/m.syntax +0 -142
  453. data/lib/kitabu/vendor/ruby1.9/uv/syntax/macports_portfile.syntax +0 -163
  454. data/lib/kitabu/vendor/ruby1.9/uv/syntax/makefile.syntax +0 -36
  455. data/lib/kitabu/vendor/ruby1.9/uv/syntax/man.syntax +0 -17
  456. data/lib/kitabu/vendor/ruby1.9/uv/syntax/mediawiki.syntax +0 -567
  457. data/lib/kitabu/vendor/ruby1.9/uv/syntax/mips.syntax +0 -66
  458. data/lib/kitabu/vendor/ruby1.9/uv/syntax/mod_perl.syntax +0 -50
  459. data/lib/kitabu/vendor/ruby1.9/uv/syntax/modula-3.syntax +0 -47
  460. data/lib/kitabu/vendor/ruby1.9/uv/syntax/moinmoin.syntax +0 -189
  461. data/lib/kitabu/vendor/ruby1.9/uv/syntax/mootools.syntax +0 -572
  462. data/lib/kitabu/vendor/ruby1.9/uv/syntax/movable_type.syntax +0 -162
  463. data/lib/kitabu/vendor/ruby1.9/uv/syntax/multimarkdown.syntax +0 -39
  464. data/lib/kitabu/vendor/ruby1.9/uv/syntax/objective-c++.syntax +0 -18
  465. data/lib/kitabu/vendor/ruby1.9/uv/syntax/objective-c.syntax +0 -233
  466. data/lib/kitabu/vendor/ruby1.9/uv/syntax/ocaml.syntax +0 -764
  467. data/lib/kitabu/vendor/ruby1.9/uv/syntax/ocamllex.syntax +0 -167
  468. data/lib/kitabu/vendor/ruby1.9/uv/syntax/ocamlyacc.syntax +0 -184
  469. data/lib/kitabu/vendor/ruby1.9/uv/syntax/opengl.syntax +0 -14
  470. data/lib/kitabu/vendor/ruby1.9/uv/syntax/pascal.syntax +0 -77
  471. data/lib/kitabu/vendor/ruby1.9/uv/syntax/perl.syntax +0 -1115
  472. data/lib/kitabu/vendor/ruby1.9/uv/syntax/plain_text.syntax +0 -32
  473. data/lib/kitabu/vendor/ruby1.9/uv/syntax/postscript.syntax +0 -114
  474. data/lib/kitabu/vendor/ruby1.9/uv/syntax/processing.syntax +0 -106
  475. data/lib/kitabu/vendor/ruby1.9/uv/syntax/prolog.syntax +0 -40
  476. data/lib/kitabu/vendor/ruby1.9/uv/syntax/property_list.syntax +0 -635
  477. data/lib/kitabu/vendor/ruby1.9/uv/syntax/python.syntax +0 -868
  478. data/lib/kitabu/vendor/ruby1.9/uv/syntax/python_django.syntax +0 -21
  479. data/lib/kitabu/vendor/ruby1.9/uv/syntax/qmake_project.syntax +0 -114
  480. data/lib/kitabu/vendor/ruby1.9/uv/syntax/qt_c++.syntax +0 -26
  481. data/lib/kitabu/vendor/ruby1.9/uv/syntax/quake3_config.syntax +0 -32
  482. data/lib/kitabu/vendor/ruby1.9/uv/syntax/r.syntax +0 -81
  483. data/lib/kitabu/vendor/ruby1.9/uv/syntax/r_console.syntax +0 -16
  484. data/lib/kitabu/vendor/ruby1.9/uv/syntax/ragel.syntax +0 -201
  485. data/lib/kitabu/vendor/ruby1.9/uv/syntax/rd_r_documentation.syntax +0 -91
  486. data/lib/kitabu/vendor/ruby1.9/uv/syntax/regexp.syntax +0 -50
  487. data/lib/kitabu/vendor/ruby1.9/uv/syntax/release_notes.syntax +0 -46
  488. data/lib/kitabu/vendor/ruby1.9/uv/syntax/remind.syntax +0 -253
  489. data/lib/kitabu/vendor/ruby1.9/uv/syntax/restructuredtext.syntax +0 -250
  490. data/lib/kitabu/vendor/ruby1.9/uv/syntax/rez.syntax +0 -80
  491. data/lib/kitabu/vendor/ruby1.9/uv/syntax/ruby.syntax +0 -1035
  492. data/lib/kitabu/vendor/ruby1.9/uv/syntax/ruby_experimental.syntax +0 -145
  493. data/lib/kitabu/vendor/ruby1.9/uv/syntax/ruby_on_rails.syntax +0 -88
  494. data/lib/kitabu/vendor/ruby1.9/uv/syntax/s5.syntax +0 -69
  495. data/lib/kitabu/vendor/ruby1.9/uv/syntax/scheme.syntax +0 -347
  496. data/lib/kitabu/vendor/ruby1.9/uv/syntax/scilab.syntax +0 -41
  497. data/lib/kitabu/vendor/ruby1.9/uv/syntax/setext.syntax +0 -147
  498. data/lib/kitabu/vendor/ruby1.9/uv/syntax/shell-unix-generic.syntax +0 -384
  499. data/lib/kitabu/vendor/ruby1.9/uv/syntax/slate.syntax +0 -149
  500. data/lib/kitabu/vendor/ruby1.9/uv/syntax/sql.syntax +0 -237
  501. data/lib/kitabu/vendor/ruby1.9/uv/syntax/sql_rails.syntax +0 -18
  502. data/lib/kitabu/vendor/ruby1.9/uv/syntax/ssh-config.syntax +0 -33
  503. data/lib/kitabu/vendor/ruby1.9/uv/syntax/standard_ml.syntax +0 -121
  504. data/lib/kitabu/vendor/ruby1.9/uv/syntax/strings_file.syntax +0 -39
  505. data/lib/kitabu/vendor/ruby1.9/uv/syntax/subversion_commit_message.syntax +0 -36
  506. data/lib/kitabu/vendor/ruby1.9/uv/syntax/sweave.syntax +0 -84
  507. data/lib/kitabu/vendor/ruby1.9/uv/syntax/swig.syntax +0 -57
  508. data/lib/kitabu/vendor/ruby1.9/uv/syntax/tcl.syntax +0 -152
  509. data/lib/kitabu/vendor/ruby1.9/uv/syntax/template_toolkit.syntax +0 -121
  510. data/lib/kitabu/vendor/ruby1.9/uv/syntax/tex.syntax +0 -86
  511. data/lib/kitabu/vendor/ruby1.9/uv/syntax/tex_math.syntax +0 -49
  512. data/lib/kitabu/vendor/ruby1.9/uv/syntax/textile.syntax +0 -215
  513. data/lib/kitabu/vendor/ruby1.9/uv/syntax/tsv.syntax +0 -50
  514. data/lib/kitabu/vendor/ruby1.9/uv/syntax/twiki.syntax +0 -241
  515. data/lib/kitabu/vendor/ruby1.9/uv/syntax/txt2tags.syntax +0 -79
  516. data/lib/kitabu/vendor/ruby1.9/uv/syntax/vectorscript.syntax +0 -57
  517. data/lib/kitabu/vendor/ruby1.9/uv/syntax/xhtml_1.0.syntax +0 -4027
  518. data/lib/kitabu/vendor/ruby1.9/uv/syntax/xml.syntax +0 -180
  519. data/lib/kitabu/vendor/ruby1.9/uv/syntax/xml_strict.syntax +0 -92
  520. data/lib/kitabu/vendor/ruby1.9/uv/syntax/xsl.syntax +0 -60
  521. data/lib/kitabu/vendor/ruby1.9/uv/syntax/yaml.syntax +0 -160
  522. data/lib/kitabu/vendor/ruby1.9/uv/syntax/yui_javascript.syntax +0 -176
  523. data/lib/kitabu/vendor/ruby1.9/uv/uv.rb +0 -89
  524. data/lib/kitabu/vendor/ruby1.9/uv/uv/render_processor.rb +0 -132
  525. data/lib/kitabu/vendor/ruby1.9/uv/uv/utility.rb +0 -68
  526. data/spec/exit_matcher.rb +0 -45
  527. data/spec/fixtures/rails-guides/code/sample.rb +0 -7
  528. data/spec/kitabu/base_spec.rb +0 -159
  529. data/spec/kitabu/blackcloth_spec.rb +0 -41
  530. data/spec/kitabu/bug_fix_spec.rb +0 -25
  531. data/spec/kitabu/command_spec.rb +0 -82
  532. data/templates/Rakefile +0 -3
  533. data/templates/config.yml +0 -9
  534. data/templates/layouts/boom/layout.css +0 -469
  535. data/templates/syntax.css +0 -1065
  536. data/templates/themes/active4d.css +0 -114
  537. data/templates/themes/blackboard.css +0 -88
  538. data/templates/themes/dawn.css +0 -121
  539. data/templates/themes/eiffel.css +0 -121
  540. data/templates/themes/idle.css +0 -62
  541. data/templates/themes/iplastic.css +0 -80
  542. data/templates/themes/lazy.css +0 -73
  543. data/templates/themes/slush_poppies.css +0 -85
  544. data/templates/themes/sunburst.css +0 -180
@@ -1,211 +0,0 @@
1
- ---
2
- name: Java
3
- fileTypes:
4
- - java
5
- - bsh
6
- scopeName: source.java
7
- repository:
8
- statement-remainder:
9
- patterns:
10
- - name: meta.definition.param-list.java
11
- begin: \(
12
- end: (?=\))
13
- patterns:
14
- - include: "#all-types"
15
- - name: meta.definition.throws.java
16
- captures:
17
- "1":
18
- name: keyword.other.class-fns.java
19
- begin: (throws)
20
- end: (?={)
21
- patterns:
22
- - include: "#all-types"
23
- comments:
24
- patterns:
25
- - name: comment.block.java
26
- captures:
27
- "0":
28
- name: punctuation.definition.comment.java
29
- begin: /\*
30
- end: \*/
31
- - name: comment.line.double-slash.java
32
- captures:
33
- "1":
34
- name: punctuation.definition.comment.java
35
- match: (//).*$\n?
36
- all-types:
37
- patterns:
38
- - include: "#support-type-built-ins-java"
39
- - include: "#support-type-java"
40
- - include: "#storage-type-java"
41
- support-type-java:
42
- name: support.type.java
43
- match: \b(java(x)?\.([a-z]\w+\.)+[A-Z]\w+)\b
44
- support-type-built-ins-java:
45
- name: support.type.built-ins.java
46
- match: \b(R(GBImageFilter|MI(S(ocketFactory|e(curity(Manager|Exception)|rver(SocketFactory|Impl(_Stub)?)?))|C(onnect(ion(Impl(_Stub)?)?|or(Server)?)|l(ientSocketFactory|assLoader(Spi)?))|IIOPServerImpl|JRMPServerImpl|FailureHandler)|SA(MultiPrimePrivateCrtKey(Spec)?|OtherPrimeInfo|P(ublicKey(Spec)?|rivate(CrtKey(Spec)?|Key(Spec)?))|Key(GenParameterSpec)?)|o(otPane(Container|UI)|und(Rectangle2D|ingMode)|w(Mapper|Set(Reader|MetaData(Impl)?|Internal|Event|W(arning|riter)|Listener)?)|le(Result|Status|NotFoundException|Info(NotFoundException)?|Unresolved(List)?|List)?|bot)|dn|C(2ParameterSpec|5ParameterSpec)|u(n(nable|time(M(XBean|BeanException)|OperationsException|Permission|E(rrorException|xception))?)|leBasedCollator)|TFEditorKit|e(s(caleOp|o(urceBundle|l(utionSyntax|ve(Result|r)))|ult(Set(MetaData)?)?|ponseCache)|nder(ingHints|Context|e(dImage(Factory)?|r)|ableImage(Op|Producer)?)|c(tang(ularShape|le(2D)?)|eiver)|tention(Policy)?|jectedExecution(Handler|Exception)|p(licateScaleFilter|aintManager)|entrant(ReadWriteLock|Lock)|verbType|qu(iredModelMBean|estingUserName)|f(er(ence(UriSchemesSupported|able|Queue)?|ralException)|lect(ionException|Permission)|resh(able|FailedException)|Addr)?|lation(S(upport(MBean)?|ervice(MBean|NotRegisteredException)?)|Not(ification|FoundException)|Type(Support|NotFoundException)?|Exception)?|a(d(er|OnlyBufferException|able(ByteChannel)?|WriteLock)|lmC(hoiceCallback|allback))|gi(st(erableService|ry(Handler)?)|on)|mote(Ref|S(tub|erver)|Call|Object(InvocationHandler)?|Exception)?)|a(ster(Op|FormatException)?|ndom(Access(File)?)?))|G(uard(edObject)?|ener(ic(SignatureFormatError|Declaration|ArrayType)|al(SecurityException|Path))|ZIP(InputStream|OutputStream)|lyph(Metrics|JustificationInfo|V(iew|ector))|a(theringByteChannel|ugeMonitor(MBean)?|pContent|rbageCollectorMXBean)|r(id(Bag(Constraints|Layout)|Layout)|oup|egorianCalendar|a(yFilter|dientPaint|phic(s(2D|Config(uration|Template)|Device|Environment)?|Attribute))))|X(ML(GregorianCalendar|Constants|Decoder|ParseException|Encoder|Formatter)|id|Path(Constants|Ex(ception|pression(Exception)?)|VariableResolver|F(unction(Resolver|Exception)?|actory(ConfigurationException)?))?|50(9(C(RL(Selector|Entry)?|ert(ificate|Selector))|TrustManager|E(ncodedKeySpec|xten(sion|dedKeyManager))|KeyManager)|0Pri(ncipal|vateCredential))|ml(Reader|Writer)|A(Resource|Connection|DataSource|Exception))|M(GF1ParameterSpec|Bean(Registration(Exception)?|Server(Builder|Notification(Filter)?|Connection|InvocationHandler|Delegate(MBean)?|Permission|F(orwarder|actory))?|NotificationInfo|ConstructorInfo|TrustPermission|Info|OperationInfo|P(ermission|arameterInfo)|Exception|FeatureInfo|AttributeInfo)|i(ssing(ResourceException|Format(WidthException|ArgumentException))|nimalHTMLWriter|di(Message|System|Channel|Device(Provider)?|UnavailableException|Event|File(Reader|Format|Writer))|xer(Provider)?|meTypeParseException)|o(nitor(MBean|SettingException|Notification)?|d(ifi(cationItem|er)|elMBean(Notification(Broadcaster|Info)|ConstructorInfo|Info(Support)?|OperationInfo|AttributeInfo)?)|use(Motion(Listener|Adapter)|In(put(Listener|Adapter)|fo)|DragGestureRecognizer|Event|Wheel(Event|Listener)|Listener|Adapter))|u(table(ComboBoxModel|TreeNode|AttributeSet)|lti(RootPaneUI|castSocket|Menu(BarUI|ItemUI)|ButtonUI|S(croll(BarUI|PaneUI)|p(innerUI|litPaneUI)|eparatorUI|liderUI)|Co(lorChooserUI|mboBoxUI)|T(ool(BarUI|TipUI)|extUI|ab(le(HeaderUI|UI)|bedPaneUI)|reeUI)|InternalFrameUI|ple(Master|DocumentHandling)|OptionPaneUI|D(oc(Print(Service|Job))?|esktop(IconUI|PaneUI))|P(ixelPackedSampleModel|opupMenuUI|anelUI|rogressBarUI)|ViewportUI|FileChooserUI|L(istUI|ookAndFeel|abelUI)))|e(ssage(Digest(Spi)?|Format)|nu(Bar(UI)?|S(hortcut|electionManager)|Co(ntainer|mponent)|Item(UI)?|DragMouse(Event|Listener)|E(vent|lement)|Key(Event|Listener)|Listener)?|t(hod(Descriptor)?|a(Message|EventListener|l(R(ootPaneUI|adioButtonUI)|MenuBarUI|B(orders|uttonUI)|S(croll(B(utton|arUI)|PaneUI)|plitPaneUI|eparatorUI|liderUI)|C(heckBox(Icon|UI)|omboBox(Button|Icon|UI|Editor))|T(heme|o(ol(BarUI|TipUI)|ggleButtonUI)|extFieldUI|abbedPaneUI|reeUI)|I(nternalFrame(TitlePane|UI)|conFactory)|DesktopIconUI|P(opupMenuSeparatorUI|rogressBarUI)|FileChooserUI|L(ookAndFeel|abelUI))))|dia(Size(Name)?|Name|Tra(y|cker)|PrintableArea)?|m(ory(M(XBean|anagerMXBean)|Handler|NotificationInfo|CacheImage(InputStream|OutputStream)|Type|ImageSource|Usage|PoolMXBean)|ber))|a(skFormatter|n(ifest|age(ReferralControl|rFactoryParameters|ment(Permission|Factory)))|c(Spi)?|t(h(Context)?|ch(Result|er)|teBorder)|p(pedByteBuffer)?|lformed(InputException|ObjectNameException|URLException|ParameterizedTypeException|LinkException)|rshal(Exception|ledObject))|Let(MBean)?)|B(yte(Buffer|Channel|Order|LookupTable|Array(InputStream|OutputStream))?|MPImageWriteParam|i(n(d(ing|Exception)|aryRefAddr)|tSet|di|g(Integer|Decimal))|o(o(k|lean(Control)?)|undedRangeModel|rder(UIResource|Factory|Layout)?|x(View|Layout)?)|u(tton(Group|Model|UI)?|ffer(Strategy|Capabilities|ed(Reader|I(nputStream|mage(Op|Filter)?)|OutputStream|Writer)|OverflowException|UnderflowException)?)|e(velBorder|an(s|Context(Membership(Event|Listener)|S(upport|ervice(s(Support|Listener)?|Revoked(Event|Listener)|Provider(BeanInfo)?|AvailableEvent))|C(hild(Support|ComponentProxy)?|ontainerProxy)|Proxy|Event)?|Info|Descriptor))|lo(ck(ingQueue|View)|b)|a(s(ic(R(ootPaneUI|adioButton(MenuItemUI|UI))|GraphicsUtils|Menu(BarUI|ItemUI|UI)|B(orders|utton(UI|Listener))|S(croll(BarUI|PaneUI)|troke|p(innerUI|litPane(Divider|UI))|eparatorUI|liderUI)|HTML|C(heckBox(MenuItemUI|UI)|o(ntrol|lorChooserUI|mbo(Box(Renderer|UI|Editor)|Popup)))|T(o(ol(Bar(SeparatorUI|UI)|TipUI)|ggleButtonUI)|ext(UI|PaneUI|FieldUI|AreaUI)|ab(le(HeaderUI|UI)|bedPaneUI)|reeUI)|I(nternalFrame(TitlePane|UI)|conFactory)|OptionPaneUI|D(irectoryModel|esktop(IconUI|PaneUI))|P(opupMenu(SeparatorUI|UI)|ermission|a(sswordFieldUI|nelUI)|rogressBarUI)|EditorPaneUI|ViewportUI|F(ileChooserUI|ormattedTextFieldUI)|L(istUI|ookAndFeel|abelUI)|A(ttribute(s)?|rrowButton))|eRowSet)|nd(CombineOp|edSampleModel)|ckingStoreException|tchUpdateException|d(BinaryOpValueExpException|StringOperationException|PaddingException|LocationException|AttributeValueExpException))|r(okenBarrierException|eakIterator))|S(slRMI(ServerSocketFactory|ClientSocketFactory)|h(ort(Message|Buffer(Exception)?|LookupTable)?|eetCollate|ape(GraphicAttribute)?)|y(s(tem(Color|FlavorMap)?|exMessage)|n(c(hronousQueue|Resolver|Provider(Exception)?|Fa(ctory(Exception)?|iledException))|th(GraphicsUtils|Style(Factory)?|Con(stants|text)|esizer|Painter|LookAndFeel)))|c(he(duled(ThreadPoolExecutor|ExecutorService|Future)|ma(ViolationException|Factory(Loader)?)?)|a(nner|tteringByteChannel)|roll(BarUI|Pane(Constants|UI|Layout|Adjustable)?|able|bar))|t(yle(Sheet|d(Document|EditorKit)|Con(stants|text))?|ub(NotFoundException|Delegate)?|a(ndardMBean|ck(TraceElement|OverflowError)?|te(Edit(able)?|Factory|ment)|rtTlsRe(sponse|quest))|r(i(ng(Re(fAddr|ader)|Monitor(MBean)?|Bu(ilder|ffer(InputStream)?)|Selection|C(haracterIterator|ontent)|Tokenizer|IndexOutOfBoundsException|ValueExp|Writer)?|ctMath)|oke|uct|eam(Result|Source|Handler|CorruptedException|Tokenizer|PrintService(Factory)?)))|i(ngle(SelectionModel|PixelPackedSampleModel)|ze(Requirements|Sequence|2DSyntax|LimitExceededException)|des|gn(e(dObject|r)|ature(Spi|Exception)?)|mple(BeanInfo|T(ype|imeZone)|D(oc|ateFormat)|Formatter|AttributeSet))|SL(S(ocket(Factory)?|e(ssion(Binding(Event|Listener)|Context)?|rverSocket(Factory)?))|HandshakeException|Context(Spi)?|P(e(erUnverifiedException|rmission)|rotocolException)|E(ngine(Result)?|xception)|KeyException)|o(cket(SecurityException|Handler|Channel|TimeoutException|Impl(Factory)?|Options|Permission|Exception|Factory|Address)?|u(ndbank(Re(source|ader))?|rce(DataLine|Locator)?)|ft(Reference|BevelBorder)|rt(ResponseControl|ingFocusTraversalPolicy|Control|ed(Map|Set)|Key))|u(pp(ortedValuesAttribute|ressWarnings)|bject(D(omainCombiner|elegationPermission))?)|p(inner(Model|NumberModel|DateModel|UI|ListModel)|litPaneUI|ring(Layout)?)|e(c(ur(ity(Manager|Permission|Exception)?|e(Random(Spi)?|C(lassLoader|acheResponse)))|retKey(Spec|Factory(Spi)?)?)|t(OfIntegerSyntax)?|paratorUI|verity|quence(InputStream|r)?|lect(ionKey|or(Provider)?|ableChannel)|a(ledObject|rch(Result|Controls))|r(ial(Ref|Blob|izable(Permission)?|Struct|Clob|Datalink|JavaObject|Exception|Array)|v(ice(Registry|NotFoundException|U(navailableException|I(Factory)?)|Permission)|er(R(untimeException|ef)|Socket(Channel|Factory)?|NotActiveException|CloneException|E(rror|xception))))|gment|maphore)|keleton(MismatchException|NotFoundException)?|wing(Constants|Utilities|PropertyChangeSupport)|liderUI|a(sl(Server(Factory)?|Client(Factory)?|Exception)?|vepoint|mpleModel)|QL(Input(Impl)?|Output(Impl)?|Data|Permission|Exception|Warning)|AX(Result|Source|TransformerFactory|Parser(Factory)?))|H(yperlink(Event|Listener)|ttp(sURLConnection|RetryException|URLConnection)|i(erarchy(Bounds(Listener|Adapter)|Event|Listener)|ghlighter)|ostnameVerifier|TML(Document|EditorKit|FrameHyperlinkEvent|Writer)?|eadlessException|a(s(h(Map|table|Set|DocAttributeSet|Print(RequestAttributeSet|ServiceAttributeSet|JobAttributeSet)|AttributeSet)|Controls)|nd(shakeCompleted(Event|Listener)|ler)))|N(o(RouteToHostException|n(ReadableChannelException|invertibleTransformException|WritableChannelException)|t(BoundException|ification(Result|Broadcaster(Support)?|Emitter|Filter(Support)?|Listener)?|SerializableException|Yet(BoundException|ConnectedException)|Co(ntextException|mpliantMBeanException)|OwnerException|ActiveException)|Such(MethodE(rror|xception)|ObjectException|P(addingException|roviderException)|ElementException|FieldE(rror|xception)|A(ttributeException|lgorithmException))|deChange(Event|Listener)|C(onnectionPendingException|lassDefFoundError)|InitialContextException|PermissionException)|u(ll(Cipher|PointerException)|m(ericShaper|ber(Of(InterveningJobs|Documents)|Up(Supported)?|Format(ter|Exception)?)?))|e(t(Permission|workInterface)|gativeArraySizeException)|a(vigationFilter|m(ing(Manager|SecurityException|E(numeration|vent|xception(Event)?)|Listener)?|e(spaceC(hangeListener|ontext)|NotFoundException|C(lassPair|allback)|Parser|AlreadyBoundException)?)))|C(h(oice(Callback|Format)?|eck(sum|ed(InputStream|OutputStream)|box(Group|MenuItem)?)|a(n(nel(s)?|ge(dCharSetException|Event|Listener))|r(set(Decoder|Provider|Encoder)?|Buffer|Sequence|ConversionException|acter(CodingException|Iterator)?|Array(Reader|Writer)))|romaticity)|R(C32|L(Selector|Exception)?)|yclicBarrier|MMException|ipher(Spi|InputStream|OutputStream)?|SS|o(n(s(tructor|oleHandler)|nect(ion(P(oolDataSource|endingException)|Event(Listener)?)?|IOException|Exception)|current(M(odificationException|ap)|HashMap|LinkedQueue)|t(e(nt(Model|Handler(Factory)?)|xt(NotEmptyException|ualRenderedImageFactory)?)|ainer(OrderFocusTraversalPolicy|Event|Listener|Adapter)?|rol(lerEventListener|Factory)?)|dition|volveOp|fi(rmationCallback|guration(Exception)?))|okieHandler|d(ingErrorAction|e(S(igner|ource)|r(Result|MalfunctionError)))|unt(erMonitor(MBean)?|DownLatch)|p(yOnWriteArray(Set|List)|ies(Supported)?)|l(or(Model|S(upported|pace|electionModel)|C(hooser(ComponentFactory|UI)|onvertOp)|Type|UIResource)?|l(ection(s|CertStoreParameters)?|at(ion(ElementIterator|Key)|or)))|m(p(il(er|ationMXBean)|o(site(Name|Context|Type|Data(Support)?|View)?|nent(SampleModel|ColorModel|InputMap(UIResource)?|Orientation|UI|Event|View|Listener|Adapter)?|und(Border|Name|Control|Edit))|letionService|ara(tor|ble)|ression)|municationException|bo(Box(Model|UI|Editor)|Popup)))|u(stomizer|r(sor|rency)|bicCurve2D)|e(ll(RendererPane|Editor(Listener)?)|rt(ificate(NotYetValidException|ParsingException|E(ncodingException|x(ception|piredException))|Factory(Spi)?)?|S(tore(Spi|Parameters|Exception)?|elector)|Path(Builder(Result|Spi|Exception)?|TrustManagerParameters|Parameters|Validator(Result|Spi|Exception)?)?))|l(ip(board(Owner)?)?|o(se(d(ByInterruptException|SelectorException|ChannelException)|able)|ne(NotSupportedException|able)|b)|ass(NotFoundException|C(ircularityError|astException)|De(sc|finition)|F(ileTransformer|ormatError)|Load(ingMXBean|er(Repository)?))?)|a(n(not(RedoException|UndoException|ProceedException)|cel(l(edKeyException|ationException)|ablePrintJob)|vas)|che(Re(sponse|quest)|dRowSet)|l(endar|l(able(Statement)?|back(Handler)?))|r(dLayout|et(Event|Listener)?))|r(opImageFilter|edential(NotFoundException|Ex(ception|piredException))))|T(hr(owable|ead(Group|MXBean|Info|Death|PoolExecutor|Factory|Local)?)|ype(s|NotPresentException|InfoProvider|Variable)?|i(tledBorder|e|leObserver|me(stamp|outException|Zone|Unit|r(MBean|Notification|Task|AlarmClockNotification)?|LimitExceededException)?)|oo(ManyListenersException|l(BarUI|Tip(Manager|UI)|kit))|e(xt(Measurer|Syntax|HitInfo|Component|urePaint|InputCallback|OutputCallback|UI|Event|Field|L(istener|ayout)|A(ction|ttribute|rea))|mplates(Handler)?)|a(rget(edNotification|DataLine)?|gElement|b(S(top|et)|ular(Type|Data(Support)?)|Expander|le(Model(Event|Listener)?|HeaderUI|C(olumn(Model(Event|Listener)?)?|ell(Renderer|Editor))|UI|View)|ableView|bedPaneUI))|r(ust(Manager(Factory(Spi)?)?|Anchor)|ee(M(odel(Event|Listener)?|ap)|Se(t|lection(Model|Event|Listener))|Node|Cell(Renderer|Editor)|UI|Path|Expansion(Event|Listener)|WillExpandListener)|a(ns(parency|f(orm(er(Handler|ConfigurationException|Exception|Factory(ConfigurationError)?)?|Attribute)|er(Handler|able))|action(R(olledbackException|equiredException)|alWriter)|mitter)|ck)))|I(n(s(t(an(ce(NotFoundException|AlreadyExistsException)|tiationE(rror|xception))|rument(ation)?)|ufficientResourcesException|ets(UIResource)?)|herit(ed|ableThreadLocal)|comp(leteAnnotationException|atibleClassChangeError)|t(Buffer|e(r(na(tionalFormatter|l(Error|Frame(UI|Event|FocusTraversalPolicy|Listener|Adapter)))|rupt(ibleChannel|ed(NamingException|IOException|Exception)))|ger(Syntax)?)|rospect(ionException|or))|itial(Context(Factory(Builder)?)?|DirContext|LdapContext)|dex(ColorModel|edProperty(ChangeEvent|Descriptor)|OutOfBoundsException)|put(M(ismatchException|ethod(Requests|Highlight|Context|Descriptor|Event|Listener)?|ap(UIResource)?)|S(tream(Reader)?|ubset)|Context|Event|Verifier)|et(SocketAddress|4Address|Address|6Address)|v(ocation(Handler|TargetException|Event)|alid(R(ole(InfoException|ValueException)|elation(ServiceException|TypeException|IdException))|M(idiDataException|arkException)|Search(ControlsException|FilterException)|NameException|ClassException|T(argetObjectTypeException|ransactionException)|O(penTypeException|bjectException)|DnDOperationException|P(arameter(SpecException|Exception)|r(opertiesFormatException|eferencesFormatException))|Key(SpecException|Exception)|A(ctivityException|ttribute(sException|IdentifierException|ValueException)|pplicationException|lgorithmParameterException)))|flater(InputStream)?|lineView)|con(UIResource|View)?|te(ra(tor|ble)|m(Selectable|Event|Listener))|dentity(Scope|HashMap)?|CC_(ColorSpace|Profile(RGB|Gray)?)|IO(Re(ad(UpdateListener|ProgressListener|WarningListener)|gistry)|Metadata(Node|Controller|Format(Impl)?)?|ByteBuffer|ServiceProvider|I(nvalidTreeException|mage)|Param(Controller)?|Exception|Write(ProgressListener|WarningListener))|OException|vParameterSpec|llegal(MonitorStateException|Block(ingModeException|SizeException)|S(tateException|electorException)|C(harsetNameException|omponentStateException|lassFormatException)|ThreadStateException|PathStateException|Format(Co(nversionException|dePointException)|PrecisionException|Exception|FlagsException|WidthException)|A(ccessE(rror|xception)|rgumentException))|mag(ingOpException|e(Read(er(Spi|WriterSpi)?|Param)|GraphicAttribute|C(onsumer|apabilities)|T(ypeSpecifier|ranscoder(Spi)?)|I(nputStream(Spi|Impl)?|con|O)|O(utputStream(Spi|Impl)?|bserver)|Producer|View|Filter|Write(Param|r(Spi)?))?))|Z(ip(InputStream|OutputStream|E(ntry|xception)|File)|oneView)|O(ceanTheme|ut(put(Stream(Writer)?|DeviceAssigned|Keys)|OfMemoryError)|p(tion(PaneUI|alDataException)?|e(n(MBean(ConstructorInfo(Support)?|Info(Support)?|OperationInfo(Support)?|ParameterInfo(Support)?|AttributeInfo(Support)?)|Type|DataException)|rati(ngSystemMXBean|on(sException|NotSupportedException)?)))|ver(la(yLayout|ppingFileLockException)|ride)|wner|rientationRequested|b(serv(er|able)|j(ID|ect(Stream(C(onstants|lass)|Exception|Field)|Name|ChangeListener|In(stance|put(Stream|Validation)?)|Output(Stream)?|View|Factory(Builder)?)?))|AEPParameterSpec)|D(GC|ynamicMBean|nDConstants|i(splayMode|ctionary|alog|r(StateFactory|Context|ect(oryManager|ColorModel)|ObjectFactory)|gest(InputStream|OutputStream|Exception)|mension(2D|UIResource)?)|SA(P(ublicKey(Spec)?|aram(s|eterSpec)|rivateKey(Spec)?)|Key(PairGenerator)?)|H(GenParameterSpec|P(ublicKey(Spec)?|arameterSpec|rivateKey(Spec)?)|Key)|o(c(ument(Builder(Factory)?|Name|ed|Parser|Event|Filter|Listener)?|PrintJob|Flavor|Attribute(Set)?)?|uble(Buffer)?|mainCombiner)|u(plicateFormatFlagsException|ration)|TD(Constants)?|e(s(criptor(Support|Access)?|t(ination|roy(able|FailedException))|ignMode|ktop(Manager|IconUI|PaneUI))|cimalFormat(Symbols)?|precated|f(later(OutputStream)?|ault(M(utableTreeNode|e(nuLayout|talTheme))|B(oundedRangeModel|uttonModel)|S(tyledDocument|ingleSelectionModel)|Highlighter|C(o(lorSelectionModel|mboBoxModel)|ellEditor|aret)|T(extUI|able(Model|C(olumnModel|ellRenderer))|ree(Model|SelectionModel|Cell(Renderer|Editor)))|DesktopManager|PersistenceDelegate|EditorKit|KeyboardFocusManager|Fo(cus(Manager|TraversalPolicy)|rmatter(Factory)?)|L(ist(Model|SelectionModel|CellRenderer)|oaderRepository)))|l(egationPermission|ay(ed|Queue))|bugGraphics)|OM(Result|Source|Locator)|ES(edeKeySpec|KeySpec)|at(e(Time(Syntax|At(C(ompleted|reation)|Processing))|Format(ter|Symbols)?)?|a(Buffer(Byte|Short|Int|Double|UShort|Float)?|type(Con(stants|figurationException)|Factory)|Source|Truncation|Input(Stream)?|Output(Stream)?|gram(Socket(Impl(Factory)?)?|Channel|Packet)|F(ormatException|lavor)|baseMetaData|Line))|r(iver(Manager|PropertyInfo)?|opTarget(Context|Dr(opEvent|agEvent)|Event|Listener|Adapter)?|ag(Gesture(Recognizer|Event|Listener)|Source(MotionListener|Context|Dr(opEvent|agEvent)|Event|Listener|Adapter)?)))|U(R(I(Resolver|Syntax(Exception)?|Exception)?|L(StreamHandler(Factory)?|C(onnection|lassLoader)|Decoder|Encoder)?)|n(s(olicitedNotification(Event|Listener)?|upported(C(harsetException|lassVersionError|allbackException)|OperationException|EncodingException|FlavorException|LookAndFeelException|A(ddressTypeException|udioFileException))|atisfiedLinkError)|icastRemoteObject|d(o(Manager|ableEdit(Support|Event|Listener)?)|eclaredThrowableException)|expectedException|known(GroupException|ServiceException|HostException|ObjectException|Error|Format(ConversionException|FlagsException))|re(solved(Permission|AddressException)|coverable(EntryException|KeyException)|ferenced)|m(odifiable(SetException|ClassException)|a(ppableCharacterException|rshalException)))|til(ities|Delegate)?|TFDataFormatException|I(Resource|Manager|D(efaults)?)|UID)|J(R(ootPane|adioButton(MenuItem)?)|M(RuntimeException|X(Serv(iceURL|erErrorException)|Connect(ionNotification|or(Server(MBean|Provider|Factory)?|Provider|Factory)?)|Pr(incipal|oviderException)|Authenticator)|enu(Bar|Item)?|Exception)|Button|S(croll(Bar|Pane)|p(inner|litPane)|eparator|lider)|o(in(RowSet|able)|b(Me(ssageFromOperator|diaSheets(Supported|Completed)?)|S(heets|tate(Reason(s)?)?)|HoldUntil|Name|Impressions(Supported|Completed)?|OriginatingUserName|Priority(Supported)?|KOctets(Supported|Processed)?|Attributes))|dbcRowSet|C(heckBox(MenuItem)?|o(lorChooser|m(ponent|boBox)))|T(o(ol(Bar|Tip)|ggleButton)|ext(Component|Pane|Field|Area)|ab(le(Header)?|bedPane)|ree)|InternalFrame|OptionPane|D(ialog|esktopPane)|P(opupMenu|EG(HuffmanTable|Image(ReadParam|WriteParam)|QTable)|a(sswordField|nel)|rogressBar)|EditorPane|ar(InputStream|OutputStream|URLConnection|E(ntry|xception)|File)|Viewport|F(ileChooser|ormattedTextField|rame)|Window|L(ist|a(yeredPane|bel))|Applet)|P(hantomReference|BE(ParameterSpec|Key(Spec)?)|i(pe(d(Reader|InputStream|OutputStream|Writer))?|xel(Grabber|InterleavedSampleModel))|S(SParameterSpec|ource)|o(sition|int(2D|erInfo)?|oledConnection|pup(Menu(UI|Event|Listener)?|Factory)?|l(ygon|icy(Node|QualifierInfo)?)|rt(UnreachableException|ableRemoteObject(Delegate)?)?)|u(shback(Reader|InputStream)|blicKey)|er(sisten(ceDelegate|tMBean)|mission(s|Collection)?)|DLOverrideSupported|lain(Document|View)|a(ssword(Callback|View|Authentication)|nel(UI)?|ck(200|edColorModel|age)|t(hIterator|ch|tern(SyntaxException)?)|int(Context|Event)?|per|r(se(Position|Exception|r(ConfigurationException|Delegator)?)|tialResultException|a(graphView|meter(MetaData|Block|izedType|Descriptor)))|ge(sPerMinute(Color)?|Ranges|dResults(ResponseControl|Control)|able|Format|Attributes))|K(CS8EncodedKeySpec|IX(BuilderParameters|CertPath(BuilderResult|Checker|ValidatorResult)|Parameters))|r(i(n(cipal|t(RequestAttribute(Set)?|Graphics|S(tream|ervice(Lookup|Attribute(Set|Event|Listener)?)?)|er(Resolution|Graphics|M(oreInfo(Manufacturer)?|essageFromOperator|akeAndModel)|State(Reason(s)?)?|Name|I(sAcceptingJobs|nfo|OException)|URI|Job|Exception|Location|AbortException)|Job(Event|Listener|A(ttribute(Set|Event|Listener)?|dapter))?|E(vent|xception)|able|Quality|Writer))|ority(BlockingQueue|Queue)|v(ileged(ExceptionAction|Action(Exception)?)|ate(MLet|C(lassLoader|redentialPermission)|Key)))|o(cess(Builder)?|t(ocolException|ectionDomain)|pert(y(ResourceBundle|Change(Support|Event|Listener(Proxy)?)|Descriptor|Permission|Editor(Manager|Support)?|VetoException)|ies)|vider(Exception)?|fileDataException|gress(Monitor(InputStream)?|BarUI)|xy(Selector)?)|e(sentationDirection|dicate|paredStatement|ference(s(Factory)?|Change(Event|Listener)))))|E(n(c(ode(dKeySpec|r)|ryptedPrivateKeyInfo)|tity|um(Map|S(yntax|et)|Con(stantNotPresentException|trol)|eration)?)|tchedBorder|ditorKit|C(GenParameterSpec|P(oint|ublicKey(Spec)?|arameterSpec|rivateKey(Spec)?)|Key|Field(F(2m|p))?)|OFException|vent(SetDescriptor|Handler|Context|Object|DirContext|Queue|Listener(Proxy|List)?)?|l(ement(Type|Iterator)?|lip(se2D|ticCurve))|rror(Manager|Listener)?|x(c(hanger|eption(InInitializerError|Listener)?)|te(ndedRe(sponse|quest)|rnalizable)|p(ortException|andVetoException|ression)|e(cut(ionException|or(s|Service|CompletionService)?)|mptionMechanism(Spi|Exception)?))|mpty(Border|StackException))|V(MID|i(sibility|ew(port(UI|Layout)|Factory)?|rtualMachineError)|o(i(ceStatus|d)|latileImage)|e(ctor|toableChange(Support|Listener(Proxy)?)|rifyError)|a(l(idator(Handler)?|ue(Handler(MultiFormat)?|Exp))|riableHeightLayoutCache))|Ke(y(Rep|Generator(Spi)?|Manage(r(Factory(Spi)?)?|mentException)|S(t(ore(BuilderParameters|Spi|Exception)?|roke)|pec)|Pair(Generator(Spi)?)?|E(vent(Dispatcher|PostProcessor)?|xception)|Factory(Spi)?|map|boardFocusManager|Listener|A(dapter|lreadyExistsException|greement(Spi)?))?|r(nel|beros(Ticket|Principal|Key)))|Q(Name|u(e(ue(dJobCount)?|ry(E(val|xp))?)|adCurve2D))|F(i(nishings|delity|eld(Position|View)?|l(ter(Reader|InputStream|ed(RowSet|ImageSource)|OutputStream|Writer)?|e(Reader|nameFilter|SystemView|Handler|N(otFoundException|ameMap)|C(h(ooserUI|annel)|acheImage(InputStream|OutputStream))|I(nputStream|mage(InputStream|OutputStream))|OutputStream|D(ialog|escriptor)|Permission|View|Filter|Writer|Lock(InterruptionException)?)?)|xedHeightLayoutCache)|o(nt(RenderContext|Metrics|UIResource|FormatException)?|cus(Manager|TraversalPolicy|Event|Listener|Adapter)|rm(SubmitEvent|at(t(er(ClosedException)?|able(Flags)?)|ConversionProvider|FlagsConversionMismatchException)?|View))|uture(Task)?|eatureDescriptor|l(o(w(View|Layout)|at(Buffer|Control)?)|ushable|a(tteningPathIterator|vor(Map|Table|E(vent|xception)|Listener)))|a(ctoryConfigurationError|iledLoginException)|rame)|W(i(ndow(StateListener|Constants|Event|FocusListener|Listener|Adapter)?|ldcardType)|e(ak(Reference|HashMap)|bRowSet)|r(it(e(r|AbortedException)|able(R(enderedImage|aster)|ByteChannel))|appedPlainView))|L(i(st(ResourceBundle|Model|Selection(Model|Event|Listener)|CellRenderer|Iterator|enerNotFoundException|Data(Event|Listener)|UI|View)?|n(e(Metrics|B(order|reakMeasurer)|2D|Number(Reader|InputStream)|UnavailableException|Event|Listener)?|k(Ref|ed(BlockingQueue|Hash(Map|Set)|List)|Exception|ageError|LoopException))|mitExceededException)|o(ng(Buffer)?|c(k(Support)?|a(teRegistry|le))|ok(up(Table|Op)|AndFeel)|aderHandler|g(Record|Manager|in(Module|Context|Exception)|Stream|g(ing(MXBean|Permission)|er)))|dap(ReferralException|Name|Context)|e(vel|ase)|DAPCertStoreParameters|a(stOwnerException|y(out(Manager(2)?|Queue|FocusTraversalPolicy)|eredHighlighter)|nguageCallback|bel(UI|View)?))|A(s(sertionError|ync(hronousCloseException|BoxView))|n(notat(ion(TypeMismatchException|FormatError)?|edElement)|cestor(Event|Listener))|c(c(ount(NotFoundException|Ex(ception|piredException)|LockedException)|ess(ible(R(ole|e(sourceBundle|lation(Set)?))|Bundle|S(t(ate(Set)?|reamable)|election)|Hyper(text|link)|Co(ntext|mponent)|T(ext(Sequence)?|able(ModelChange)?)|Icon|Object|E(ditableText|xtended(Component|T(ext|able)))|Value|KeyBinding|A(ction|ttributeSequence))?|Control(Context|Exception|ler)|Exception))|ti(on(Map(UIResource)?|Event|Listener)?|v(ity(RequiredException|CompletedException)|eEvent|at(ion(Group(_Stub|ID|Desc)?|Monitor|System|I(nstantiator|D)|Desc|Exception)|or|eFailedException|able)))|l(NotFoundException|Entry)?)|t(tribute(s|ModificationException|Set(Utilities)?|d(String|CharacterIterator)|NotFoundException|ChangeNotification(Filter)?|InUseException|Exception|ValueExp|List)?|omic(Reference(FieldUpdater|Array)?|MarkableReference|Boolean|StampedReference|Integer(FieldUpdater|Array)?|Long(FieldUpdater|Array)?))|d(just(able|ment(Event|Listener))|ler32)|u(t(h(orizeCallback|enticat(ion(NotSupportedException|Exception)|or)|P(ermission|rovider))|oscroll)|dio(System|Clip|InputStream|Permission|F(ile(Reader|Format|Writer)|ormat)))|pp(ConfigurationEntry|endable|let(Stub|Context|Initializer)?)|ffineTransform(Op)?|l(phaComposite|lPermission|ready(BoundException|ConnectedException)|gorithmParameter(s(Spi)?|Generator(Spi)?|Spec))|r(c2D|ithmeticException|ea(AveragingScaleFilter)?|ray(s|BlockingQueue|StoreException|Type|IndexOutOfBoundsException|List)?)|bstract(M(ethodError|ap)|B(order|utton)|S(pinnerModel|e(t|quentialList|lect(ionKey|or|ableChannel)))|C(ol(orChooserPanel|lection)|ellEditor)|TableModel|InterruptibleChannel|Document|UndoableEdit|Preferences|ExecutorService|Queue(dSynchronizer)?|Writer|L(ist(Model)?|ayoutCache)|Action)|WT(Permission|E(vent(Multicaster|Listener(Proxy)?)?|rror|xception)|KeyStroke)))\b
47
- strings:
48
- patterns:
49
- - name: string.quoted.double.java
50
- endCaptures:
51
- "0":
52
- name: punctuation.definition.string.end.java
53
- begin: "\""
54
- beginCaptures:
55
- "0":
56
- name: punctuation.definition.string.begin.java
57
- end: "\""
58
- patterns:
59
- - name: constant.character.escape.java
60
- match: \\.
61
- - name: string.quoted.single.java
62
- endCaptures:
63
- "0":
64
- name: punctuation.definition.string.end.java
65
- begin: "'"
66
- beginCaptures:
67
- "0":
68
- name: punctuation.definition.string.begin.java
69
- end: "'"
70
- patterns:
71
- - name: constant.character.escape.java
72
- match: \\.
73
- storage-type-java:
74
- name: storage.type.java
75
- match: \b(void|byte|short|char|int|long|float|double|boolean|([a-z]\w+\.)*[A-Z]\w+)\b
76
- uuid: 2B449DF6-6B1D-11D9-94EC-000D93589AF6
77
- foldingStartMarker: (\{\s*(//.*)?$|^\s*// \{\{\{)
78
- patterns:
79
- - name: comment.block.empty.java
80
- captures:
81
- "0":
82
- name: punctuation.definition.comment.java
83
- match: /\*\*/
84
- - name: comment.block.documentation.java
85
- captures:
86
- "0":
87
- name: punctuation.definition.comment.java
88
- begin: (^\s*)?/\*\*
89
- end: \*/(\s*\n)?
90
- patterns:
91
- - name: keyword.other.documentation.javadoc.java
92
- match: "@(param|return|throws|exception|author|version|see|since|serial|serialField|serialData|deprecated)\\b"
93
- - name: keyword.other.documentation.javadoc.link.java
94
- match: \{@link\s+[^\}]*\}
95
- - name: meta.definition.class.java
96
- captures:
97
- "1":
98
- name: storage.modifier.java
99
- "3":
100
- name: storage.type.java
101
- "4":
102
- name: entity.name.type.class.java
103
- begin: |-
104
- (?x)^\s*
105
- ((?:\b(public|private|protected|static|final|native|synchronized|abstract|threadsafe|transient)\b\s*)*) # modifier
106
- (class|interface)\s+
107
- (\w+)\s* # identifier
108
- end: (?={)
109
- patterns:
110
- - name: meta.definition.class.extends.java
111
- captures:
112
- "1":
113
- name: storage.modifier.java
114
- begin: \b(extends)\b\s+
115
- end: (?={|implements)
116
- patterns:
117
- - include: "#all-types"
118
- - name: meta.definition.class.implements.java
119
- captures:
120
- "1":
121
- name: storage.modifier.java
122
- begin: \b(implements)\b\s+
123
- end: (?={|extends)
124
- patterns:
125
- - include: "#all-types"
126
- - name: meta.definition.constructor.java
127
- captures:
128
- "1":
129
- name: storage.modifier.java
130
- "3":
131
- name: entity.name.function.constructor.java
132
- begin: |-
133
- (?x)^\s*
134
- ((?:\b(public|private|protected|static|final|native|synchronized|abstract|threadsafe|transient)\b\s*)*) # modifier
135
- ((?!(if|while|for|catch|this|print|return|synchronized|switch))\w+)\s* # identifier
136
- (?!.*;) # abort if line has a ;
137
- (?=\()
138
- end: (?={)
139
- patterns:
140
- - include: "#statement-remainder"
141
- - include: "#comments"
142
- - name: meta.definition.method.java
143
- begin: |-
144
- (?x)^\s*
145
- ((?:\b(public|private|protected|static|final|native|synchronized|abstract|threadsafe|transient)\b\s*)*) # modifier
146
- (\b(void|boolean|byte|char|short|int|float|long|double|(\w+\.)*[A-Z]\w+)\b(<((?:\w+\.)*[A-Z]\w+)>|\[\s*\])?)\s* # type
147
- (\w+)\s* # identifier
148
- (?!.*;) # abort if line has a ;
149
- (?=\()
150
- beginCaptures:
151
- "6":
152
- name: storage.type.java
153
- "8":
154
- name: entity.name.function.java
155
- "1":
156
- name: storage.modifier.java
157
- "4":
158
- name: storage.type.java
159
- end: (?={)
160
- patterns:
161
- - include: "#statement-remainder"
162
- - include: "#comments"
163
- - name: constant.other.java
164
- match: \b([A-Z][A-Z0-9_]+)\b
165
- - include: "#comments"
166
- - include: "#all-types"
167
- - name: storage.modifier.access-control.java
168
- match: \b(private|protected|public)\b
169
- - name: storage.modifier.java
170
- match: \b(abstract|final|native|static|transient|synchronized|volatile|strictfp|extends|implements)\b
171
- - name: storage.type.java
172
- match: \b(class|interface)\b
173
- - name: keyword.control.catch-exception.java
174
- match: \b(try|catch|finally|throw)\b
175
- - name: keyword.control.java
176
- match: \b(return|break|case|continue|default|do|while|for|switch|if|else)\b
177
- - name: meta.import.java
178
- captures:
179
- "1":
180
- name: keyword.other.class-fns.java
181
- "2":
182
- name: entity.name.type.import.java
183
- match: ^\s*(import)\s+([^ ;]+?);
184
- - name: meta.package.java
185
- captures:
186
- "1":
187
- name: keyword.other.class-fns.java
188
- "2":
189
- name: entity.name.function.package.java
190
- match: ^\s*(package)\s+([^ ;]+?);
191
- - name: keyword.other.class-fns.java
192
- match: \b(new|throws)\b
193
- - name: keyword.operator.java
194
- match: \b(instanceof)\b
195
- - name: constant.language.java
196
- match: \b(true|false|null)\b
197
- - name: variable.language.java
198
- match: \b(this|super)\b
199
- - name: constant.numeric.java
200
- match: \b((0(x|X)[0-9a-fA-F]*)|(([0-9]+\.?[0-9]*)|(\.[0-9]+))((e|E)(\+|-)?[0-9]+)?)([LlFfUuDd]|UL|ul)?\b
201
- - include: "#strings"
202
- - name: keyword.operator.comparison.java
203
- match: (==|!=|<=|>=|<>|<|>)
204
- - name: keyword.operator.increment-decrement.java
205
- match: (\-\-|\+\+)
206
- - name: keyword.operator.arithmetic.java
207
- match: (\-|\+|\*|\/|%)
208
- - name: keyword.operator.logical.java
209
- match: (!|&&|\|\|)
210
- foldingStopMarker: ^\s*(\}|// \}\}\}$)
211
- keyEquivalent: ^~J
@@ -1,20 +0,0 @@
1
- ---
2
- name: Java Properties
3
- fileTypes:
4
- - properties
5
- scopeName: source.java-props
6
- uuid: 2A28E50A-6B1D-11D9-8689-000D93589AF6
7
- patterns:
8
- - name: comment.line.number-sign.java-props
9
- captures:
10
- "1":
11
- name: punctuation.definition.comment.java-props
12
- match: ([#!])(.+)?$\n?
13
- - captures:
14
- "1":
15
- name: keyword.other.java-props
16
- "2":
17
- name: punctuation.separator.key-value.java-props
18
- match: ^([^:=]+)([:=])(.*)$
19
- comment: Not compliant with the properties file spec, but this works for me, and I'm the one who counts around here.
20
- keyEquivalent: ^~J
@@ -1,256 +0,0 @@
1
- ---
2
- name: JavaScript
3
- fileTypes:
4
- - js
5
- - htc
6
- - jsx
7
- scopeName: source.js
8
- uuid: 93E017CC-6F27-11D9-90EB-000D93589AF6
9
- foldingStartMarker: ^.*\bfunction\s*(\w+\s*)?\([^\)]*\)(\s*\{[^\}]*)?\s*$
10
- patterns:
11
- - name: meta.class.js
12
- captures:
13
- "1":
14
- name: support.class.js
15
- "2":
16
- name: support.constant.js
17
- match: ([a-zA-Z_?.$][\w?.$]*)\.(prototype)\s*=\s*
18
- comment: "match stuff like: Sound.prototype = { \xE2\x80\xA6 } when extending an object"
19
- - name: meta.function.prototype.js
20
- captures:
21
- "6":
22
- name: variable.parameter.function.js
23
- "7":
24
- name: punctuation.definition.parameters.end.js
25
- "1":
26
- name: support.class.js
27
- "2":
28
- name: support.constant.js
29
- "3":
30
- name: entity.name.function.js
31
- "4":
32
- name: storage.type.function.js
33
- "5":
34
- name: punctuation.definition.parameters.begin.js
35
- match: ([a-zA-Z_?.$][\w?.$]*)\.(prototype)\.([a-zA-Z_?.$][\w?.$]*)\s*=\s*(function)?\s*(\()(.*?)(\))
36
- comment: "match stuff like: Sound.prototype.play = function() { \xE2\x80\xA6 }"
37
- - name: meta.function.js
38
- captures:
39
- "1":
40
- name: support.class.js
41
- "2":
42
- name: support.constant.js
43
- "3":
44
- name: entity.name.function.js
45
- match: ([a-zA-Z_?.$][\w?.$]*)\.(prototype)\.([a-zA-Z_?.$][\w?.$]*)\s*=\s*
46
- comment: "match stuff like: Sound.prototype.play = myfunc"
47
- - name: meta.function.js
48
- captures:
49
- "6":
50
- name: punctuation.definition.parameters.end.js
51
- "1":
52
- name: support.class.js
53
- "2":
54
- name: entity.name.function.js
55
- "3":
56
- name: storage.type.function.js
57
- "4":
58
- name: punctuation.definition.parameters.begin.js
59
- "5":
60
- name: variable.parameter.function.js
61
- match: ([a-zA-Z_?.$][\w?.$]*)\.([a-zA-Z_?.$][\w?.$]*)\s*=\s*(function)\s*(\()(.*?)(\))
62
- comment: "match stuff like: Sound.play = function() { \xE2\x80\xA6 }"
63
- - name: meta.function.js
64
- captures:
65
- "1":
66
- name: entity.name.function.js
67
- "2":
68
- name: storage.type.function.js
69
- "3":
70
- name: punctuation.definition.parameters.begin.js
71
- "4":
72
- name: variable.parameter.function.js
73
- "5":
74
- name: punctuation.definition.parameters.end.js
75
- match: ([a-zA-Z_?$][\w?$]*)\s*=\s*(function)\s*(\()(.*?)(\))
76
- comment: "match stuff like: play = function() { \xE2\x80\xA6 }"
77
- - name: meta.function.js
78
- captures:
79
- "1":
80
- name: storage.type.function.js
81
- "2":
82
- name: entity.name.function.js
83
- "3":
84
- name: punctuation.definition.parameters.begin.js
85
- "4":
86
- name: variable.parameter.function.js
87
- "5":
88
- name: punctuation.definition.parameters.end.js
89
- match: \b(function)\s+([a-zA-Z_$]\w*)?\s*(\()(.*?)(\))
90
- comment: "match regular function like: function myFunc(arg) { \xE2\x80\xA6 }"
91
- - name: meta.function.json.js
92
- captures:
93
- "1":
94
- name: entity.name.function.js
95
- "2":
96
- name: storage.type.function.js
97
- "3":
98
- name: punctuation.definition.parameters.begin.js
99
- "4":
100
- name: variable.parameter.function.js
101
- "5":
102
- name: punctuation.definition.parameters.end.js
103
- match: \b([a-zA-Z_?.$][\w?.$]*)\s*:\s*\b(function)?\s*(\()(.*?)(\))
104
- comment: "match stuff like: foobar: function() { \xE2\x80\xA6 }"
105
- - name: meta.function.json.js
106
- captures:
107
- "6":
108
- name: punctuation.definition.string.begin.js
109
- "11":
110
- name: variable.parameter.function.js
111
- "7":
112
- name: entity.name.function.js
113
- "12":
114
- name: punctuation.definition.parameters.end.js
115
- "8":
116
- name: punctuation.definition.string.end.js
117
- "9":
118
- name: entity.name.function.js
119
- "1":
120
- name: string.quoted.single.js
121
- "2":
122
- name: punctuation.definition.string.begin.js
123
- "3":
124
- name: entity.name.function.js
125
- "4":
126
- name: punctuation.definition.string.end.js
127
- "10":
128
- name: punctuation.definition.parameters.begin.js
129
- "5":
130
- name: string.quoted.double.js
131
- match: (?:((')(.*?)('))|((")(.*?)(")))\s*:\s*\b(function)?\s*(\()(.*?)(\))
132
- comment: "Attempt to match \"foo\": function"
133
- - name: meta.class.instance.constructor
134
- captures:
135
- "1":
136
- name: keyword.operator.new.js
137
- "2":
138
- name: entity.name.type.instance.js
139
- match: (new)\s+(\w+(?:\.\w*)?)
140
- - name: entity.name.type.object.js.firebug
141
- match: \b(console)\b
142
- - name: support.function.js.firebug
143
- match: \.(warn|info|log|error|time|timeEnd|assert)\b
144
- - name: constant.numeric.js
145
- match: \b((0(x|X)[0-9a-fA-F]+)|([0-9]+(\.[0-9]+)?))\b
146
- - name: string.quoted.single.js
147
- endCaptures:
148
- "0":
149
- name: punctuation.definition.string.end.js
150
- begin: "'"
151
- beginCaptures:
152
- "0":
153
- name: punctuation.definition.string.begin.js
154
- end: "'"
155
- patterns:
156
- - name: constant.character.escape.js
157
- match: \\(x\h{2}|[0-2][0-7]{,2}|3[0-6][0-7]?|37[0-7]?|[4-7][0-7]?|.)
158
- - name: string.quoted.double.js
159
- endCaptures:
160
- "0":
161
- name: punctuation.definition.string.end.js
162
- begin: "\""
163
- beginCaptures:
164
- "0":
165
- name: punctuation.definition.string.begin.js
166
- end: "\""
167
- patterns:
168
- - name: constant.character.escape.js
169
- match: \\(x\h{2}|[0-2][0-7]{,2}|3[0-6][0-7]|37[0-7]?|[4-7][0-7]?|.)
170
- - name: comment.block.documentation.js
171
- captures:
172
- "0":
173
- name: punctuation.definition.comment.js
174
- begin: /\*\*
175
- end: \*/
176
- - name: comment.block.js
177
- captures:
178
- "0":
179
- name: punctuation.definition.comment.js
180
- begin: /\*
181
- end: \*/
182
- - name: comment.line.double-slash.js
183
- captures:
184
- "1":
185
- name: punctuation.definition.comment.js
186
- match: (//).*$\n?
187
- - name: comment.block.html.js
188
- captures:
189
- "0":
190
- name: punctuation.definition.comment.html.js
191
- "2":
192
- name: punctuation.definition.comment.html.js
193
- match: (<!--|-->)
194
- - name: storage.type.js
195
- match: \b(boolean|byte|char|class|double|enum|float|function|int|interface|long|short|var|void)\b
196
- - name: storage.modifier.js
197
- match: \b(const|export|extends|final|implements|native|private|protected|public|static|synchronized|throws|transient|volatile)\b
198
- - name: keyword.control.js
199
- match: \b(break|case|catch|continue|default|do|else|finally|for|goto|if|import|package|return|switch|throw|try|while)\b
200
- - name: keyword.operator.js
201
- match: \b(delete|in|instanceof|new|typeof|with)\b
202
- - name: constant.language.boolean.true.js
203
- match: \btrue\b
204
- - name: constant.language.boolean.false.js
205
- match: \bfalse\b
206
- - name: constant.language.null.js
207
- match: \bnull\b
208
- - name: variable.language.js
209
- match: \b(super|this)\b
210
- - name: keyword.other.js
211
- match: \b(debugger)\b
212
- - name: support.class.js
213
- match: \b(Anchor|Applet|Area|Array|Boolean|Button|Checkbox|Date|document|event|FileUpload|Form|Frame|Function|Hidden|History|Image|JavaArray|JavaClass|JavaObject|JavaPackage|java|Layer|Link|Location|Math|MimeType|Number|navigator|netscape|Object|Option|Packages|Password|Plugin|Radio|RegExp|Reset|Select|String|Style|Submit|screen|sun|Text|Textarea|window|XMLHttpRequest)\b
214
- - name: support.function.js
215
- match: \b(s(h(ift|ow(Mod(elessDialog|alDialog)|Help))|croll(X|By(Pages|Lines)?|Y|To)?|t(op|rike)|i(n|zeToContent|debar|gnText)|ort|u(p|b(str(ing)?)?)|pli(ce|t)|e(nd|t(Re(sizable|questHeader)|M(i(nutes|lliseconds)|onth)|Seconds|Ho(tKeys|urs)|Year|Cursor|Time(out)?|Interval|ZOptions|Date|UTC(M(i(nutes|lliseconds)|onth)|Seconds|Hours|Date|FullYear)|FullYear|Active)|arch)|qrt|lice|avePreferences|mall)|h(ome|andleEvent)|navigate|c(har(CodeAt|At)|o(s|n(cat|textual|firm)|mpile)|eil|lear(Timeout|Interval)?|a(ptureEvents|ll)|reate(StyleSheet|Popup|EventObject))|t(o(GMTString|S(tring|ource)|U(TCString|pperCase)|Lo(caleString|werCase))|est|a(n|int(Enabled)?))|i(s(NaN|Finite)|ndexOf|talics)|d(isableExternalCapture|ump|etachEvent)|u(n(shift|taint|escape|watch)|pdateCommands)|j(oin|avaEnabled)|p(o(p|w)|ush|lugins.refresh|a(ddings|rse(Int|Float)?)|r(int|ompt|eference))|e(scape|nableExternalCapture|val|lementFromPoint|x(p|ec(Script|Command)?))|valueOf|UTC|queryCommand(State|Indeterm|Enabled|Value)|f(i(nd|le(ModifiedDate|Size|CreatedDate|UpdatedDate)|xed)|o(nt(size|color)|rward)|loor|romCharCode)|watch|l(ink|o(ad|g)|astIndexOf)|a(sin|nchor|cos|t(tachEvent|ob|an(2)?)|pply|lert|b(s|ort))|r(ou(nd|teEvents)|e(size(By|To)|calc|turnValue|place|verse|l(oad|ease(Capture|Events)))|andom)|g(o|et(ResponseHeader|M(i(nutes|lliseconds)|onth)|Se(conds|lection)|Hours|Year|Time(zoneOffset)?|Da(y|te)|UTC(M(i(nutes|lliseconds)|onth)|Seconds|Hours|Da(y|te)|FullYear)|FullYear|A(ttention|llResponseHeaders)))|m(in|ove(B(y|elow)|To(Absolute)?|Above)|ergeAttributes|a(tch|rgins|x))|b(toa|ig|o(ld|rderWidths)|link|ack))\b(?=\()
216
- - name: support.function.dom.js
217
- match: \b(s(ub(stringData|mit)|plitText|e(t(NamedItem|Attribute(Node)?)|lect))|has(ChildNodes|Feature)|namedItem|c(l(ick|o(se|neNode))|reate(C(omment|DATASection|aption)|T(Head|extNode|Foot)|DocumentFragment|ProcessingInstruction|E(ntityReference|lement)|Attribute))|tabIndex|i(nsert(Row|Before|Cell|Data)|tem)|open|delete(Row|C(ell|aption)|T(Head|Foot)|Data)|focus|write(ln)?|a(dd|ppend(Child|Data))|re(set|place(Child|Data)|move(NamedItem|Child|Attribute(Node)?)?)|get(NamedItem|Element(sBy(Name|TagName)|ById)|Attribute(Node)?)|blur)\b(?=\()
218
- - name: support.constant.js
219
- match: (?<=\.)(s(ystemLanguage|cr(ipts|ollbars|een(X|Y|Top|Left))|t(yle(Sheets)?|atus(Text|bar)?)|ibling(Below|Above)|ource|uffixes|e(curity(Policy)?|l(ection|f)))|h(istory|ost(name)?|as(h|Focus))|y|X(MLDocument|SLDocument)|n(ext|ame(space(s|URI)|Prop))|M(IN_VALUE|AX_VALUE)|c(haracterSet|o(n(structor|trollers)|okieEnabled|lorDepth|mp(onents|lete))|urrent|puClass|l(i(p(boardData)?|entInformation)|osed|asses)|alle(e|r)|rypto)|t(o(olbar|p)|ext(Transform|Indent|Decoration|Align)|ags)|SQRT(1_2|2)|i(n(ner(Height|Width)|put)|ds|gnoreCase)|zIndex|o(scpu|n(readystatechange|Line)|uter(Height|Width)|p(sProfile|ener)|ffscreenBuffering)|NEGATIVE_INFINITY|d(i(splay|alog(Height|Top|Width|Left|Arguments)|rectories)|e(scription|fault(Status|Ch(ecked|arset)|View)))|u(ser(Profile|Language|Agent)|n(iqueID|defined)|pdateInterval)|_content|p(ixelDepth|ort|ersonalbar|kcs11|l(ugins|atform)|a(thname|dding(Right|Bottom|Top|Left)|rent(Window|Layer)?|ge(X(Offset)?|Y(Offset)?))|r(o(to(col|type)|duct(Sub)?|mpter)|e(vious|fix)))|e(n(coding|abledPlugin)|x(ternal|pando)|mbeds)|v(isibility|endor(Sub)?|Linkcolor)|URLUnencoded|P(I|OSITIVE_INFINITY)|f(ilename|o(nt(Size|Family|Weight)|rmName)|rame(s|Element)|gColor)|E|whiteSpace|l(i(stStyleType|n(eHeight|kColor))|o(ca(tion(bar)?|lName)|wsrc)|e(ngth|ft(Context)?)|a(st(M(odified|atch)|Index|Paren)|yer(s|X)|nguage))|a(pp(MinorVersion|Name|Co(deName|re)|Version)|vail(Height|Top|Width|Left)|ll|r(ity|guments)|Linkcolor|bove)|r(ight(Context)?|e(sponse(XML|Text)|adyState))|global|x|m(imeTypes|ultiline|enubar|argin(Right|Bottom|Top|Left))|L(N(10|2)|OG(10E|2E))|b(o(ttom|rder(RightWidth|BottomWidth|Style|Color|TopWidth|LeftWidth))|ufferDepth|elow|ackground(Color|Image)))\b
220
- - name: support.constant.dom.js
221
- match: (?<=\.)(s(hape|ystemId|c(heme|ope|rolling)|ta(ndby|rt)|ize|ummary|pecified|e(ctionRowIndex|lected(Index)?)|rc)|h(space|t(tpEquiv|mlFor)|e(ight|aders)|ref(lang)?)|n(o(Resize|tation(s|Name)|Shade|Href|de(Name|Type|Value)|Wrap)|extSibling|ame)|c(h(ildNodes|Off|ecked|arset)?|ite|o(ntent|o(kie|rds)|de(Base|Type)?|l(s|Span|or)|mpact)|ell(s|Spacing|Padding)|l(ear|assName)|aption)|t(ype|Bodies|itle|Head|ext|a(rget|gName)|Foot)|i(sMap|ndex|d|m(plementation|ages))|o(ptions|wnerDocument|bject)|d(i(sabled|r)|o(c(type|umentElement)|main)|e(clare|f(er|ault(Selected|Checked|Value)))|at(eTime|a))|useMap|p(ublicId|arentNode|r(o(file|mpt)|eviousSibling))|e(n(ctype|tities)|vent|lements)|v(space|ersion|alue(Type)?|Link|Align)|URL|f(irstChild|orm(s)?|ace|rame(Border)?)|width|l(ink(s)?|o(ngDesc|wSrc)|a(stChild|ng|bel))|a(nchors|c(ce(ssKey|pt(Charset)?)|tion)|ttributes|pplets|l(t|ign)|r(chive|eas)|xis|Link|bbr)|r(ow(s|Span|Index)|ules|e(v|ferrer|l|adOnly))|m(ultiple|e(thod|dia)|a(rgin(Height|Width)|xLength))|b(o(dy|rder)|ackground|gColor))\b
222
- - name: support.constant.dom.js
223
- match: \b(ELEMENT_NODE|ATTRIBUTE_NODE|TEXT_NODE|CDATA_SECTION_NODE|ENTITY_REFERENCE_NODE|ENTITY_NODE|PROCESSING_INSTRUCTION_NODE|COMMENT_NODE|DOCUMENT_NODE|DOCUMENT_TYPE_NODE|DOCUMENT_FRAGMENT_NODE|NOTATION_NODE|INDEX_SIZE_ERR|DOMSTRING_SIZE_ERR|HIERARCHY_REQUEST_ERR|WRONG_DOCUMENT_ERR|INVALID_CHARACTER_ERR|NO_DATA_ALLOWED_ERR|NO_MODIFICATION_ALLOWED_ERR|NOT_FOUND_ERR|NOT_SUPPORTED_ERR|INUSE_ATTRIBUTE_ERR)\b
224
- - name: support.function.event-handler.js
225
- match: \bon(R(ow(s(inserted|delete)|e(nter|xit))|e(s(ize(start|end)?|et)|adystatechange))|Mouse(o(ut|ver)|down|up|move)|B(efore(cut|deactivate|u(nload|pdate)|p(aste|rint)|editfocus|activate)|lur)|S(croll|top|ubmit|elect(start|ionchange)?)|H(over|elp)|C(hange|ont(extmenu|rolselect)|ut|ellchange|l(ick|ose))|D(eactivate|ata(setc(hanged|omplete)|available)|r(op|ag(start|over|drop|en(ter|d)|leave)?)|blclick)|Unload|P(aste|ropertychange)|Error(update)?|Key(down|up|press)|Focus|Load|A(ctivate|fter(update|print)|bort))\b
226
- - name: keyword.operator.js
227
- match: "!|\\$|%|&|\\*|\\-\\-|\\-|\\+\\+|\\+|~|===|==|=|!=|!==|<=|>=|<<=|>>=|>>>=|<>|<|>|!|&&|\\|\\||\\?\\:|\\*=|/=|%=|\\+=|\\-=|&=|\\^=|\\b(in|instanceof|new|delete|typeof|void)\\b"
228
- - name: constant.language.js
229
- match: \b(Infinity|NaN|Undefined)\b
230
- - name: string.regexp.js
231
- endCaptures:
232
- "1":
233
- name: punctuation.definition.string.end.js
234
- begin: (?<=[=(:]|^|return)\s*(/)(?![/*+{}?])
235
- beginCaptures:
236
- "1":
237
- name: punctuation.definition.string.begin.js
238
- end: (/)[igm]*
239
- patterns:
240
- - name: constant.character.escape.js
241
- match: \\.
242
- - name: punctuation.terminator.statement.js
243
- match: \;
244
- - name: meta.delimiter.object.comma.js
245
- match: ,[ |\t]*
246
- - name: meta.delimiter.method.period.js
247
- match: \.
248
- - name: meta.brace.curly.js
249
- match: \{|\}
250
- - name: meta.brace.round.js
251
- match: \(|\)
252
- - name: meta.brace.square.js
253
- match: \[|\]
254
- foldingStopMarker: ^\s*\}
255
- keyEquivalent: ^~J
256
- comment: "JavaScript Syntax: version 2.0"