redcar 0.3.1dev → 0.3.2dev

Sign up to get free protection for your applications and to get access to all the features.
Files changed (316) hide show
  1. data/CHANGES +34 -1
  2. data/README.md +2 -1
  3. data/ROADMAP.md +13 -45
  4. data/Rakefile +15 -14
  5. data/bin/redcar +4 -1
  6. data/lib/plugin_manager/README.md +61 -0
  7. data/lib/plugin_manager/Rakefile +55 -0
  8. data/lib/plugin_manager/bin/plugin_manager +4 -0
  9. data/lib/plugin_manager/lib/plugin_manager.rb +107 -0
  10. data/lib/plugin_manager/lib/plugin_manager/definition_builder.rb +37 -0
  11. data/lib/plugin_manager/lib/plugin_manager/plugin.rb +9 -0
  12. data/lib/plugin_manager/lib/plugin_manager/plugin_definition.rb +50 -0
  13. data/lib/plugin_manager/plugin_manager.gemspec +33 -0
  14. data/lib/plugin_manager/spec/fixtures/error_in_definition/core/plugin.rb +2 -0
  15. data/lib/plugin_manager/spec/fixtures/error_in_plugin/core/core.rb +4 -0
  16. data/lib/plugin_manager/spec/fixtures/error_in_plugin/core/plugin.rb +7 -0
  17. data/lib/plugin_manager/spec/fixtures/example/core/core.rb +20 -0
  18. data/lib/plugin_manager/spec/fixtures/example/core/plugin.rb +7 -0
  19. data/lib/plugin_manager/spec/fixtures/example/debug/debug.rb +6 -0
  20. data/lib/plugin_manager/spec/fixtures/example/debug/plugin.rb +8 -0
  21. data/lib/plugin_manager/spec/fixtures/example/extras/extras.rb +6 -0
  22. data/lib/plugin_manager/spec/fixtures/example/extras/plugin.rb +8 -0
  23. data/lib/plugin_manager/spec/fixtures/two_versions1/core/core.rb +20 -0
  24. data/lib/plugin_manager/spec/fixtures/two_versions1/core/plugin.rb +7 -0
  25. data/lib/plugin_manager/spec/fixtures/two_versions1/core2/core.rb +20 -0
  26. data/lib/plugin_manager/spec/fixtures/two_versions1/core2/plugin.rb +7 -0
  27. data/lib/plugin_manager/spec/fixtures/two_versions2/core/core.rb +20 -0
  28. data/lib/plugin_manager/spec/fixtures/two_versions2/core/plugin.rb +7 -0
  29. data/lib/plugin_manager/spec/fixtures/two_versions2/core2/core.rb +20 -0
  30. data/lib/plugin_manager/spec/fixtures/two_versions2/core2/plugin.rb +8 -0
  31. data/lib/plugin_manager/spec/fixtures/unmet_dependencies1/core/core.rb +10 -0
  32. data/lib/plugin_manager/spec/fixtures/unmet_dependencies1/core/plugin.rb +7 -0
  33. data/lib/plugin_manager/spec/fixtures/unmet_dependencies1/debug/debug.rb +6 -0
  34. data/lib/plugin_manager/spec/fixtures/unmet_dependencies1/debug/plugin.rb +8 -0
  35. data/lib/plugin_manager/spec/fixtures/unmet_dependencies2/core/core.rb +10 -0
  36. data/lib/plugin_manager/spec/fixtures/unmet_dependencies2/core/plugin.rb +7 -0
  37. data/lib/plugin_manager/spec/fixtures/unmet_dependencies2/debug/debug.rb +6 -0
  38. data/lib/plugin_manager/spec/fixtures/unmet_dependencies2/debug/plugin.rb +8 -0
  39. data/lib/plugin_manager/spec/plugin_manager_spec.rb +208 -0
  40. data/lib/plugin_manager/spec/spec_helper.rb +3 -0
  41. data/lib/redcar.rb +8 -3
  42. data/lib/redcar/boot.rb +59 -56
  43. data/lib/redcar/installer.rb +1 -1
  44. data/lib/redcar/instance_exec.rb +25 -0
  45. data/lib/redcar/runner.rb +5 -1
  46. data/lib/redcar/usage.rb +5 -1
  47. data/plugins/application/icons/close.png +0 -0
  48. data/plugins/application/lib/application.rb +61 -28
  49. data/plugins/application/lib/application/clipboard.rb +71 -0
  50. data/plugins/application/lib/application/dialog.rb +63 -0
  51. data/plugins/application/lib/application/menu.rb +32 -1
  52. data/plugins/application/lib/application/menu/builder.rb +10 -4
  53. data/plugins/application/lib/application/menu/item.rb +16 -3
  54. data/plugins/application/lib/application/notebook.rb +5 -0
  55. data/plugins/application/lib/application/speedbar.rb +73 -0
  56. data/plugins/application/lib/application/window.rb +25 -0
  57. data/plugins/application/plugin.rb +8 -0
  58. data/plugins/application/spec/application/clipboard_spec.rb +36 -0
  59. data/plugins/application/spec/application/menu_spec.rb +73 -1
  60. data/plugins/application/spec/application/speedbar_spec.rb +46 -0
  61. data/plugins/application/spec/spec_helper.rb +1 -1
  62. data/plugins/application_swt/lib/application_swt.rb +18 -11
  63. data/plugins/application_swt/lib/application_swt/clipboard.rb +42 -0
  64. data/plugins/application_swt/lib/application_swt/dialog_adapter.rb +68 -0
  65. data/plugins/application_swt/lib/application_swt/dialogs/filter_list_dialog_controller.rb +1 -1
  66. data/plugins/application_swt/lib/application_swt/html_tab.rb +32 -0
  67. data/plugins/application_swt/lib/application_swt/menu.rb +57 -21
  68. data/plugins/application_swt/lib/application_swt/menu/binding_translator.rb +39 -2
  69. data/plugins/application_swt/lib/application_swt/notebook.rb +5 -0
  70. data/plugins/application_swt/lib/application_swt/speedbar.rb +187 -0
  71. data/plugins/application_swt/lib/application_swt/swt_wrapper.rb +24 -1
  72. data/plugins/application_swt/lib/application_swt/window.rb +33 -3
  73. data/plugins/application_swt/plugin.rb +8 -0
  74. data/plugins/application_swt/spec/spec_helper.rb +1 -1
  75. data/plugins/auto_completer/features/auto_complete.feature +65 -0
  76. data/plugins/auto_completer/features/step_definitions/auto_complete_steps.rb +4 -0
  77. data/plugins/auto_completer/features/support/env.rb +4 -0
  78. data/plugins/auto_completer/lib/auto_completer.rb +99 -0
  79. data/plugins/auto_completer/lib/auto_completer/document_controller.rb +52 -0
  80. data/plugins/auto_completer/lib/auto_completer/word_iterator.rb +48 -0
  81. data/plugins/auto_completer/lib/auto_completer/word_list.rb +40 -0
  82. data/plugins/auto_completer/plugin.rb +10 -0
  83. data/plugins/auto_indenter/lib/auto_indenter.rb +1 -1
  84. data/plugins/auto_indenter/lib/auto_indenter/document_controller.rb +1 -1
  85. data/plugins/auto_indenter/plugin.rb +8 -0
  86. data/plugins/core/lib/core.rb +6 -30
  87. data/plugins/core/lib/core/gui.rb +7 -2
  88. data/plugins/core/lib/core/logger.rb +7 -4
  89. data/plugins/core/lib/core/plugin/storage.rb +15 -5
  90. data/plugins/core/plugin.rb +7 -0
  91. data/plugins/core/spec/core/storage_spec.rb +0 -9
  92. data/plugins/edit_view/features/cut_and_paste.feature +45 -0
  93. data/plugins/edit_view/features/step_definitions/editing_steps.rb +22 -0
  94. data/plugins/edit_view/features/step_definitions/key_steps.rb +1 -1
  95. data/plugins/edit_view/features/step_definitions/notebook_steps.rb +1 -1
  96. data/plugins/edit_view/features/step_definitions/tab_steps.rb +2 -0
  97. data/plugins/edit_view/features/step_definitions/window_steps.rb +1 -1
  98. data/plugins/edit_view/features/support/env.rb +2 -2
  99. data/plugins/edit_view/lib/edit_view.rb +24 -13
  100. data/plugins/edit_view/lib/edit_view/document.rb +233 -15
  101. data/plugins/edit_view/lib/edit_view/edit_tab.rb +2 -2
  102. data/plugins/edit_view/plugin.rb +9 -0
  103. data/plugins/edit_view/spec/spec_helper.rb +1 -1
  104. data/plugins/edit_view_swt/lib/edit_view_swt.rb +37 -8
  105. data/plugins/edit_view_swt/lib/edit_view_swt/document.rb +59 -24
  106. data/plugins/edit_view_swt/lib/edit_view_swt/word_movement.rb +66 -0
  107. data/plugins/edit_view_swt/plugin.rb +9 -0
  108. data/plugins/edit_view_swt/spec/edit_view_swt/word_movement_spec.rb +29 -0
  109. data/plugins/edit_view_swt/spec/spec_helper.rb +6 -0
  110. data/plugins/html_view/assets/blueprint/ie.css +35 -0
  111. data/plugins/html_view/assets/blueprint/print.css +29 -0
  112. data/plugins/html_view/assets/blueprint/screen.css +257 -0
  113. data/plugins/html_view/assets/blueprint/src/forms.css +65 -0
  114. data/plugins/html_view/assets/blueprint/src/grid.css +281 -0
  115. data/plugins/html_view/assets/blueprint/src/grid.png +0 -0
  116. data/plugins/html_view/assets/blueprint/src/ie.css +76 -0
  117. data/plugins/html_view/assets/blueprint/src/print.css +85 -0
  118. data/plugins/html_view/assets/blueprint/src/reset.css +38 -0
  119. data/plugins/html_view/assets/blueprint/src/typography.css +106 -0
  120. data/plugins/html_view/assets/jquery-1.4.min.js +151 -0
  121. data/plugins/html_view/assets/redcar.css +12 -0
  122. data/plugins/html_view/lib/html_controller.rb +5 -0
  123. data/plugins/html_view/lib/html_view.rb +47 -0
  124. data/plugins/html_view/lib/html_view/html_tab.rb +16 -0
  125. data/plugins/html_view/plugin.rb +12 -0
  126. data/plugins/my_plugin/lib/my_plugin.rb +55 -0
  127. data/plugins/my_plugin/plugin.rb +8 -0
  128. data/plugins/plugin_manager_ui/lib/plugin_manager_ui.rb +62 -0
  129. data/plugins/plugin_manager_ui/plugin.rb +12 -0
  130. data/plugins/plugin_manager_ui/views/index.html.erb +31 -0
  131. data/plugins/project/lib/project.rb +27 -13
  132. data/plugins/project/lib/project/find_file_dialog.rb +25 -19
  133. data/plugins/project/plugin.rb +8 -0
  134. data/plugins/project/spec/spec_helper.rb +1 -1
  135. data/plugins/redcar/plugin.rb +13 -0
  136. data/plugins/redcar/redcar.rb +249 -8
  137. data/plugins/repl/lib/repl.rb +22 -14
  138. data/plugins/repl/plugin.rb +8 -0
  139. data/plugins/repl/spec/spec_helper.rb +1 -1
  140. data/plugins/tree/plugin.rb +9 -0
  141. data/plugins/tree/spec/spec_helper.rb +1 -1
  142. data/plugins/tree_view_swt/plugin.rb +9 -0
  143. data/textmate/Bundles/Apache.tmbundle/Syntaxes/Apache.plist +544 -0
  144. data/textmate/Bundles/Apache.tmbundle/Syntaxes/mod_perl.tmLanguage +120 -0
  145. data/textmate/Bundles/Blogging.tmbundle/Syntaxes/Blog___HTML__.plist +88 -0
  146. data/textmate/Bundles/Blogging.tmbundle/Syntaxes/Blog___Markdown__.plist +89 -0
  147. data/textmate/Bundles/Blogging.tmbundle/Syntaxes/Blog___Text__.plist +74 -0
  148. data/textmate/Bundles/Blogging.tmbundle/Syntaxes/Blog___Textile__.plist +74 -0
  149. data/textmate/Bundles/Bundle Development.tmbundle/Syntaxes/LanguageGrammar.tmLanguage +1829 -0
  150. data/textmate/Bundles/C Sharp.tmbundle/Syntaxes/Build.tmLanguage +142 -0
  151. data/textmate/Bundles/C Sharp.tmbundle/Syntaxes/C__.tmLanguage +524 -0
  152. data/textmate/Bundles/C++ Qt.tmbundle/Syntaxes/Qt_C____.tmLanguage +62 -0
  153. data/textmate/Bundles/C++ Qt.tmbundle/Syntaxes/qmake_Project.tmLanguage +308 -0
  154. data/textmate/Bundles/C.tmbundle/Syntaxes/C.plist +90 -48
  155. data/textmate/Bundles/Clojure.tmbundle/Syntaxes/Clojure.tmLanguage +427 -0
  156. data/textmate/Bundles/Cucumber.tmbundle/Syntaxes/Cucumber_Plain_Text_Feature.tmLanguage +106 -13
  157. data/textmate/Bundles/Cucumber.tmbundle/Syntaxes/Cucumber_Steps.tmLanguage +177 -2
  158. data/textmate/Bundles/Cucumber.tmbundle/Syntaxes/plaintext_template.erb +109 -17
  159. data/textmate/Bundles/D.tmbundle/Syntaxes/D.tmLanguage +908 -0
  160. data/textmate/Bundles/Diff.tmbundle/Syntaxes/Diff.plist +229 -0
  161. data/textmate/Bundles/DokuWiki.tmbundle/Syntaxes/DokuWiki.tmLanguage +649 -0
  162. data/textmate/Bundles/F-Script.tmbundle/Syntaxes/F__Script.plist +219 -0
  163. data/textmate/Bundles/Haskell.tmbundle/Syntaxes/Haskell.plist +646 -0
  164. data/textmate/Bundles/Haskell.tmbundle/Syntaxes/Literate_Haskell.plist +90 -0
  165. data/textmate/Bundles/Io.tmbundle/Syntaxes/Io.plist +225 -0
  166. data/textmate/Bundles/JSON.tmbundle/Syntaxes/JSON.tmLanguage +285 -0
  167. data/textmate/Bundles/JavaScript Prototype & Script_aculo_us.tmbundle/Syntaxes/JavaScript____Prototype.tmLanguage +193 -0
  168. data/textmate/Bundles/JavaScript Prototype & Script_aculo_us.tmbundle/Syntaxes/JavaScript____Prototype_Bracketed.tmLanguage +394 -0
  169. data/textmate/Bundles/JavaScript jQuery.tmbundle/Syntaxes/jQuery___JavaScript__.tmLanguage +440 -0
  170. data/textmate/Bundles/JavaScript.tmbundle/Syntaxes/JavaScript.plist +712 -0
  171. data/textmate/Bundles/Latex.tmbundle/Syntaxes/Bibtex.plist +406 -0
  172. data/textmate/Bundles/Latex.tmbundle/Syntaxes/LaTeX.plist +1601 -0
  173. data/textmate/Bundles/Latex.tmbundle/Syntaxes/LaTeX_Beamer.plist +106 -0
  174. data/textmate/Bundles/Latex.tmbundle/Syntaxes/LaTeX_Log.plist +141 -0
  175. data/textmate/Bundles/Latex.tmbundle/Syntaxes/LaTeX_Memoir.tmLanguage +165 -0
  176. data/textmate/Bundles/Latex.tmbundle/Syntaxes/TeX.plist +246 -0
  177. data/textmate/Bundles/Latex.tmbundle/Syntaxes/TeX_Math.plist +132 -0
  178. data/textmate/Bundles/Lisp.tmbundle/Syntaxes/Lisp.plist +160 -0
  179. data/textmate/Bundles/Makefile.tmbundle/Syntaxes/Makefile.plist +103 -0
  180. data/textmate/Bundles/Markdown.tmbundle/Syntaxes/Markdown.plist +1192 -0
  181. data/textmate/Bundles/Markdown.tmbundle/Syntaxes/MultiMarkdown.tmLanguage +80 -0
  182. data/textmate/Bundles/PHP.tmbundle/Syntaxes/PHP.plist +3481 -0
  183. data/textmate/Bundles/Perl HTML-Template.tmbundle/Syntaxes/Perl_HTML__Template.tmLanguage +217 -0
  184. data/textmate/Bundles/Perl Template Toolkit.tmbundle/Syntaxes/HTML___Template_Toolkit__.tmLanguage +339 -0
  185. data/textmate/Bundles/Postscript.tmbundle/Syntaxes/Postscript.tmLanguage +321 -0
  186. data/textmate/Bundles/Processing.tmbundle/Syntaxes/Processing.plist +296 -0
  187. data/textmate/Bundles/Property List.tmbundle/Syntaxes/Property_List.tmLanguage +1650 -0
  188. data/textmate/Bundles/Python Django Templates.tmbundle/Syntaxes/HTML___Django__.tmLanguage +104 -0
  189. data/textmate/Bundles/Python Django.tmbundle/Syntaxes/Python_Django.tmLanguage +57 -0
  190. data/textmate/Bundles/Python.tmbundle/Syntaxes/Python.tmLanguage +3016 -0
  191. data/textmate/Bundles/Python.tmbundle/Syntaxes/Regular_Expressions___Python__.tmLanguage +299 -0
  192. data/textmate/Bundles/Rez.tmbundle/Syntaxes/Rez.plist +219 -0
  193. data/textmate/Bundles/Ruby Haml.tmbundle/Syntaxes/Ruby_Haml.tmLanguage +403 -0
  194. data/textmate/Bundles/Ruby RSpec.tmbundle/Syntaxes/RSpec.tmLanguage +142 -0
  195. data/textmate/Bundles/Ruby.tmbundle/Syntaxes/Ruby.plist +139 -49
  196. data/textmate/Bundles/SQL.tmbundle/Syntaxes/SQL.plist +705 -0
  197. data/textmate/Bundles/SSH-Config.tmbundle/Syntaxes/SSH__Config.tmLanguage +88 -0
  198. data/textmate/Bundles/Scala.tmbundle/Syntaxes/Scala.tmLanguage +609 -0
  199. data/textmate/Bundles/Scala.tmbundle/Syntaxes/Scala_Properties.tmLanguage +54 -0
  200. data/textmate/Bundles/ShellScript.tmbundle/Syntaxes/Shell__Unix__Generic.plist +1855 -0
  201. data/textmate/Bundles/Tabular.tmbundle/Syntaxes/CSV.tmLanguage +178 -0
  202. data/textmate/Bundles/Tabular.tmbundle/Syntaxes/TSV.tmLanguage +135 -0
  203. data/textmate/Bundles/TextMate.tmbundle/Syntaxes/Regular_Expressions___Oniguruma__.tmLanguage +295 -0
  204. data/textmate/Bundles/TextMate.tmbundle/Syntaxes/Release_Notes.tmLanguage +126 -0
  205. data/textmate/Bundles/Textile.tmbundle/Syntaxes/Textile.plist +490 -0
  206. data/textmate/Bundles/Thrift.tmbundle/Syntaxes/Thrift.tmLanguage +1024 -0
  207. data/textmate/Bundles/XML.tmbundle/Syntaxes/XML.plist +576 -0
  208. data/textmate/Bundles/XML.tmbundle/Syntaxes/XSL.plist +157 -0
  209. data/textmate/Bundles/YAML.tmbundle/Syntaxes/YAML.plist +466 -0
  210. data/textmate/Themes/Django.tmTheme +436 -0
  211. metadata +371 -325
  212. data/config/default.yaml +0 -15
  213. data/lib/freebase2/README.txt +0 -47
  214. data/lib/freebase2/bin/default.yaml +0 -15
  215. data/lib/freebase2/bin/install.rb +0 -42
  216. data/lib/freebase2/bin/run.rb +0 -48
  217. data/lib/freebase2/lib/freebase/configuration.rb +0 -535
  218. data/lib/freebase2/lib/freebase/core.rb +0 -197
  219. data/lib/freebase2/lib/freebase/databus.rb +0 -1128
  220. data/lib/freebase2/lib/freebase/freebase.rb +0 -60
  221. data/lib/freebase2/lib/freebase/logger.rb +0 -117
  222. data/lib/freebase2/lib/freebase/plugin.rb +0 -384
  223. data/lib/freebase2/lib/freebase/properties.rb +0 -130
  224. data/lib/freebase2/lib/freebase/readers.rb +0 -328
  225. data/lib/freebase2/notes +0 -61
  226. data/lib/freebase2/plugins/raa_webrick/httpd.rb +0 -125
  227. data/lib/freebase2/plugins/raa_webrick/plugin.yaml +0 -7
  228. data/lib/freebase2/plugins/raa_webrick/web_root/test.html +0 -5
  229. data/lib/freebase2/plugins/raa_webrick/webserver.yaml +0 -6
  230. data/lib/freebase2/plugins/raa_xmlrpc4r/plugin.xml +0 -8
  231. data/lib/freebase2/plugins/raa_xmlrpc4r/rpcd.rb +0 -54
  232. data/lib/freebase2/regress/README +0 -1
  233. data/lib/little_plugger/History.txt +0 -20
  234. data/lib/little_plugger/Rakefile +0 -34
  235. data/lib/little_plugger/lib/little-plugger.rb +0 -323
  236. data/lib/little_plugger/spec/little-plugger_spec.rb +0 -26
  237. data/lib/little_plugger/spec/spec_helper.rb +0 -16
  238. data/lib/logging/History.txt +0 -240
  239. data/lib/logging/Rakefile +0 -37
  240. data/lib/logging/data/bad_logging_1.rb +0 -13
  241. data/lib/logging/data/bad_logging_2.rb +0 -21
  242. data/lib/logging/data/logging.rb +0 -42
  243. data/lib/logging/data/logging.yaml +0 -63
  244. data/lib/logging/data/simple_logging.rb +0 -13
  245. data/lib/logging/examples/appenders.rb +0 -47
  246. data/lib/logging/examples/classes.rb +0 -41
  247. data/lib/logging/examples/consolidation.rb +0 -83
  248. data/lib/logging/examples/formatting.rb +0 -51
  249. data/lib/logging/examples/hierarchies.rb +0 -73
  250. data/lib/logging/examples/layouts.rb +0 -48
  251. data/lib/logging/examples/loggers.rb +0 -29
  252. data/lib/logging/examples/names.rb +0 -43
  253. data/lib/logging/examples/simple.rb +0 -17
  254. data/lib/logging/lib/logging.rb +0 -501
  255. data/lib/logging/lib/logging/appender.rb +0 -251
  256. data/lib/logging/lib/logging/appenders.rb +0 -131
  257. data/lib/logging/lib/logging/appenders/buffering.rb +0 -168
  258. data/lib/logging/lib/logging/appenders/console.rb +0 -60
  259. data/lib/logging/lib/logging/appenders/email.rb +0 -75
  260. data/lib/logging/lib/logging/appenders/file.rb +0 -58
  261. data/lib/logging/lib/logging/appenders/growl.rb +0 -197
  262. data/lib/logging/lib/logging/appenders/io.rb +0 -69
  263. data/lib/logging/lib/logging/appenders/rolling_file.rb +0 -293
  264. data/lib/logging/lib/logging/appenders/string_io.rb +0 -68
  265. data/lib/logging/lib/logging/appenders/syslog.rb +0 -194
  266. data/lib/logging/lib/logging/config/configurator.rb +0 -188
  267. data/lib/logging/lib/logging/config/yaml_configurator.rb +0 -191
  268. data/lib/logging/lib/logging/layout.rb +0 -117
  269. data/lib/logging/lib/logging/layouts.rb +0 -47
  270. data/lib/logging/lib/logging/layouts/basic.rb +0 -32
  271. data/lib/logging/lib/logging/layouts/parseable.rb +0 -211
  272. data/lib/logging/lib/logging/layouts/pattern.rb +0 -311
  273. data/lib/logging/lib/logging/log_event.rb +0 -45
  274. data/lib/logging/lib/logging/logger.rb +0 -503
  275. data/lib/logging/lib/logging/repository.rb +0 -232
  276. data/lib/logging/lib/logging/root_logger.rb +0 -61
  277. data/lib/logging/lib/logging/stats.rb +0 -278
  278. data/lib/logging/lib/logging/utils.rb +0 -153
  279. data/lib/logging/lib/spec/logging_helper.rb +0 -34
  280. data/lib/logging/test/appenders/test_buffered_io.rb +0 -176
  281. data/lib/logging/test/appenders/test_console.rb +0 -66
  282. data/lib/logging/test/appenders/test_email.rb +0 -170
  283. data/lib/logging/test/appenders/test_file.rb +0 -95
  284. data/lib/logging/test/appenders/test_growl.rb +0 -127
  285. data/lib/logging/test/appenders/test_io.rb +0 -129
  286. data/lib/logging/test/appenders/test_rolling_file.rb +0 -200
  287. data/lib/logging/test/appenders/test_syslog.rb +0 -194
  288. data/lib/logging/test/benchmark.rb +0 -86
  289. data/lib/logging/test/config/test_configurator.rb +0 -70
  290. data/lib/logging/test/config/test_yaml_configurator.rb +0 -40
  291. data/lib/logging/test/layouts/test_basic.rb +0 -42
  292. data/lib/logging/test/layouts/test_json.rb +0 -112
  293. data/lib/logging/test/layouts/test_pattern.rb +0 -198
  294. data/lib/logging/test/layouts/test_yaml.rb +0 -121
  295. data/lib/logging/test/setup.rb +0 -44
  296. data/lib/logging/test/test_appender.rb +0 -152
  297. data/lib/logging/test/test_consolidate.rb +0 -46
  298. data/lib/logging/test/test_layout.rb +0 -110
  299. data/lib/logging/test/test_log_event.rb +0 -80
  300. data/lib/logging/test/test_logger.rb +0 -699
  301. data/lib/logging/test/test_logging.rb +0 -267
  302. data/lib/logging/test/test_repository.rb +0 -158
  303. data/lib/logging/test/test_root_logger.rb +0 -81
  304. data/lib/logging/test/test_stats.rb +0 -274
  305. data/lib/logging/test/test_utils.rb +0 -116
  306. data/plugins/application/plugin.yaml +0 -11
  307. data/plugins/application_swt/plugin.yaml +0 -11
  308. data/plugins/auto_indenter/plugin.yaml +0 -12
  309. data/plugins/core/plugin.yaml +0 -7
  310. data/plugins/edit_view/plugin.yaml +0 -14
  311. data/plugins/edit_view_swt/plugin.yaml +0 -14
  312. data/plugins/project/plugin.yaml +0 -12
  313. data/plugins/redcar/plugin.yaml +0 -18
  314. data/plugins/repl/plugin.yaml +0 -12
  315. data/plugins/tree/plugin.yaml +0 -14
  316. data/plugins/tree_view_swt/plugin.yaml +0 -14
@@ -0,0 +1,406 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>comment</key>
6
+ <string>Grammar based on description from http://artis.imag.fr/~Xavier.Decoret/resources/xdkbibtex/bibtex_summary.html#comment
7
+
8
+ TODO: Does not support @preamble
9
+ </string>
10
+ <key>fileTypes</key>
11
+ <array>
12
+ <string>bib</string>
13
+ </array>
14
+ <key>foldingStartMarker</key>
15
+ <string>\@[a-zA-Z]+\s*[{(].+,</string>
16
+ <key>foldingStopMarker</key>
17
+ <string>^\s*[)}]\s*$</string>
18
+ <key>name</key>
19
+ <string>BibTeX</string>
20
+ <key>patterns</key>
21
+ <array>
22
+ <dict>
23
+ <key>begin</key>
24
+ <string>@Comment</string>
25
+ <key>beginCaptures</key>
26
+ <dict>
27
+ <key>0</key>
28
+ <dict>
29
+ <key>name</key>
30
+ <string>punctuation.definition.comment.bibtex</string>
31
+ </dict>
32
+ </dict>
33
+ <key>end</key>
34
+ <string>$\n?</string>
35
+ <key>name</key>
36
+ <string>comment.line.at-sign.bibtex</string>
37
+ </dict>
38
+ <dict>
39
+ <key>begin</key>
40
+ <string>((@)String)\s*(\{)\s*([a-zA-Z]*)</string>
41
+ <key>beginCaptures</key>
42
+ <dict>
43
+ <key>1</key>
44
+ <dict>
45
+ <key>name</key>
46
+ <string>keyword.other.string-constant.bibtex</string>
47
+ </dict>
48
+ <key>2</key>
49
+ <dict>
50
+ <key>name</key>
51
+ <string>punctuation.definition.keyword.bibtex</string>
52
+ </dict>
53
+ <key>3</key>
54
+ <dict>
55
+ <key>name</key>
56
+ <string>punctuation.section.string-constant.begin.bibtex</string>
57
+ </dict>
58
+ <key>4</key>
59
+ <dict>
60
+ <key>name</key>
61
+ <string>variable.other.bibtex</string>
62
+ </dict>
63
+ </dict>
64
+ <key>end</key>
65
+ <string>\}</string>
66
+ <key>endCaptures</key>
67
+ <dict>
68
+ <key>0</key>
69
+ <dict>
70
+ <key>name</key>
71
+ <string>punctuation.section.string-constant.end.bibtex</string>
72
+ </dict>
73
+ </dict>
74
+ <key>name</key>
75
+ <string>meta.string-constant.braces.bibtex</string>
76
+ <key>patterns</key>
77
+ <array>
78
+ <dict>
79
+ <key>include</key>
80
+ <string>#string_content</string>
81
+ </dict>
82
+ </array>
83
+ </dict>
84
+ <dict>
85
+ <key>begin</key>
86
+ <string>((@)String)\s*(\()\s*([a-zA-Z]*)</string>
87
+ <key>beginCaptures</key>
88
+ <dict>
89
+ <key>1</key>
90
+ <dict>
91
+ <key>name</key>
92
+ <string>keyword.other.string-constant.bibtex</string>
93
+ </dict>
94
+ <key>2</key>
95
+ <dict>
96
+ <key>name</key>
97
+ <string>punctuation.definition.keyword.bibtex</string>
98
+ </dict>
99
+ <key>3</key>
100
+ <dict>
101
+ <key>name</key>
102
+ <string>punctuation.section.string-constant.begin.bibtex</string>
103
+ </dict>
104
+ <key>4</key>
105
+ <dict>
106
+ <key>name</key>
107
+ <string>variable.other.bibtex</string>
108
+ </dict>
109
+ </dict>
110
+ <key>end</key>
111
+ <string>\)</string>
112
+ <key>endCaptures</key>
113
+ <dict>
114
+ <key>0</key>
115
+ <dict>
116
+ <key>name</key>
117
+ <string>punctuation.section.string-constant.end.bibtex</string>
118
+ </dict>
119
+ </dict>
120
+ <key>name</key>
121
+ <string>meta.string-constant.parenthesis.bibtex</string>
122
+ <key>patterns</key>
123
+ <array>
124
+ <dict>
125
+ <key>include</key>
126
+ <string>#string_content</string>
127
+ </dict>
128
+ </array>
129
+ </dict>
130
+ <dict>
131
+ <key>begin</key>
132
+ <string>((@)[a-zA-Z]+)\s*(\{)\s*([^\s,]*)</string>
133
+ <key>beginCaptures</key>
134
+ <dict>
135
+ <key>1</key>
136
+ <dict>
137
+ <key>name</key>
138
+ <string>keyword.other.entry-type.bibtex</string>
139
+ </dict>
140
+ <key>2</key>
141
+ <dict>
142
+ <key>name</key>
143
+ <string>punctuation.definition.keyword.bibtex</string>
144
+ </dict>
145
+ <key>3</key>
146
+ <dict>
147
+ <key>name</key>
148
+ <string>punctuation.section.entry.begin.bibtex</string>
149
+ </dict>
150
+ <key>4</key>
151
+ <dict>
152
+ <key>name</key>
153
+ <string>entity.name.type.entry-key.bibtex</string>
154
+ </dict>
155
+ </dict>
156
+ <key>end</key>
157
+ <string>\}</string>
158
+ <key>endCaptures</key>
159
+ <dict>
160
+ <key>0</key>
161
+ <dict>
162
+ <key>name</key>
163
+ <string>punctuation.section.entry.end.bibtex</string>
164
+ </dict>
165
+ </dict>
166
+ <key>name</key>
167
+ <string>meta.entry.braces.bibtex</string>
168
+ <key>patterns</key>
169
+ <array>
170
+ <dict>
171
+ <key>begin</key>
172
+ <string>([a-zA-Z]+)\s*(\=)</string>
173
+ <key>beginCaptures</key>
174
+ <dict>
175
+ <key>1</key>
176
+ <dict>
177
+ <key>name</key>
178
+ <string>string.unquoted.key.bibtex</string>
179
+ </dict>
180
+ <key>2</key>
181
+ <dict>
182
+ <key>name</key>
183
+ <string>punctuation.separator.key-value.bibtex</string>
184
+ </dict>
185
+ </dict>
186
+ <key>end</key>
187
+ <string>(?=[,}])</string>
188
+ <key>name</key>
189
+ <string>meta.key-assignment.bibtex</string>
190
+ <key>patterns</key>
191
+ <array>
192
+ <dict>
193
+ <key>include</key>
194
+ <string>#string_content</string>
195
+ </dict>
196
+ <dict>
197
+ <key>include</key>
198
+ <string>#integer</string>
199
+ </dict>
200
+ </array>
201
+ </dict>
202
+ </array>
203
+ </dict>
204
+ <dict>
205
+ <key>begin</key>
206
+ <string>((@)[a-zA-Z]+)\s*(\()\s*([^\s,]*)</string>
207
+ <key>beginCaptures</key>
208
+ <dict>
209
+ <key>1</key>
210
+ <dict>
211
+ <key>name</key>
212
+ <string>keyword.other.entry-type.bibtex</string>
213
+ </dict>
214
+ <key>2</key>
215
+ <dict>
216
+ <key>name</key>
217
+ <string>punctuation.definition.keyword.bibtex</string>
218
+ </dict>
219
+ <key>3</key>
220
+ <dict>
221
+ <key>name</key>
222
+ <string>punctuation.section.entry.begin.bibtex</string>
223
+ </dict>
224
+ <key>4</key>
225
+ <dict>
226
+ <key>name</key>
227
+ <string>entity.name.type.entry-key.bibtex</string>
228
+ </dict>
229
+ </dict>
230
+ <key>end</key>
231
+ <string>\)</string>
232
+ <key>endCaptures</key>
233
+ <dict>
234
+ <key>0</key>
235
+ <dict>
236
+ <key>name</key>
237
+ <string>punctuation.section.entry.end.bibtex</string>
238
+ </dict>
239
+ </dict>
240
+ <key>name</key>
241
+ <string>meta.entry.parenthesis.bibtex</string>
242
+ <key>patterns</key>
243
+ <array>
244
+ <dict>
245
+ <key>begin</key>
246
+ <string>([a-zA-Z]+)\s*(\=)</string>
247
+ <key>beginCaptures</key>
248
+ <dict>
249
+ <key>1</key>
250
+ <dict>
251
+ <key>name</key>
252
+ <string>string.unquoted.key.bibtex</string>
253
+ </dict>
254
+ <key>2</key>
255
+ <dict>
256
+ <key>name</key>
257
+ <string>punctuation.separator.key-value.bibtex</string>
258
+ </dict>
259
+ </dict>
260
+ <key>end</key>
261
+ <string>(?=[,)])</string>
262
+ <key>name</key>
263
+ <string>meta.key-assignment.bibtex</string>
264
+ <key>patterns</key>
265
+ <array>
266
+ <dict>
267
+ <key>include</key>
268
+ <string>#string_content</string>
269
+ </dict>
270
+ <dict>
271
+ <key>include</key>
272
+ <string>#integer</string>
273
+ </dict>
274
+ </array>
275
+ </dict>
276
+ </array>
277
+ </dict>
278
+ <dict>
279
+ <key>begin</key>
280
+ <string>[^@\n]</string>
281
+ <key>end</key>
282
+ <string>(?=@)</string>
283
+ <key>name</key>
284
+ <string>comment.block.bibtex</string>
285
+ </dict>
286
+ </array>
287
+ <key>repository</key>
288
+ <dict>
289
+ <key>integer</key>
290
+ <dict>
291
+ <key>match</key>
292
+ <string>\d+</string>
293
+ <key>name</key>
294
+ <string>constant.numeric.bibtex</string>
295
+ </dict>
296
+ <key>nested_braces</key>
297
+ <dict>
298
+ <key>begin</key>
299
+ <string>\{</string>
300
+ <key>beginCaptures</key>
301
+ <dict>
302
+ <key>0</key>
303
+ <dict>
304
+ <key>name</key>
305
+ <string>punctuation.definition.group.begin.bibtex</string>
306
+ </dict>
307
+ </dict>
308
+ <key>end</key>
309
+ <string>\}</string>
310
+ <key>endCaptures</key>
311
+ <dict>
312
+ <key>0</key>
313
+ <dict>
314
+ <key>name</key>
315
+ <string>punctuation.definition.group.end.bibtex</string>
316
+ </dict>
317
+ </dict>
318
+ <key>patterns</key>
319
+ <array>
320
+ <dict>
321
+ <key>include</key>
322
+ <string>#nested_braces</string>
323
+ </dict>
324
+ </array>
325
+ </dict>
326
+ <key>string_content</key>
327
+ <dict>
328
+ <key>patterns</key>
329
+ <array>
330
+ <dict>
331
+ <key>begin</key>
332
+ <string>"</string>
333
+ <key>beginCaptures</key>
334
+ <dict>
335
+ <key>0</key>
336
+ <dict>
337
+ <key>name</key>
338
+ <string>punctuation.definition.string.begin.bibtex</string>
339
+ </dict>
340
+ </dict>
341
+ <key>end</key>
342
+ <string>"</string>
343
+ <key>endCaptures</key>
344
+ <dict>
345
+ <key>0</key>
346
+ <dict>
347
+ <key>name</key>
348
+ <string>punctuation.definition.string.end.bibtex</string>
349
+ </dict>
350
+ </dict>
351
+ <key>name</key>
352
+ <string>string.quoted.double.bibtex</string>
353
+ <key>patterns</key>
354
+ <array>
355
+ <dict>
356
+ <key>include</key>
357
+ <string>#nested_braces</string>
358
+ </dict>
359
+ </array>
360
+ </dict>
361
+ <dict>
362
+ <key>begin</key>
363
+ <string>\{</string>
364
+ <key>beginCaptures</key>
365
+ <dict>
366
+ <key>0</key>
367
+ <dict>
368
+ <key>name</key>
369
+ <string>punctuation.definition.string.begin.bibtex</string>
370
+ </dict>
371
+ </dict>
372
+ <key>end</key>
373
+ <string>\}</string>
374
+ <key>endCaptures</key>
375
+ <dict>
376
+ <key>0</key>
377
+ <dict>
378
+ <key>name</key>
379
+ <string>punctuation.definition.string.end.bibtex</string>
380
+ </dict>
381
+ </dict>
382
+ <key>name</key>
383
+ <string>string.quoted.other.braces.bibtex</string>
384
+ <key>patterns</key>
385
+ <array>
386
+ <dict>
387
+ <key>match</key>
388
+ <string>@</string>
389
+ <key>name</key>
390
+ <string>invalid.illegal.at-sign.bibtex</string>
391
+ </dict>
392
+ <dict>
393
+ <key>include</key>
394
+ <string>#nested_braces</string>
395
+ </dict>
396
+ </array>
397
+ </dict>
398
+ </array>
399
+ </dict>
400
+ </dict>
401
+ <key>scopeName</key>
402
+ <string>text.bibtex</string>
403
+ <key>uuid</key>
404
+ <string>47F30BA1-6B1D-11D9-9A60-000D93589AF6</string>
405
+ </dict>
406
+ </plist>
@@ -0,0 +1,1601 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>fileTypes</key>
6
+ <array>
7
+ <string>tex</string>
8
+ </array>
9
+ <key>firstLineMatch</key>
10
+ <string>^\\documentclass(?!.*\{beamer\})</string>
11
+ <key>foldingStartMarker</key>
12
+ <string>\\begin\{.*\}|%.*\(fold\)\s*$</string>
13
+ <key>foldingStopMarker</key>
14
+ <string>\\end\{.*\}|%.*\(end\)\s*$</string>
15
+ <key>keyEquivalent</key>
16
+ <string>^~L</string>
17
+ <key>name</key>
18
+ <string>LaTeX</string>
19
+ <key>patterns</key>
20
+ <array>
21
+ <dict>
22
+ <key>match</key>
23
+ <string>(?=\s)(?&lt;=\\[\w@]|\\[\w@]{2}|\\[\w@]{3}|\\[\w@]{4}|\\[\w@]{5}|\\[\w@]{6})\s</string>
24
+ <key>name</key>
25
+ <string>meta.space-after-command.latex</string>
26
+ </dict>
27
+ <dict>
28
+ <key>begin</key>
29
+ <string>((\\)(?:usepackage|documentclass))(?:(\[)([^\]]*)(\]))?(\{)</string>
30
+ <key>beginCaptures</key>
31
+ <dict>
32
+ <key>1</key>
33
+ <dict>
34
+ <key>name</key>
35
+ <string>keyword.control.preamble.latex</string>
36
+ </dict>
37
+ <key>2</key>
38
+ <dict>
39
+ <key>name</key>
40
+ <string>punctuation.definition.function.latex</string>
41
+ </dict>
42
+ <key>3</key>
43
+ <dict>
44
+ <key>name</key>
45
+ <string>punctuation.definition.arguments.begin.latex</string>
46
+ </dict>
47
+ <key>4</key>
48
+ <dict>
49
+ <key>name</key>
50
+ <string>variable.parameter.latex</string>
51
+ </dict>
52
+ <key>5</key>
53
+ <dict>
54
+ <key>name</key>
55
+ <string>punctuation.definition.arguments.end.latex</string>
56
+ </dict>
57
+ <key>6</key>
58
+ <dict>
59
+ <key>name</key>
60
+ <string>punctuation.definition.arguments.begin.latex</string>
61
+ </dict>
62
+ </dict>
63
+ <key>contentName</key>
64
+ <string>support.class.latex</string>
65
+ <key>end</key>
66
+ <string>\}</string>
67
+ <key>endCaptures</key>
68
+ <dict>
69
+ <key>0</key>
70
+ <dict>
71
+ <key>name</key>
72
+ <string>punctuation.definition.arguments.end.latex</string>
73
+ </dict>
74
+ </dict>
75
+ <key>name</key>
76
+ <string>meta.preamble.latex</string>
77
+ <key>patterns</key>
78
+ <array>
79
+ <dict>
80
+ <key>include</key>
81
+ <string>$self</string>
82
+ </dict>
83
+ </array>
84
+ </dict>
85
+ <dict>
86
+ <key>begin</key>
87
+ <string>((\\)(?:include|input))(\{)</string>
88
+ <key>beginCaptures</key>
89
+ <dict>
90
+ <key>1</key>
91
+ <dict>
92
+ <key>name</key>
93
+ <string>keyword.control.include.latex</string>
94
+ </dict>
95
+ <key>2</key>
96
+ <dict>
97
+ <key>name</key>
98
+ <string>punctuation.definition.function.latex</string>
99
+ </dict>
100
+ <key>3</key>
101
+ <dict>
102
+ <key>name</key>
103
+ <string>punctuation.definition.arguments.begin.latex</string>
104
+ </dict>
105
+ </dict>
106
+ <key>contentName</key>
107
+ <string>support.class.latex</string>
108
+ <key>end</key>
109
+ <string>\}</string>
110
+ <key>endCaptures</key>
111
+ <dict>
112
+ <key>0</key>
113
+ <dict>
114
+ <key>name</key>
115
+ <string>punctuation.definition.arguments.end.latex</string>
116
+ </dict>
117
+ </dict>
118
+ <key>name</key>
119
+ <string>meta.include.latex</string>
120
+ <key>patterns</key>
121
+ <array>
122
+ <dict>
123
+ <key>include</key>
124
+ <string>$self</string>
125
+ </dict>
126
+ </array>
127
+ </dict>
128
+ <dict>
129
+ <key>begin</key>
130
+ <string>(?x)
131
+ ( # Capture 1
132
+ (\\) # Marker
133
+ (?:
134
+ (?:sub){0,2}section # Functions
135
+ | (?:sub)?paragraph
136
+ | chapter|part|addpart
137
+ | addchap|addsec|minisec
138
+ )
139
+ (?:\*)? # Optional Unnumbered
140
+ )
141
+ (?:
142
+ (\[)([^\[]*?)(\]) # Optional Title
143
+ )??
144
+ (\{) # Opening Bracket
145
+ </string>
146
+ <key>beginCaptures</key>
147
+ <dict>
148
+ <key>1</key>
149
+ <dict>
150
+ <key>name</key>
151
+ <string>support.function.section.latex</string>
152
+ </dict>
153
+ <key>2</key>
154
+ <dict>
155
+ <key>name</key>
156
+ <string>punctuation.definition.function.latex</string>
157
+ </dict>
158
+ <key>3</key>
159
+ <dict>
160
+ <key>name</key>
161
+ <string>punctuation.definition.arguments.optional.begin.latex</string>
162
+ </dict>
163
+ <key>4</key>
164
+ <dict>
165
+ <key>name</key>
166
+ <string>entity.name.section.latex</string>
167
+ </dict>
168
+ <key>5</key>
169
+ <dict>
170
+ <key>name</key>
171
+ <string>punctuation.definition.arguments.optional.end.latex</string>
172
+ </dict>
173
+ <key>6</key>
174
+ <dict>
175
+ <key>name</key>
176
+ <string>punctuation.definition.arguments.begin.latex</string>
177
+ </dict>
178
+ </dict>
179
+ <key>comment</key>
180
+ <string>this works OK with all kinds of crazy stuff as long as section is one line</string>
181
+ <key>contentName</key>
182
+ <string>entity.name.section.latex</string>
183
+ <key>end</key>
184
+ <string>\}</string>
185
+ <key>endCaptures</key>
186
+ <dict>
187
+ <key>0</key>
188
+ <dict>
189
+ <key>name</key>
190
+ <string>punctuation.definition.arguments.end.latex</string>
191
+ </dict>
192
+ </dict>
193
+ <key>name</key>
194
+ <string>meta.function.section.latex</string>
195
+ <key>patterns</key>
196
+ <array>
197
+ <dict>
198
+ <key>include</key>
199
+ <string>$self</string>
200
+ </dict>
201
+ </array>
202
+ </dict>
203
+ <dict>
204
+ <key>begin</key>
205
+ <string>(?:\s*)((\\)begin)(\{)(lstlisting)(\})(?:(\[).*(\]))?(\s*%\s*(?i:Java)\n?)</string>
206
+ <key>captures</key>
207
+ <dict>
208
+ <key>1</key>
209
+ <dict>
210
+ <key>name</key>
211
+ <string>support.function.be.latex</string>
212
+ </dict>
213
+ <key>2</key>
214
+ <dict>
215
+ <key>name</key>
216
+ <string>punctuation.definition.function.latex</string>
217
+ </dict>
218
+ <key>3</key>
219
+ <dict>
220
+ <key>name</key>
221
+ <string>punctuation.definition.arguments.begin.latex</string>
222
+ </dict>
223
+ <key>4</key>
224
+ <dict>
225
+ <key>name</key>
226
+ <string>variable.parameter.function.latex</string>
227
+ </dict>
228
+ <key>5</key>
229
+ <dict>
230
+ <key>name</key>
231
+ <string>punctuation.definition.arguments.end.latex</string>
232
+ </dict>
233
+ <key>6</key>
234
+ <dict>
235
+ <key>name</key>
236
+ <string>punctuation.definition.arguments.optional.begin.latex</string>
237
+ </dict>
238
+ <key>7</key>
239
+ <dict>
240
+ <key>name</key>
241
+ <string>punctuation.definition.arguments.optional.end.latex</string>
242
+ </dict>
243
+ <key>8</key>
244
+ <dict>
245
+ <key>name</key>
246
+ <string>comment.line.percentage.latex</string>
247
+ </dict>
248
+ </dict>
249
+ <key>contentName</key>
250
+ <string>source.java.embedded</string>
251
+ <key>end</key>
252
+ <string>((\\)end)(\{)(lstlisting)(\})</string>
253
+ <key>name</key>
254
+ <string>meta.function.embedded.java.latex</string>
255
+ <key>patterns</key>
256
+ <array>
257
+ <dict>
258
+ <key>include</key>
259
+ <string>source.java</string>
260
+ </dict>
261
+ </array>
262
+ </dict>
263
+ <dict>
264
+ <key>begin</key>
265
+ <string>(?:\s*)((\\)begin)(\{)(lstlisting)(\})(?:(\[).*(\]))?(\s*%\s*(?i:Python)\n?)</string>
266
+ <key>captures</key>
267
+ <dict>
268
+ <key>1</key>
269
+ <dict>
270
+ <key>name</key>
271
+ <string>support.function.be.latex</string>
272
+ </dict>
273
+ <key>2</key>
274
+ <dict>
275
+ <key>name</key>
276
+ <string>punctuation.definition.function.latex</string>
277
+ </dict>
278
+ <key>3</key>
279
+ <dict>
280
+ <key>name</key>
281
+ <string>punctuation.definition.arguments.begin.latex</string>
282
+ </dict>
283
+ <key>4</key>
284
+ <dict>
285
+ <key>name</key>
286
+ <string>variable.parameter.function.latex</string>
287
+ </dict>
288
+ <key>5</key>
289
+ <dict>
290
+ <key>name</key>
291
+ <string>punctuation.definition.arguments.end.latex</string>
292
+ </dict>
293
+ <key>6</key>
294
+ <dict>
295
+ <key>name</key>
296
+ <string>punctuation.definition.arguments.optional.begin.latex</string>
297
+ </dict>
298
+ <key>7</key>
299
+ <dict>
300
+ <key>name</key>
301
+ <string>punctuation.definition.arguments.optional.end.latex</string>
302
+ </dict>
303
+ <key>8</key>
304
+ <dict>
305
+ <key>name</key>
306
+ <string>comment.line.percentage.latex</string>
307
+ </dict>
308
+ </dict>
309
+ <key>comment</key>
310
+ <string>Put the lstlisting match before the more general environment listing. Someday it would be nice to make this rule general enough to figure out which language is inside the lstlisting environment rather than my own personal use for python. --Brad</string>
311
+ <key>contentName</key>
312
+ <string>source.python.embedded</string>
313
+ <key>end</key>
314
+ <string>((\\)end)(\{)(lstlisting)(\})</string>
315
+ <key>name</key>
316
+ <string>meta.function.embedded.python.latex</string>
317
+ <key>patterns</key>
318
+ <array>
319
+ <dict>
320
+ <key>include</key>
321
+ <string>source.python</string>
322
+ </dict>
323
+ </array>
324
+ </dict>
325
+ <dict>
326
+ <key>begin</key>
327
+ <string>(?:\s*)((\\)begin)(\{)(lstlisting)(\})(?:(\[).*(\]))?(\s*%.*\n?)?</string>
328
+ <key>captures</key>
329
+ <dict>
330
+ <key>1</key>
331
+ <dict>
332
+ <key>name</key>
333
+ <string>support.function.be.latex</string>
334
+ </dict>
335
+ <key>2</key>
336
+ <dict>
337
+ <key>name</key>
338
+ <string>punctuation.definition.function.latex</string>
339
+ </dict>
340
+ <key>3</key>
341
+ <dict>
342
+ <key>name</key>
343
+ <string>punctuation.definition.arguments.begin.latex</string>
344
+ </dict>
345
+ <key>4</key>
346
+ <dict>
347
+ <key>name</key>
348
+ <string>variable.parameter.function.latex</string>
349
+ </dict>
350
+ <key>5</key>
351
+ <dict>
352
+ <key>name</key>
353
+ <string>punctuation.definition.arguments.end.latex</string>
354
+ </dict>
355
+ <key>6</key>
356
+ <dict>
357
+ <key>name</key>
358
+ <string>punctuation.definition.arguments.optional.begin.latex</string>
359
+ </dict>
360
+ <key>7</key>
361
+ <dict>
362
+ <key>name</key>
363
+ <string>punctuation.definition.arguments.optional.end.latex</string>
364
+ </dict>
365
+ <key>8</key>
366
+ <dict>
367
+ <key>name</key>
368
+ <string>comment.line.percentage.latex</string>
369
+ </dict>
370
+ </dict>
371
+ <key>comment</key>
372
+ <string>Put the lstlisting match before the more general environment listing. Someday it would be nice to make this rule general enough to figure out which language is inside the lstlisting environment rather than my own personal use for python. --Brad</string>
373
+ <key>contentName</key>
374
+ <string>source.generic.embedded</string>
375
+ <key>end</key>
376
+ <string>((\\)end)(\{)(lstlisting)(\})</string>
377
+ <key>name</key>
378
+ <string>meta.function.embedded.generic.latex</string>
379
+ </dict>
380
+ <dict>
381
+ <key>begin</key>
382
+ <string>(?:\s*)((\\)begin)(\{)((?:V|v)erbatim|alltt)(\})</string>
383
+ <key>captures</key>
384
+ <dict>
385
+ <key>1</key>
386
+ <dict>
387
+ <key>name</key>
388
+ <string>support.function.be.latex</string>
389
+ </dict>
390
+ <key>2</key>
391
+ <dict>
392
+ <key>name</key>
393
+ <string>punctuation.definition.function.latex</string>
394
+ </dict>
395
+ <key>3</key>
396
+ <dict>
397
+ <key>name</key>
398
+ <string>punctuation.definition.arguments.begin.latex</string>
399
+ </dict>
400
+ <key>4</key>
401
+ <dict>
402
+ <key>name</key>
403
+ <string>variable.parameter.function.latex</string>
404
+ </dict>
405
+ <key>5</key>
406
+ <dict>
407
+ <key>name</key>
408
+ <string>punctuation.definition.arguments.end.latex</string>
409
+ </dict>
410
+ </dict>
411
+ <key>contentName</key>
412
+ <string>markup.raw.verbatim.latex</string>
413
+ <key>end</key>
414
+ <string>((\\)end)(\{)(\4)(\})</string>
415
+ <key>name</key>
416
+ <string>meta.function.verbatim.latex</string>
417
+ </dict>
418
+ <dict>
419
+ <key>captures</key>
420
+ <dict>
421
+ <key>1</key>
422
+ <dict>
423
+ <key>name</key>
424
+ <string>support.function.url.latex</string>
425
+ </dict>
426
+ <key>2</key>
427
+ <dict>
428
+ <key>name</key>
429
+ <string>punctuation.definition.function.latex</string>
430
+ </dict>
431
+ <key>3</key>
432
+ <dict>
433
+ <key>name</key>
434
+ <string>punctuation.definition.arguments.begin.latex</string>
435
+ </dict>
436
+ <key>4</key>
437
+ <dict>
438
+ <key>name</key>
439
+ <string>markup.underline.link.latex</string>
440
+ </dict>
441
+ <key>5</key>
442
+ <dict>
443
+ <key>name</key>
444
+ <string>punctuation.definition.arguments.end.latex</string>
445
+ </dict>
446
+ </dict>
447
+ <key>match</key>
448
+ <string>(?:\s*)((\\)(?:url|href))(\{)([^}]*)(\})</string>
449
+ <key>name</key>
450
+ <string>meta.function.link.url.latex</string>
451
+ </dict>
452
+ <dict>
453
+ <key>captures</key>
454
+ <dict>
455
+ <key>1</key>
456
+ <dict>
457
+ <key>name</key>
458
+ <string>support.function.be.latex</string>
459
+ </dict>
460
+ <key>2</key>
461
+ <dict>
462
+ <key>name</key>
463
+ <string>punctuation.definition.function.latex</string>
464
+ </dict>
465
+ <key>3</key>
466
+ <dict>
467
+ <key>name</key>
468
+ <string>punctuation.definition.arguments.begin.latex</string>
469
+ </dict>
470
+ <key>4</key>
471
+ <dict>
472
+ <key>name</key>
473
+ <string>variable.parameter.function.latex</string>
474
+ </dict>
475
+ <key>5</key>
476
+ <dict>
477
+ <key>name</key>
478
+ <string>punctuation.definition.arguments.end.latex</string>
479
+ </dict>
480
+ </dict>
481
+ <key>comment</key>
482
+ <string>These two patterns match the \begin{document} and \end{document} commands, so that the environment matching pattern following them will ignore those commands.</string>
483
+ <key>match</key>
484
+ <string>(?:\s*)((\\)begin)(\{)(document)(\})</string>
485
+ <key>name</key>
486
+ <string>meta.function.begin-document.latex</string>
487
+ </dict>
488
+ <dict>
489
+ <key>captures</key>
490
+ <dict>
491
+ <key>1</key>
492
+ <dict>
493
+ <key>name</key>
494
+ <string>support.function.be.latex</string>
495
+ </dict>
496
+ <key>2</key>
497
+ <dict>
498
+ <key>name</key>
499
+ <string>punctuation.definition.function.latex</string>
500
+ </dict>
501
+ <key>3</key>
502
+ <dict>
503
+ <key>name</key>
504
+ <string>punctuation.definition.arguments.begin.latex</string>
505
+ </dict>
506
+ <key>4</key>
507
+ <dict>
508
+ <key>name</key>
509
+ <string>variable.parameter.function.latex</string>
510
+ </dict>
511
+ <key>5</key>
512
+ <dict>
513
+ <key>name</key>
514
+ <string>punctuation.definition.arguments.end.latex</string>
515
+ </dict>
516
+ </dict>
517
+ <key>match</key>
518
+ <string>(?:\s*)((\\)end)(\{)(document)(\})</string>
519
+ <key>name</key>
520
+ <string>meta.function.end-document.latex</string>
521
+ </dict>
522
+ <dict>
523
+ <key>begin</key>
524
+ <string>(?x)
525
+ (?:\s*) # Optional whitespace
526
+ ((\\)begin) # Marker - Function
527
+ (\{) # Open Bracket
528
+ (
529
+ (?:
530
+ align|equation|eqnarray # Argument
531
+ | multline|aligned|alignat
532
+ | split|gather|gathered
533
+ )
534
+ (?:\*)? # Optional Unnumbered
535
+ )
536
+ (\}) # Close Bracket
537
+ (\s*\n)? # Match to end of line absent of content
538
+ </string>
539
+ <key>captures</key>
540
+ <dict>
541
+ <key>1</key>
542
+ <dict>
543
+ <key>name</key>
544
+ <string>support.function.be.latex</string>
545
+ </dict>
546
+ <key>2</key>
547
+ <dict>
548
+ <key>name</key>
549
+ <string>punctuation.definition.function.latex</string>
550
+ </dict>
551
+ <key>3</key>
552
+ <dict>
553
+ <key>name</key>
554
+ <string>punctuation.definition.arguments.begin.latex</string>
555
+ </dict>
556
+ <key>4</key>
557
+ <dict>
558
+ <key>name</key>
559
+ <string>variable.parameter.function.latex</string>
560
+ </dict>
561
+ <key>5</key>
562
+ <dict>
563
+ <key>name</key>
564
+ <string>punctuation.definition.arguments.end.latex</string>
565
+ </dict>
566
+ </dict>
567
+ <key>contentName</key>
568
+ <string>string.other.math.block.environment.latex</string>
569
+ <key>end</key>
570
+ <string>(?x)
571
+ (?:\s*) # Optional whitespace
572
+ ((\\)end) # Marker - Function
573
+ (\{) # Open Bracket
574
+ (\4) # Previous capture from begin
575
+ (\}) # Close Bracket
576
+ (?:\s*\n)? # Match to end of line absent of content
577
+ </string>
578
+ <key>name</key>
579
+ <string>meta.function.environment.math.latex</string>
580
+ <key>patterns</key>
581
+ <array>
582
+ <dict>
583
+ <key>include</key>
584
+ <string>$base</string>
585
+ </dict>
586
+ </array>
587
+ </dict>
588
+ <dict>
589
+ <key>begin</key>
590
+ <string>(?x)
591
+ (?:\s*) # Optional whitespace
592
+ ((\\)begin) # Marker - Function
593
+ (\{) # Open Bracket
594
+ (array|tabular[xy*]?)
595
+ (\}) # Close Bracket
596
+ (\s*\n)? # Match to end of line absent of content
597
+ </string>
598
+ <key>captures</key>
599
+ <dict>
600
+ <key>1</key>
601
+ <dict>
602
+ <key>name</key>
603
+ <string>support.function.be.latex</string>
604
+ </dict>
605
+ <key>2</key>
606
+ <dict>
607
+ <key>name</key>
608
+ <string>punctuation.definition.function.latex</string>
609
+ </dict>
610
+ <key>3</key>
611
+ <dict>
612
+ <key>name</key>
613
+ <string>punctuation.definition.arguments.begin.latex</string>
614
+ </dict>
615
+ <key>4</key>
616
+ <dict>
617
+ <key>name</key>
618
+ <string>variable.parameter.function.latex</string>
619
+ </dict>
620
+ <key>5</key>
621
+ <dict>
622
+ <key>name</key>
623
+ <string>punctuation.definition.arguments.end.latex</string>
624
+ </dict>
625
+ </dict>
626
+ <key>contentName</key>
627
+ <string>meta.data.environment.tabular.latex</string>
628
+ <key>end</key>
629
+ <string>(?x)
630
+ (?:\s*) # Optional whitespace
631
+ ((\\)end) # Marker - Function
632
+ (\{) # Open Bracket
633
+ (\4) # Previous capture from begin
634
+ (\}) # Close Bracket
635
+ (?:\s*\n)? # Match to end of line absent of content
636
+ </string>
637
+ <key>name</key>
638
+ <string>meta.function.environment.tabular.latex</string>
639
+ <key>patterns</key>
640
+ <array>
641
+ <dict>
642
+ <key>match</key>
643
+ <string>\\</string>
644
+ <key>name</key>
645
+ <string>punctuation.definition.table.row.latex</string>
646
+ </dict>
647
+ <dict>
648
+ <key>begin</key>
649
+ <string>(?:^|(?&lt;=\\\\))(?!\\\\|\s*\\end\{(?:tabular|array))</string>
650
+ <key>end</key>
651
+ <string>(?=\\\\|\s*\\end\{(?:tabular|array))</string>
652
+ <key>name</key>
653
+ <string>meta.row.environment.tabular.latex</string>
654
+ <key>patterns</key>
655
+ <array>
656
+ <dict>
657
+ <key>match</key>
658
+ <string>&amp;</string>
659
+ <key>name</key>
660
+ <string>punctuation.definition.table.cell.latex</string>
661
+ </dict>
662
+ <dict>
663
+ <key>begin</key>
664
+ <string>(?:^|(?&lt;=&amp;))((?!&amp;|\\\\|$))</string>
665
+ <key>end</key>
666
+ <string>(?=&amp;|\\\\|\s*\\end\{(?:tabular|array))</string>
667
+ <key>name</key>
668
+ <string>meta.cell.environment.tabular.latex</string>
669
+ <key>patterns</key>
670
+ <array>
671
+ <dict>
672
+ <key>include</key>
673
+ <string>$base</string>
674
+ </dict>
675
+ </array>
676
+ </dict>
677
+ <dict>
678
+ <key>include</key>
679
+ <string>$base</string>
680
+ </dict>
681
+ </array>
682
+ </dict>
683
+ <dict>
684
+ <key>include</key>
685
+ <string>$base</string>
686
+ </dict>
687
+ </array>
688
+ </dict>
689
+ <dict>
690
+ <key>begin</key>
691
+ <string>(?:\s*)((\\)begin)(\{)(itemize|enumerate|description|list)(\})</string>
692
+ <key>captures</key>
693
+ <dict>
694
+ <key>1</key>
695
+ <dict>
696
+ <key>name</key>
697
+ <string>support.function.be.latex</string>
698
+ </dict>
699
+ <key>2</key>
700
+ <dict>
701
+ <key>name</key>
702
+ <string>punctuation.definition.function.latex</string>
703
+ </dict>
704
+ <key>3</key>
705
+ <dict>
706
+ <key>name</key>
707
+ <string>punctuation.definition.arguments.latex</string>
708
+ </dict>
709
+ <key>4</key>
710
+ <dict>
711
+ <key>name</key>
712
+ <string>variable.parameter.function.latex</string>
713
+ </dict>
714
+ <key>5</key>
715
+ <dict>
716
+ <key>name</key>
717
+ <string>punctuation.definition.arguments.latex</string>
718
+ </dict>
719
+ </dict>
720
+ <key>end</key>
721
+ <string>((\\)end)(\{)(\4)(\})(?:\s*\n)?</string>
722
+ <key>name</key>
723
+ <string>meta.function.environment.list.latex</string>
724
+ <key>patterns</key>
725
+ <array>
726
+ <dict>
727
+ <key>include</key>
728
+ <string>$base</string>
729
+ </dict>
730
+ </array>
731
+ </dict>
732
+ <dict>
733
+ <key>begin</key>
734
+ <string>(?:\s*)((\\)begin)(\{)(tikzpicture)(\})</string>
735
+ <key>captures</key>
736
+ <dict>
737
+ <key>1</key>
738
+ <dict>
739
+ <key>name</key>
740
+ <string>support.function.be.latex</string>
741
+ </dict>
742
+ <key>2</key>
743
+ <dict>
744
+ <key>name</key>
745
+ <string>punctuation.definition.function.latex</string>
746
+ </dict>
747
+ <key>3</key>
748
+ <dict>
749
+ <key>name</key>
750
+ <string>punctuation.definition.arguments.latex</string>
751
+ </dict>
752
+ <key>4</key>
753
+ <dict>
754
+ <key>name</key>
755
+ <string>variable.parameter.function.latex</string>
756
+ </dict>
757
+ <key>5</key>
758
+ <dict>
759
+ <key>name</key>
760
+ <string>punctuation.definition.arguments.latex</string>
761
+ </dict>
762
+ </dict>
763
+ <key>end</key>
764
+ <string>((\\)end)(\{)(tikzpicture)(\})(?:\s*\n)?</string>
765
+ <key>name</key>
766
+ <string>meta.function.environment.latex.tikz</string>
767
+ <key>patterns</key>
768
+ <array>
769
+ <dict>
770
+ <key>include</key>
771
+ <string>text.tex.latex.tikz</string>
772
+ </dict>
773
+ <dict>
774
+ <key>include</key>
775
+ <string>text.tex.latex</string>
776
+ </dict>
777
+ </array>
778
+ </dict>
779
+ <dict>
780
+ <key>begin</key>
781
+ <string>(?:\s*)((\\)begin)(\{)(\w+[*]?)(\})</string>
782
+ <key>captures</key>
783
+ <dict>
784
+ <key>1</key>
785
+ <dict>
786
+ <key>name</key>
787
+ <string>support.function.be.latex</string>
788
+ </dict>
789
+ <key>2</key>
790
+ <dict>
791
+ <key>name</key>
792
+ <string>punctuation.definition.function.latex</string>
793
+ </dict>
794
+ <key>3</key>
795
+ <dict>
796
+ <key>name</key>
797
+ <string>punctuation.definition.arguments.latex</string>
798
+ </dict>
799
+ <key>4</key>
800
+ <dict>
801
+ <key>name</key>
802
+ <string>variable.parameter.function.latex</string>
803
+ </dict>
804
+ <key>5</key>
805
+ <dict>
806
+ <key>name</key>
807
+ <string>punctuation.definition.arguments.latex</string>
808
+ </dict>
809
+ </dict>
810
+ <key>end</key>
811
+ <string>((\\)end)(\{)(\4)(\})(?:\s*\n)?</string>
812
+ <key>name</key>
813
+ <string>meta.function.environment.general.latex</string>
814
+ <key>patterns</key>
815
+ <array>
816
+ <dict>
817
+ <key>include</key>
818
+ <string>$base</string>
819
+ </dict>
820
+ </array>
821
+ </dict>
822
+ <dict>
823
+ <key>captures</key>
824
+ <dict>
825
+ <key>1</key>
826
+ <dict>
827
+ <key>name</key>
828
+ <string>punctuation.definition.function.latex</string>
829
+ </dict>
830
+ </dict>
831
+ <key>match</key>
832
+ <string>(\\)(newcommand|renewcommand)\b</string>
833
+ <key>name</key>
834
+ <string>storage.type.function.latex</string>
835
+ </dict>
836
+ <dict>
837
+ <key>begin</key>
838
+ <string>((\\)marginpar)(\{)</string>
839
+ <key>beginCaptures</key>
840
+ <dict>
841
+ <key>1</key>
842
+ <dict>
843
+ <key>name</key>
844
+ <string>support.function.marginpar.latex</string>
845
+ </dict>
846
+ <key>2</key>
847
+ <dict>
848
+ <key>name</key>
849
+ <string>punctuation.definition.function.latex</string>
850
+ </dict>
851
+ <key>3</key>
852
+ <dict>
853
+ <key>name</key>
854
+ <string>punctuation.definition.marginpar.begin.latex</string>
855
+ </dict>
856
+ </dict>
857
+ <key>contentName</key>
858
+ <string>meta.paragraph.margin.latex</string>
859
+ <key>end</key>
860
+ <string>\}</string>
861
+ <key>endCaptures</key>
862
+ <dict>
863
+ <key>0</key>
864
+ <dict>
865
+ <key>name</key>
866
+ <string>punctuation.definition.marginpar.end.latex</string>
867
+ </dict>
868
+ </dict>
869
+ <key>patterns</key>
870
+ <array>
871
+ <dict>
872
+ <key>include</key>
873
+ <string>$base</string>
874
+ </dict>
875
+ </array>
876
+ </dict>
877
+ <dict>
878
+ <key>begin</key>
879
+ <string>((\\)footnote)(\{)</string>
880
+ <key>beginCaptures</key>
881
+ <dict>
882
+ <key>1</key>
883
+ <dict>
884
+ <key>name</key>
885
+ <string>support.function.footnote.latex</string>
886
+ </dict>
887
+ <key>2</key>
888
+ <dict>
889
+ <key>name</key>
890
+ <string>punctuation.definition.function.latex</string>
891
+ </dict>
892
+ <key>3</key>
893
+ <dict>
894
+ <key>name</key>
895
+ <string>punctuation.definition.footnote.begin.latex</string>
896
+ </dict>
897
+ </dict>
898
+ <key>contentName</key>
899
+ <string>meta.footnote.latex</string>
900
+ <key>end</key>
901
+ <string>\}</string>
902
+ <key>endCaptures</key>
903
+ <dict>
904
+ <key>0</key>
905
+ <dict>
906
+ <key>name</key>
907
+ <string>punctuation.definition.footnote.end.latex</string>
908
+ </dict>
909
+ </dict>
910
+ <key>patterns</key>
911
+ <array>
912
+ <dict>
913
+ <key>include</key>
914
+ <string>$base</string>
915
+ </dict>
916
+ </array>
917
+ </dict>
918
+ <dict>
919
+ <key>begin</key>
920
+ <string>((\\)emph)(\{)</string>
921
+ <key>beginCaptures</key>
922
+ <dict>
923
+ <key>1</key>
924
+ <dict>
925
+ <key>name</key>
926
+ <string>support.function.emph.latex</string>
927
+ </dict>
928
+ <key>2</key>
929
+ <dict>
930
+ <key>name</key>
931
+ <string>punctuation.definition.function.latex</string>
932
+ </dict>
933
+ <key>3</key>
934
+ <dict>
935
+ <key>name</key>
936
+ <string>punctuation.definition.emph.begin.latex</string>
937
+ </dict>
938
+ </dict>
939
+ <key>contentName</key>
940
+ <string>markup.italic.emph.latex</string>
941
+ <key>end</key>
942
+ <string>\}</string>
943
+ <key>endCaptures</key>
944
+ <dict>
945
+ <key>0</key>
946
+ <dict>
947
+ <key>name</key>
948
+ <string>punctuation.definition.emph.end.latex</string>
949
+ </dict>
950
+ </dict>
951
+ <key>name</key>
952
+ <string>meta.function.emph.latex</string>
953
+ <key>patterns</key>
954
+ <array>
955
+ <dict>
956
+ <key>include</key>
957
+ <string>$base</string>
958
+ </dict>
959
+ </array>
960
+ </dict>
961
+ <dict>
962
+ <key>begin</key>
963
+ <string>((\\)textit)(\{)</string>
964
+ <key>captures</key>
965
+ <dict>
966
+ <key>1</key>
967
+ <dict>
968
+ <key>name</key>
969
+ <string>support.function.textit.latex</string>
970
+ </dict>
971
+ <key>2</key>
972
+ <dict>
973
+ <key>name</key>
974
+ <string>punctuation.definition.function.latex</string>
975
+ </dict>
976
+ <key>3</key>
977
+ <dict>
978
+ <key>name</key>
979
+ <string>punctuation.definition.textit.begin.latex</string>
980
+ </dict>
981
+ </dict>
982
+ <key>comment</key>
983
+ <string>We put the keyword in a capture and name this capture, so that disabling spell checking for “keyword” won't be inherited by the argument to \textit{...}.
984
+
985
+ Put specific matches for particular LaTeX keyword.functions before the last two more general functions</string>
986
+ <key>contentName</key>
987
+ <string>markup.italic.textit.latex</string>
988
+ <key>end</key>
989
+ <string>\}</string>
990
+ <key>endCaptures</key>
991
+ <dict>
992
+ <key>0</key>
993
+ <dict>
994
+ <key>name</key>
995
+ <string>punctuation.definition.textit.end.latex</string>
996
+ </dict>
997
+ </dict>
998
+ <key>name</key>
999
+ <string>meta.function.textit.latex</string>
1000
+ <key>patterns</key>
1001
+ <array>
1002
+ <dict>
1003
+ <key>include</key>
1004
+ <string>$base</string>
1005
+ </dict>
1006
+ </array>
1007
+ </dict>
1008
+ <dict>
1009
+ <key>begin</key>
1010
+ <string>((\\)textbf)(\{)</string>
1011
+ <key>captures</key>
1012
+ <dict>
1013
+ <key>1</key>
1014
+ <dict>
1015
+ <key>name</key>
1016
+ <string>support.function.textbf.latex</string>
1017
+ </dict>
1018
+ <key>2</key>
1019
+ <dict>
1020
+ <key>name</key>
1021
+ <string>punctuation.definition.function.latex</string>
1022
+ </dict>
1023
+ <key>3</key>
1024
+ <dict>
1025
+ <key>name</key>
1026
+ <string>punctuation.definition.textbf.begin.latex</string>
1027
+ </dict>
1028
+ </dict>
1029
+ <key>contentName</key>
1030
+ <string>markup.bold.textbf.latex</string>
1031
+ <key>end</key>
1032
+ <string>\}</string>
1033
+ <key>endCaptures</key>
1034
+ <dict>
1035
+ <key>0</key>
1036
+ <dict>
1037
+ <key>name</key>
1038
+ <string>punctuation.definition.textbf.end.latex</string>
1039
+ </dict>
1040
+ </dict>
1041
+ <key>name</key>
1042
+ <string>meta.function.textbf.latex</string>
1043
+ <key>patterns</key>
1044
+ <array>
1045
+ <dict>
1046
+ <key>include</key>
1047
+ <string>$base</string>
1048
+ </dict>
1049
+ </array>
1050
+ </dict>
1051
+ <dict>
1052
+ <key>begin</key>
1053
+ <string>((\\)texttt)(\{)</string>
1054
+ <key>captures</key>
1055
+ <dict>
1056
+ <key>1</key>
1057
+ <dict>
1058
+ <key>name</key>
1059
+ <string>support.function.texttt.latex</string>
1060
+ </dict>
1061
+ <key>2</key>
1062
+ <dict>
1063
+ <key>name</key>
1064
+ <string>punctuation.definition.function.latex</string>
1065
+ </dict>
1066
+ <key>3</key>
1067
+ <dict>
1068
+ <key>name</key>
1069
+ <string>punctuation.definition.texttt.begin.latex</string>
1070
+ </dict>
1071
+ </dict>
1072
+ <key>contentName</key>
1073
+ <string>markup.raw.texttt.latex</string>
1074
+ <key>end</key>
1075
+ <string>\}</string>
1076
+ <key>endCaptures</key>
1077
+ <dict>
1078
+ <key>0</key>
1079
+ <dict>
1080
+ <key>name</key>
1081
+ <string>punctuation.definition.texttt.end.latex</string>
1082
+ </dict>
1083
+ </dict>
1084
+ <key>name</key>
1085
+ <string>meta.function.texttt.latex</string>
1086
+ <key>patterns</key>
1087
+ <array>
1088
+ <dict>
1089
+ <key>include</key>
1090
+ <string>$base</string>
1091
+ </dict>
1092
+ </array>
1093
+ </dict>
1094
+ <dict>
1095
+ <key>captures</key>
1096
+ <dict>
1097
+ <key>0</key>
1098
+ <dict>
1099
+ <key>name</key>
1100
+ <string>keyword.other.item.latex</string>
1101
+ </dict>
1102
+ <key>1</key>
1103
+ <dict>
1104
+ <key>name</key>
1105
+ <string>punctuation.definition.keyword.latex</string>
1106
+ </dict>
1107
+ </dict>
1108
+ <key>match</key>
1109
+ <string>(\\)item\b</string>
1110
+ <key>name</key>
1111
+ <string>meta.scope.item.latex</string>
1112
+ </dict>
1113
+ <dict>
1114
+ <key>begin</key>
1115
+ <string>(?x)
1116
+ (
1117
+ (\\) # Marker
1118
+ (?:foot)?(?:full)?(?:no)?(?:short)? # Function Name
1119
+ [cC]ite
1120
+ (?:al)?(?:t|p|author|year(?:par)?|title)?[ANP]*
1121
+ \*? # Optional Unabreviated
1122
+ )
1123
+ (?:(\[)[^\]]*(\]))? # Optional
1124
+ (?:(\[)[^\]]*(\]))? # Arguments
1125
+ (\{) # Opening Bracket
1126
+ </string>
1127
+ <key>captures</key>
1128
+ <dict>
1129
+ <key>1</key>
1130
+ <dict>
1131
+ <key>name</key>
1132
+ <string>keyword.control.cite.latex</string>
1133
+ </dict>
1134
+ <key>2</key>
1135
+ <dict>
1136
+ <key>name</key>
1137
+ <string>punctuation.definition.keyword.latex</string>
1138
+ </dict>
1139
+ <key>3</key>
1140
+ <dict>
1141
+ <key>name</key>
1142
+ <string>punctuation.definition.arguments.optional.begin.latex</string>
1143
+ </dict>
1144
+ <key>4</key>
1145
+ <dict>
1146
+ <key>name</key>
1147
+ <string>punctuation.definition.arguments.optional.end.latex</string>
1148
+ </dict>
1149
+ <key>5</key>
1150
+ <dict>
1151
+ <key>name</key>
1152
+ <string>punctuation.definition.arguments.optional.begin.latex</string>
1153
+ </dict>
1154
+ <key>6</key>
1155
+ <dict>
1156
+ <key>name</key>
1157
+ <string>punctuation.definition.arguments.optional.end.latex</string>
1158
+ </dict>
1159
+ <key>7</key>
1160
+ <dict>
1161
+ <key>name</key>
1162
+ <string>punctuation.definition.arguments.latex</string>
1163
+ </dict>
1164
+ </dict>
1165
+ <key>end</key>
1166
+ <string>\}</string>
1167
+ <key>endCaptures</key>
1168
+ <dict>
1169
+ <key>0</key>
1170
+ <dict>
1171
+ <key>name</key>
1172
+ <string>punctuation.definition.arguments.latex</string>
1173
+ </dict>
1174
+ </dict>
1175
+ <key>name</key>
1176
+ <string>meta.citation.latex</string>
1177
+ <key>patterns</key>
1178
+ <array>
1179
+ <dict>
1180
+ <key>match</key>
1181
+ <string>[\w:.]+</string>
1182
+ <key>name</key>
1183
+ <string>constant.other.reference.citation.latex</string>
1184
+ </dict>
1185
+ </array>
1186
+ </dict>
1187
+ <dict>
1188
+ <key>begin</key>
1189
+ <string>((\\)(?:\w*[r|R]ef\*?))(\{)</string>
1190
+ <key>beginCaptures</key>
1191
+ <dict>
1192
+ <key>1</key>
1193
+ <dict>
1194
+ <key>name</key>
1195
+ <string>keyword.control.ref.latex</string>
1196
+ </dict>
1197
+ <key>2</key>
1198
+ <dict>
1199
+ <key>name</key>
1200
+ <string>punctuation.definition.keyword.latex</string>
1201
+ </dict>
1202
+ <key>3</key>
1203
+ <dict>
1204
+ <key>name</key>
1205
+ <string>punctuation.definition.arguments.begin.latex</string>
1206
+ </dict>
1207
+ </dict>
1208
+ <key>end</key>
1209
+ <string>\}</string>
1210
+ <key>endCaptures</key>
1211
+ <dict>
1212
+ <key>0</key>
1213
+ <dict>
1214
+ <key>name</key>
1215
+ <string>punctuation.definition.arguments.begin.latex</string>
1216
+ </dict>
1217
+ </dict>
1218
+ <key>name</key>
1219
+ <string>meta.reference.label.latex</string>
1220
+ <key>patterns</key>
1221
+ <array>
1222
+ <dict>
1223
+ <key>match</key>
1224
+ <string>[a-zA-Z0-9\.,:/*!^_-]</string>
1225
+ <key>name</key>
1226
+ <string>constant.other.reference.label.latex</string>
1227
+ </dict>
1228
+ </array>
1229
+ </dict>
1230
+ <dict>
1231
+ <key>begin</key>
1232
+ <string>((\\)label)(\{)</string>
1233
+ <key>beginCaptures</key>
1234
+ <dict>
1235
+ <key>1</key>
1236
+ <dict>
1237
+ <key>name</key>
1238
+ <string>keyword.control.label.latex</string>
1239
+ </dict>
1240
+ <key>2</key>
1241
+ <dict>
1242
+ <key>name</key>
1243
+ <string>punctuation.definition.keyword.latex</string>
1244
+ </dict>
1245
+ <key>3</key>
1246
+ <dict>
1247
+ <key>name</key>
1248
+ <string>punctuation.definition.arguments.begin.latex</string>
1249
+ </dict>
1250
+ </dict>
1251
+ <key>end</key>
1252
+ <string>\}</string>
1253
+ <key>endCaptures</key>
1254
+ <dict>
1255
+ <key>0</key>
1256
+ <dict>
1257
+ <key>name</key>
1258
+ <string>punctuation.definition.arguments.end.latex</string>
1259
+ </dict>
1260
+ </dict>
1261
+ <key>name</key>
1262
+ <string>meta.definition.label.latex</string>
1263
+ <key>patterns</key>
1264
+ <array>
1265
+ <dict>
1266
+ <key>match</key>
1267
+ <string>[a-zA-Z0-9\.,:/*!^_-]</string>
1268
+ <key>name</key>
1269
+ <string>variable.parameter.definition.label.latex</string>
1270
+ </dict>
1271
+ </array>
1272
+ </dict>
1273
+ <dict>
1274
+ <key>begin</key>
1275
+ <string>((\\)verb[\*]?)\s*((\\)scantokens)(\{)</string>
1276
+ <key>beginCaptures</key>
1277
+ <dict>
1278
+ <key>1</key>
1279
+ <dict>
1280
+ <key>name</key>
1281
+ <string>support.function.verb.latex</string>
1282
+ </dict>
1283
+ <key>2</key>
1284
+ <dict>
1285
+ <key>name</key>
1286
+ <string>punctuation.definition.function.latex</string>
1287
+ </dict>
1288
+ <key>3</key>
1289
+ <dict>
1290
+ <key>name</key>
1291
+ <string>support.function.verb.latex</string>
1292
+ </dict>
1293
+ <key>4</key>
1294
+ <dict>
1295
+ <key>name</key>
1296
+ <string>punctuation.definition.verb.latex</string>
1297
+ </dict>
1298
+ <key>5</key>
1299
+ <dict>
1300
+ <key>name</key>
1301
+ <string>punctuation.definition.begin.latex</string>
1302
+ </dict>
1303
+ </dict>
1304
+ <key>contentName</key>
1305
+ <string>markup.raw.verb.latex</string>
1306
+ <key>end</key>
1307
+ <string>(\})</string>
1308
+ <key>endCaptures</key>
1309
+ <dict>
1310
+ <key>1</key>
1311
+ <dict>
1312
+ <key>name</key>
1313
+ <string>punctuation.definition.end.latex</string>
1314
+ </dict>
1315
+ </dict>
1316
+ <key>name</key>
1317
+ <string>meta.function.verb.latex</string>
1318
+ <key>patterns</key>
1319
+ <array>
1320
+ <dict>
1321
+ <key>include</key>
1322
+ <string>$self</string>
1323
+ </dict>
1324
+ </array>
1325
+ </dict>
1326
+ <dict>
1327
+ <key>captures</key>
1328
+ <dict>
1329
+ <key>1</key>
1330
+ <dict>
1331
+ <key>name</key>
1332
+ <string>support.function.verb.latex</string>
1333
+ </dict>
1334
+ <key>2</key>
1335
+ <dict>
1336
+ <key>name</key>
1337
+ <string>punctuation.definition.function.latex</string>
1338
+ </dict>
1339
+ <key>3</key>
1340
+ <dict>
1341
+ <key>name</key>
1342
+ <string>punctuation.definition.verb.latex</string>
1343
+ </dict>
1344
+ <key>4</key>
1345
+ <dict>
1346
+ <key>name</key>
1347
+ <string>markup.raw.verb.latex</string>
1348
+ </dict>
1349
+ <key>5</key>
1350
+ <dict>
1351
+ <key>name</key>
1352
+ <string>punctuation.definition.verb.latex</string>
1353
+ </dict>
1354
+ </dict>
1355
+ <key>match</key>
1356
+ <string>((\\)verb[\*]?)\s*((?&lt;=\s)\S|[^a-zA-Z])(.*?)(\3|$)</string>
1357
+ <key>name</key>
1358
+ <string>meta.function.verb.latex</string>
1359
+ </dict>
1360
+ <dict>
1361
+ <key>begin</key>
1362
+ <string>"`</string>
1363
+ <key>beginCaptures</key>
1364
+ <dict>
1365
+ <key>0</key>
1366
+ <dict>
1367
+ <key>name</key>
1368
+ <string>punctuation.definition.string.begin.latex</string>
1369
+ </dict>
1370
+ </dict>
1371
+ <key>end</key>
1372
+ <string>"'</string>
1373
+ <key>endCaptures</key>
1374
+ <dict>
1375
+ <key>0</key>
1376
+ <dict>
1377
+ <key>name</key>
1378
+ <string>punctuation.definition.string.end.latex</string>
1379
+ </dict>
1380
+ </dict>
1381
+ <key>name</key>
1382
+ <string>string.quoted.double.european.latex</string>
1383
+ <key>patterns</key>
1384
+ <array>
1385
+ <dict>
1386
+ <key>include</key>
1387
+ <string>$base</string>
1388
+ </dict>
1389
+ </array>
1390
+ </dict>
1391
+ <dict>
1392
+ <key>begin</key>
1393
+ <string>``</string>
1394
+ <key>beginCaptures</key>
1395
+ <dict>
1396
+ <key>0</key>
1397
+ <dict>
1398
+ <key>name</key>
1399
+ <string>punctuation.definition.string.begin.latex</string>
1400
+ </dict>
1401
+ </dict>
1402
+ <key>end</key>
1403
+ <string>''|"</string>
1404
+ <key>endCaptures</key>
1405
+ <dict>
1406
+ <key>0</key>
1407
+ <dict>
1408
+ <key>name</key>
1409
+ <string>punctuation.definition.string.end.latex</string>
1410
+ </dict>
1411
+ </dict>
1412
+ <key>name</key>
1413
+ <string>string.quoted.double.latex</string>
1414
+ <key>patterns</key>
1415
+ <array>
1416
+ <dict>
1417
+ <key>include</key>
1418
+ <string>$base</string>
1419
+ </dict>
1420
+ </array>
1421
+ </dict>
1422
+ <dict>
1423
+ <key>begin</key>
1424
+ <string>"&gt;</string>
1425
+ <key>beginCaptures</key>
1426
+ <dict>
1427
+ <key>0</key>
1428
+ <dict>
1429
+ <key>name</key>
1430
+ <string>punctuation.definition.string.begin.latex</string>
1431
+ </dict>
1432
+ </dict>
1433
+ <key>end</key>
1434
+ <string>"&lt;</string>
1435
+ <key>endCaptures</key>
1436
+ <dict>
1437
+ <key>0</key>
1438
+ <dict>
1439
+ <key>name</key>
1440
+ <string>punctuation.definition.string.end.latex</string>
1441
+ </dict>
1442
+ </dict>
1443
+ <key>name</key>
1444
+ <string>string.quoted.double.guillemot.latex</string>
1445
+ <key>patterns</key>
1446
+ <array>
1447
+ <dict>
1448
+ <key>include</key>
1449
+ <string>$base</string>
1450
+ </dict>
1451
+ </array>
1452
+ </dict>
1453
+ <dict>
1454
+ <key>begin</key>
1455
+ <string>"&lt;</string>
1456
+ <key>beginCaptures</key>
1457
+ <dict>
1458
+ <key>0</key>
1459
+ <dict>
1460
+ <key>name</key>
1461
+ <string>punctuation.definition.string.begin.latex</string>
1462
+ </dict>
1463
+ </dict>
1464
+ <key>end</key>
1465
+ <string>"&gt;</string>
1466
+ <key>endCaptures</key>
1467
+ <dict>
1468
+ <key>0</key>
1469
+ <dict>
1470
+ <key>name</key>
1471
+ <string>punctuation.definition.string.end.latex</string>
1472
+ </dict>
1473
+ </dict>
1474
+ <key>name</key>
1475
+ <string>string.quoted.double.guillemot.latex</string>
1476
+ <key>patterns</key>
1477
+ <array>
1478
+ <dict>
1479
+ <key>include</key>
1480
+ <string>$base</string>
1481
+ </dict>
1482
+ </array>
1483
+ </dict>
1484
+ <dict>
1485
+ <key>begin</key>
1486
+ <string>\\\(</string>
1487
+ <key>beginCaptures</key>
1488
+ <dict>
1489
+ <key>0</key>
1490
+ <dict>
1491
+ <key>name</key>
1492
+ <string>punctuation.definition.string.begin.latex</string>
1493
+ </dict>
1494
+ </dict>
1495
+ <key>end</key>
1496
+ <string>\\\)</string>
1497
+ <key>endCaptures</key>
1498
+ <dict>
1499
+ <key>0</key>
1500
+ <dict>
1501
+ <key>name</key>
1502
+ <string>punctuation.definition.string.end.latex</string>
1503
+ </dict>
1504
+ </dict>
1505
+ <key>name</key>
1506
+ <string>string.other.math.latex</string>
1507
+ <key>patterns</key>
1508
+ <array>
1509
+ <dict>
1510
+ <key>include</key>
1511
+ <string>$base</string>
1512
+ </dict>
1513
+ </array>
1514
+ </dict>
1515
+ <dict>
1516
+ <key>begin</key>
1517
+ <string>\\\[</string>
1518
+ <key>beginCaptures</key>
1519
+ <dict>
1520
+ <key>0</key>
1521
+ <dict>
1522
+ <key>name</key>
1523
+ <string>punctuation.definition.string.begin.latex</string>
1524
+ </dict>
1525
+ </dict>
1526
+ <key>end</key>
1527
+ <string>\\\]</string>
1528
+ <key>endCaptures</key>
1529
+ <dict>
1530
+ <key>0</key>
1531
+ <dict>
1532
+ <key>name</key>
1533
+ <string>punctuation.definition.string.end.latex</string>
1534
+ </dict>
1535
+ </dict>
1536
+ <key>name</key>
1537
+ <string>string.other.math.latex</string>
1538
+ <key>patterns</key>
1539
+ <array>
1540
+ <dict>
1541
+ <key>include</key>
1542
+ <string>$base</string>
1543
+ </dict>
1544
+ </array>
1545
+ </dict>
1546
+ <dict>
1547
+ <key>match</key>
1548
+ <string>(?&lt;!\S)'.*?'</string>
1549
+ <key>name</key>
1550
+ <string>invalid.illegal.string.quoted.single.latex</string>
1551
+ </dict>
1552
+ <dict>
1553
+ <key>match</key>
1554
+ <string>(?&lt;!\S)".*?"</string>
1555
+ <key>name</key>
1556
+ <string>invalid.illegal.string.quoted.double.latex</string>
1557
+ </dict>
1558
+ <dict>
1559
+ <key>captures</key>
1560
+ <dict>
1561
+ <key>1</key>
1562
+ <dict>
1563
+ <key>name</key>
1564
+ <string>punctuation.definition.constant.latex</string>
1565
+ </dict>
1566
+ </dict>
1567
+ <key>match</key>
1568
+ <string>(\\)(text(s(terling|ixoldstyle|urd|e(ction|venoldstyle|rvicemark))|yen|n(ineoldstyle|umero|aira)|c(ircledP|o(py(left|right)|lonmonetary)|urrency|e(nt(oldstyle)?|lsius))|t(hree(superior|oldstyle|quarters(emdash)?)|i(ldelow|mes)|w(o(superior|oldstyle)|elveudash)|rademark)|interrobang(down)?|zerooldstyle|o(hm|ne(superior|half|oldstyle|quarter)|penbullet|rd(feminine|masculine))|d(i(scount|ed|v(orced)?)|o(ng|wnarrow|llar(oldstyle)?)|egree|agger(dbl)?|blhyphen(char)?)|uparrow|p(ilcrow|e(so|r(t(housand|enthousand)|iodcentered))|aragraph|m)|e(stimated|ightoldstyle|uro)|quotes(traight(dblbase|base)|ingle)|f(iveoldstyle|ouroldstyle|lorin|ractionsolidus)|won|l(not|ira|e(ftarrow|af)|quill|angle|brackdbl)|a(s(cii(caron|dieresis|acute|grave|macron|breve)|teriskcentered)|cutedbl)|r(ightarrow|e(cipe|ferencemark|gistered)|quill|angle|brackdbl)|g(uarani|ravedbl)|m(ho|inus|u(sicalnote)?|arried)|b(igcircle|orn|ullet|lank|a(ht|rdbl)|rokenbar)))\b</string>
1569
+ <key>name</key>
1570
+ <string>constant.character.latex</string>
1571
+ </dict>
1572
+ <dict>
1573
+ <key>captures</key>
1574
+ <dict>
1575
+ <key>1</key>
1576
+ <dict>
1577
+ <key>name</key>
1578
+ <string>punctuation.definition.column-specials.begin.latex</string>
1579
+ </dict>
1580
+ <key>2</key>
1581
+ <dict>
1582
+ <key>name</key>
1583
+ <string>punctuation.definition.column-specials.end.latex</string>
1584
+ </dict>
1585
+ </dict>
1586
+ <key>match</key>
1587
+ <string>(?:&lt;|&gt;)(\{)\$(\})</string>
1588
+ <key>name</key>
1589
+ <string>meta.column-specials.latex</string>
1590
+ </dict>
1591
+ <dict>
1592
+ <key>include</key>
1593
+ <string>text.tex</string>
1594
+ </dict>
1595
+ </array>
1596
+ <key>scopeName</key>
1597
+ <string>text.tex.latex</string>
1598
+ <key>uuid</key>
1599
+ <string>3BEEA00C-6B1D-11D9-B8AD-000D93589AF6</string>
1600
+ </dict>
1601
+ </plist>