@openui5/sap.ui.codeeditor 1.120.6 → 1.121.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (457) hide show
  1. package/.reuse/dep5 +23 -21
  2. package/THIRDPARTY.txt +6 -43
  3. package/package.json +2 -2
  4. package/src/sap/ui/codeeditor/.library +2 -2
  5. package/src/sap/ui/codeeditor/CodeEditor.js +41 -27
  6. package/src/sap/ui/codeeditor/js/ace/ace.js +16262 -16597
  7. package/src/sap/ui/codeeditor/js/ace/css/ace.css +358 -86
  8. package/src/sap/ui/codeeditor/js/ace/css/ambiance-3.png +0 -0
  9. package/src/sap/ui/codeeditor/js/ace/css/chrome-2.png +0 -0
  10. package/src/sap/ui/codeeditor/js/ace/css/cloud9_day-1.png +0 -0
  11. package/src/sap/ui/codeeditor/js/ace/css/cloud9_day-2.png +0 -0
  12. package/src/sap/ui/codeeditor/js/ace/css/cloud9_night-1.png +0 -0
  13. package/src/sap/ui/codeeditor/js/ace/css/cloud9_night-2.png +0 -0
  14. package/src/sap/ui/codeeditor/js/ace/css/cloud9_night_low_color-1.png +0 -0
  15. package/src/sap/ui/codeeditor/js/ace/css/cloud9_night_low_color-2.png +0 -0
  16. package/src/sap/ui/codeeditor/js/ace/css/clouds-2.png +0 -0
  17. package/src/sap/ui/codeeditor/js/ace/css/clouds_midnight-2.png +0 -0
  18. package/src/sap/ui/codeeditor/js/ace/css/cobalt-2.png +0 -0
  19. package/src/sap/ui/codeeditor/js/ace/css/crimson_editor-2.png +0 -0
  20. package/src/sap/ui/codeeditor/js/ace/css/dawn-2.png +0 -0
  21. package/src/sap/ui/codeeditor/js/ace/css/dracula-2.png +0 -0
  22. package/src/sap/ui/codeeditor/js/ace/css/dreamweaver-2.png +0 -0
  23. package/src/sap/ui/codeeditor/js/ace/css/eclipse-2.png +0 -0
  24. package/src/sap/ui/codeeditor/js/ace/css/github-2.png +0 -0
  25. package/src/sap/ui/codeeditor/js/ace/css/github_dark-1.png +0 -0
  26. package/src/sap/ui/codeeditor/js/ace/css/github_dark-2.png +0 -0
  27. package/src/sap/ui/codeeditor/js/ace/css/gob-2.png +0 -0
  28. package/src/sap/ui/codeeditor/js/ace/css/gruvbox-2.png +0 -0
  29. package/src/sap/ui/codeeditor/js/ace/css/gruvbox_dark_hard-1.png +0 -0
  30. package/src/sap/ui/codeeditor/js/ace/css/gruvbox_light_hard-1.png +0 -0
  31. package/src/sap/ui/codeeditor/js/ace/css/gruvbox_light_hard-2.png +0 -0
  32. package/src/sap/ui/codeeditor/js/ace/css/idle_fingers-2.png +0 -0
  33. package/src/sap/ui/codeeditor/js/ace/css/iplastic-3.png +0 -0
  34. package/src/sap/ui/codeeditor/js/ace/css/katzenmilch-1.png +0 -0
  35. package/src/sap/ui/codeeditor/js/ace/css/katzenmilch-2.png +0 -0
  36. package/src/sap/ui/codeeditor/js/ace/css/kr_theme-2.png +0 -0
  37. package/src/sap/ui/codeeditor/js/ace/css/kuroir-1.png +0 -0
  38. package/src/sap/ui/codeeditor/js/ace/css/kuroir-2.png +0 -0
  39. package/src/sap/ui/codeeditor/js/ace/css/main-10.png +0 -0
  40. package/src/sap/ui/codeeditor/js/ace/css/main-11.png +0 -0
  41. package/src/sap/ui/codeeditor/js/ace/css/main-12.png +0 -0
  42. package/src/sap/ui/codeeditor/js/ace/css/main-13.png +0 -0
  43. package/src/sap/ui/codeeditor/js/ace/css/main-14.png +0 -0
  44. package/src/sap/ui/codeeditor/js/ace/css/main-15.png +0 -0
  45. package/src/sap/ui/codeeditor/js/ace/css/main-16.png +0 -0
  46. package/src/sap/ui/codeeditor/js/ace/css/main-17.png +0 -0
  47. package/src/sap/ui/codeeditor/js/ace/css/main-18.png +0 -0
  48. package/src/sap/ui/codeeditor/js/ace/css/main-19.png +0 -0
  49. package/src/sap/ui/codeeditor/js/ace/css/main-20.png +0 -0
  50. package/src/sap/ui/codeeditor/js/ace/css/main-21.png +0 -0
  51. package/src/sap/ui/codeeditor/js/ace/css/main-22.png +0 -0
  52. package/src/sap/ui/codeeditor/js/ace/css/main-22.svg +1 -0
  53. package/src/sap/ui/codeeditor/js/ace/css/main-23.png +0 -0
  54. package/src/sap/ui/codeeditor/js/ace/css/main-5.svg +7 -0
  55. package/src/sap/ui/codeeditor/js/ace/css/main-6.svg +7 -0
  56. package/src/sap/ui/codeeditor/js/ace/css/main-7.svg +9 -0
  57. package/src/sap/ui/codeeditor/js/ace/css/main-8.png +0 -0
  58. package/src/sap/ui/codeeditor/js/ace/css/main-8.svg +4 -0
  59. package/src/sap/ui/codeeditor/js/ace/css/main-9.png +0 -0
  60. package/src/sap/ui/codeeditor/js/ace/css/main-9.svg +4 -0
  61. package/src/sap/ui/codeeditor/js/ace/css/merbivore-2.png +0 -0
  62. package/src/sap/ui/codeeditor/js/ace/css/merbivore_soft-2.png +0 -0
  63. package/src/sap/ui/codeeditor/js/ace/css/mono_industrial-2.png +0 -0
  64. package/src/sap/ui/codeeditor/js/ace/css/monokai-2.png +0 -0
  65. package/src/sap/ui/codeeditor/js/ace/css/one_dark-2.png +0 -0
  66. package/src/sap/ui/codeeditor/js/ace/css/pastel_on_dark-2.png +0 -0
  67. package/src/sap/ui/codeeditor/js/ace/css/solarized_dark-2.png +0 -0
  68. package/src/sap/ui/codeeditor/js/ace/css/solarized_light-2.png +0 -0
  69. package/src/sap/ui/codeeditor/js/ace/css/sqlserver-2.png +0 -0
  70. package/src/sap/ui/codeeditor/js/ace/css/terminal-2.png +0 -0
  71. package/src/sap/ui/codeeditor/js/ace/css/textmate-2.png +0 -0
  72. package/src/sap/ui/codeeditor/js/ace/css/theme/ambiance.css +120 -68
  73. package/src/sap/ui/codeeditor/js/ace/css/theme/chaos.css +79 -66
  74. package/src/sap/ui/codeeditor/js/ace/css/theme/chrome.css +82 -43
  75. package/src/sap/ui/codeeditor/js/ace/css/theme/cloud9_day.css +160 -0
  76. package/src/sap/ui/codeeditor/js/ace/css/theme/cloud9_night.css +146 -0
  77. package/src/sap/ui/codeeditor/js/ace/css/theme/cloud9_night_low_color.css +134 -0
  78. package/src/sap/ui/codeeditor/js/ace/css/theme/clouds.css +59 -31
  79. package/src/sap/ui/codeeditor/js/ace/css/theme/clouds_midnight.css +60 -32
  80. package/src/sap/ui/codeeditor/js/ace/css/theme/cobalt.css +71 -38
  81. package/src/sap/ui/codeeditor/js/ace/css/theme/crimson_editor.css +79 -42
  82. package/src/sap/ui/codeeditor/js/ace/css/theme/dawn.css +70 -40
  83. package/src/sap/ui/codeeditor/js/ace/css/theme/dracula.css +95 -49
  84. package/src/sap/ui/codeeditor/js/ace/css/theme/dreamweaver.css +95 -49
  85. package/src/sap/ui/codeeditor/js/ace/css/theme/eclipse.css +62 -33
  86. package/src/sap/ui/codeeditor/js/ace/css/theme/github.css +71 -38
  87. package/src/sap/ui/codeeditor/js/ace/css/theme/github_dark.css +134 -0
  88. package/src/sap/ui/codeeditor/js/ace/css/theme/gob.css +68 -38
  89. package/src/sap/ui/codeeditor/js/ace/css/theme/gruvbox.css +54 -28
  90. package/src/sap/ui/codeeditor/js/ace/css/theme/gruvbox_dark_hard.css +163 -0
  91. package/src/sap/ui/codeeditor/js/ace/css/theme/gruvbox_light_hard.css +167 -0
  92. package/src/sap/ui/codeeditor/js/ace/css/theme/idle_fingers.css +62 -34
  93. package/src/sap/ui/codeeditor/js/ace/css/theme/iplastic.css +76 -45
  94. package/src/sap/ui/codeeditor/js/ace/css/theme/katzenmilch.css +91 -53
  95. package/src/sap/ui/codeeditor/js/ace/css/theme/kr_theme.css +67 -36
  96. package/src/sap/ui/codeeditor/js/ace/css/theme/kuroir.css +43 -17
  97. package/src/sap/ui/codeeditor/js/ace/css/theme/merbivore.css +57 -31
  98. package/src/sap/ui/codeeditor/js/ace/css/theme/merbivore_soft.css +57 -31
  99. package/src/sap/ui/codeeditor/js/ace/css/theme/mono_industrial.css +66 -36
  100. package/src/sap/ui/codeeditor/js/ace/css/theme/monokai.css +63 -35
  101. package/src/sap/ui/codeeditor/js/ace/css/theme/nord_dark.css +55 -29
  102. package/src/sap/ui/codeeditor/js/ace/css/theme/one_dark.css +88 -47
  103. package/src/sap/ui/codeeditor/js/ace/css/theme/pastel_on_dark.css +70 -38
  104. package/src/sap/ui/codeeditor/js/ace/css/theme/solarized_dark.css +52 -28
  105. package/src/sap/ui/codeeditor/js/ace/css/theme/solarized_light.css +55 -29
  106. package/src/sap/ui/codeeditor/js/ace/css/theme/sqlserver.css +90 -48
  107. package/src/sap/ui/codeeditor/js/ace/css/theme/terminal.css +64 -34
  108. package/src/sap/ui/codeeditor/js/ace/css/theme/textmate.css +82 -43
  109. package/src/sap/ui/codeeditor/js/ace/css/theme/tomorrow.css +61 -33
  110. package/src/sap/ui/codeeditor/js/ace/css/theme/tomorrow_night.css +61 -33
  111. package/src/sap/ui/codeeditor/js/ace/css/theme/tomorrow_night_blue.css +59 -32
  112. package/src/sap/ui/codeeditor/js/ace/css/theme/tomorrow_night_bright.css +71 -40
  113. package/src/sap/ui/codeeditor/js/ace/css/theme/tomorrow_night_eighties.css +61 -33
  114. package/src/sap/ui/codeeditor/js/ace/css/theme/twilight.css +66 -36
  115. package/src/sap/ui/codeeditor/js/ace/css/theme/vibrant_ink.css +59 -32
  116. package/src/sap/ui/codeeditor/js/ace/css/theme/xcode.css +54 -28
  117. package/src/sap/ui/codeeditor/js/ace/css/tomorrow-2.png +0 -0
  118. package/src/sap/ui/codeeditor/js/ace/css/tomorrow_night-2.png +0 -0
  119. package/src/sap/ui/codeeditor/js/ace/css/tomorrow_night_blue-2.png +0 -0
  120. package/src/sap/ui/codeeditor/js/ace/css/tomorrow_night_bright-2.png +0 -0
  121. package/src/sap/ui/codeeditor/js/ace/css/tomorrow_night_eighties-2.png +0 -0
  122. package/src/sap/ui/codeeditor/js/ace/css/twilight-2.png +0 -0
  123. package/src/sap/ui/codeeditor/js/ace/css/vibrant_ink-2.png +0 -0
  124. package/src/sap/ui/codeeditor/js/ace/css/xcode-2.png +0 -0
  125. package/src/sap/ui/codeeditor/js/ace/ext-beautify.js +90 -91
  126. package/src/sap/ui/codeeditor/js/ace/ext-code_lens.js +39 -75
  127. package/src/sap/ui/codeeditor/js/ace/ext-command_bar.js +457 -0
  128. package/src/sap/ui/codeeditor/js/ace/ext-elastic_tabstops_lite.js +47 -97
  129. package/src/sap/ui/codeeditor/js/ace/ext-emmet.js +496 -552
  130. package/src/sap/ui/codeeditor/js/ace/ext-hardwrap.js +47 -16
  131. package/src/sap/ui/codeeditor/js/ace/ext-inline_autocomplete.js +3269 -0
  132. package/src/sap/ui/codeeditor/js/ace/ext-keybinding_menu.js +45 -105
  133. package/src/sap/ui/codeeditor/js/ace/ext-language_tools.js +1438 -1128
  134. package/src/sap/ui/codeeditor/js/ace/ext-linking.js +8 -16
  135. package/src/sap/ui/codeeditor/js/ace/ext-modelist.js +198 -185
  136. package/src/sap/ui/codeeditor/js/ace/ext-options.js +405 -443
  137. package/src/sap/ui/codeeditor/js/ace/ext-prompt.js +1682 -1508
  138. package/src/sap/ui/codeeditor/js/ace/ext-rtl.js +26 -28
  139. package/src/sap/ui/codeeditor/js/ace/ext-searchbox.js +160 -332
  140. package/src/sap/ui/codeeditor/js/ace/ext-settings_menu.js +409 -446
  141. package/src/sap/ui/codeeditor/js/ace/ext-simple_tokenizer.js +45 -0
  142. package/src/sap/ui/codeeditor/js/ace/ext-spellcheck.js +4 -10
  143. package/src/sap/ui/codeeditor/js/ace/ext-split.js +41 -63
  144. package/src/sap/ui/codeeditor/js/ace/ext-statusbar.js +19 -27
  145. package/src/sap/ui/codeeditor/js/ace/ext-themelist.js +45 -41
  146. package/src/sap/ui/codeeditor/js/ace/ext-whitespace.js +62 -83
  147. package/src/sap/ui/codeeditor/js/ace/keybinding-emacs.js +442 -551
  148. package/src/sap/ui/codeeditor/js/ace/keybinding-sublime.js +338 -351
  149. package/src/sap/ui/codeeditor/js/ace/keybinding-vim.js +5242 -4758
  150. package/src/sap/ui/codeeditor/js/ace/keybinding-vscode.js +228 -235
  151. package/src/sap/ui/codeeditor/js/ace/mode-abap.js +72 -93
  152. package/src/sap/ui/codeeditor/js/ace/mode-abc.js +136 -164
  153. package/src/sap/ui/codeeditor/js/ace/mode-actionscript.js +109 -150
  154. package/src/sap/ui/codeeditor/js/ace/mode-ada.js +45 -74
  155. package/src/sap/ui/codeeditor/js/ace/mode-alda.js +77 -109
  156. package/src/sap/ui/codeeditor/js/ace/mode-apache_conf.js +196 -241
  157. package/src/sap/ui/codeeditor/js/ace/mode-apex.js +192 -247
  158. package/src/sap/ui/codeeditor/js/ace/mode-applescript.js +56 -102
  159. package/src/sap/ui/codeeditor/js/ace/mode-aql.js +85 -95
  160. package/src/sap/ui/codeeditor/js/ace/mode-asciidoc.js +120 -158
  161. package/src/sap/ui/codeeditor/js/ace/mode-asl.js +233 -298
  162. package/src/sap/ui/codeeditor/js/ace/mode-assembly_x86.js +78 -101
  163. package/src/sap/ui/codeeditor/js/ace/mode-astro.js +2414 -0
  164. package/src/sap/ui/codeeditor/js/ace/mode-autohotkey.js +80 -116
  165. package/src/sap/ui/codeeditor/js/ace/mode-batchfile.js +74 -105
  166. package/src/sap/ui/codeeditor/js/ace/mode-bibtex.js +318 -0
  167. package/src/sap/ui/codeeditor/js/ace/mode-c9search.js +72 -115
  168. package/src/sap/ui/codeeditor/js/ace/mode-c_cpp.js +171 -257
  169. package/src/sap/ui/codeeditor/js/ace/mode-cirru.js +97 -115
  170. package/src/sap/ui/codeeditor/js/ace/mode-clojure.js +126 -119
  171. package/src/sap/ui/codeeditor/js/ace/mode-cobol.js +48 -67
  172. package/src/sap/ui/codeeditor/js/ace/mode-coffee.js +203 -268
  173. package/src/sap/ui/codeeditor/js/ace/mode-coldfusion.js +1029 -1276
  174. package/src/sap/ui/codeeditor/js/ace/mode-crystal.js +337 -393
  175. package/src/sap/ui/codeeditor/js/ace/mode-csharp.js +127 -216
  176. package/src/sap/ui/codeeditor/js/ace/mode-csound_document.js +1539 -1569
  177. package/src/sap/ui/codeeditor/js/ace/mode-csound_orchestra.js +786 -898
  178. package/src/sap/ui/codeeditor/js/ace/mode-csound_score.js +184 -237
  179. package/src/sap/ui/codeeditor/js/ace/mode-csp.js +37 -37
  180. package/src/sap/ui/codeeditor/js/ace/mode-css.js +293 -384
  181. package/src/sap/ui/codeeditor/js/ace/mode-curly.js +1019 -1262
  182. package/src/sap/ui/codeeditor/js/ace/mode-cuttlefish.js +56 -0
  183. package/src/sap/ui/codeeditor/js/ace/mode-d.js +163 -233
  184. package/src/sap/ui/codeeditor/js/ace/mode-dart.js +330 -427
  185. package/src/sap/ui/codeeditor/js/ace/mode-diff.js +20 -38
  186. package/src/sap/ui/codeeditor/js/ace/mode-django.js +1032 -1271
  187. package/src/sap/ui/codeeditor/js/ace/mode-dockerfile.js +211 -284
  188. package/src/sap/ui/codeeditor/js/ace/mode-dot.js +131 -200
  189. package/src/sap/ui/codeeditor/js/ace/mode-drools.js +408 -349
  190. package/src/sap/ui/codeeditor/js/ace/mode-edifact.js +89 -125
  191. package/src/sap/ui/codeeditor/js/ace/mode-eiffel.js +47 -62
  192. package/src/sap/ui/codeeditor/js/ace/mode-ejs.js +1350 -1666
  193. package/src/sap/ui/codeeditor/js/ace/mode-elixir.js +349 -407
  194. package/src/sap/ui/codeeditor/js/ace/mode-elm.js +136 -168
  195. package/src/sap/ui/codeeditor/js/ace/mode-erlang.js +707 -881
  196. package/src/sap/ui/codeeditor/js/ace/mode-flix.js +164 -0
  197. package/src/sap/ui/codeeditor/js/ace/mode-forth.js +128 -172
  198. package/src/sap/ui/codeeditor/js/ace/mode-fortran.js +177 -246
  199. package/src/sap/ui/codeeditor/js/ace/mode-fsharp.js +92 -131
  200. package/src/sap/ui/codeeditor/js/ace/mode-fsl.js +91 -124
  201. package/src/sap/ui/codeeditor/js/ace/mode-ftl.js +813 -748
  202. package/src/sap/ui/codeeditor/js/ace/mode-gcode.js +52 -71
  203. package/src/sap/ui/codeeditor/js/ace/mode-gherkin.js +105 -119
  204. package/src/sap/ui/codeeditor/js/ace/mode-gitignore.js +12 -22
  205. package/src/sap/ui/codeeditor/js/ace/mode-glsl.js +184 -289
  206. package/src/sap/ui/codeeditor/js/ace/mode-gobstones.js +686 -623
  207. package/src/sap/ui/codeeditor/js/ace/mode-golang.js +167 -239
  208. package/src/sap/ui/codeeditor/js/ace/mode-graphqlschema.js +48 -88
  209. package/src/sap/ui/codeeditor/js/ace/mode-groovy.js +577 -471
  210. package/src/sap/ui/codeeditor/js/ace/mode-haml.js +1062 -1026
  211. package/src/sap/ui/codeeditor/js/ace/mode-handlebars.js +1061 -1305
  212. package/src/sap/ui/codeeditor/js/ace/mode-haskell.js +199 -255
  213. package/src/sap/ui/codeeditor/js/ace/mode-haskell_cabal.js +81 -87
  214. package/src/sap/ui/codeeditor/js/ace/mode-haxe.js +111 -184
  215. package/src/sap/ui/codeeditor/js/ace/mode-hjson.js +164 -199
  216. package/src/sap/ui/codeeditor/js/ace/mode-html.js +1009 -1239
  217. package/src/sap/ui/codeeditor/js/ace/mode-html_elixir.js +1402 -1705
  218. package/src/sap/ui/codeeditor/js/ace/mode-html_ruby.js +1390 -1706
  219. package/src/sap/ui/codeeditor/js/ace/mode-ini.js +58 -82
  220. package/src/sap/ui/codeeditor/js/ace/mode-io.js +85 -123
  221. package/src/sap/ui/codeeditor/js/ace/mode-ion.js +477 -0
  222. package/src/sap/ui/codeeditor/js/ace/mode-jack.js +109 -162
  223. package/src/sap/ui/codeeditor/js/ace/mode-jade.js +1339 -1344
  224. package/src/sap/ui/codeeditor/js/ace/mode-java.js +710 -498
  225. package/src/sap/ui/codeeditor/js/ace/mode-javascript.js +441 -354
  226. package/src/sap/ui/codeeditor/js/ace/mode-jexl.js +270 -0
  227. package/src/sap/ui/codeeditor/js/ace/mode-json.js +93 -147
  228. package/src/sap/ui/codeeditor/js/ace/mode-json5.js +128 -180
  229. package/src/sap/ui/codeeditor/js/ace/mode-jsoniq.js +58 -112
  230. package/src/sap/ui/codeeditor/js/ace/mode-jsp.js +1045 -865
  231. package/src/sap/ui/codeeditor/js/ace/mode-jssm.js +158 -190
  232. package/src/sap/ui/codeeditor/js/ace/mode-jsx.js +121 -194
  233. package/src/sap/ui/codeeditor/js/ace/mode-julia.js +128 -177
  234. package/src/sap/ui/codeeditor/js/ace/mode-kotlin.js +262 -614
  235. package/src/sap/ui/codeeditor/js/ace/mode-latex.js +94 -138
  236. package/src/sap/ui/codeeditor/js/ace/mode-latte.js +1120 -1366
  237. package/src/sap/ui/codeeditor/js/ace/mode-less.js +342 -442
  238. package/src/sap/ui/codeeditor/js/ace/mode-liquid.js +1353 -1414
  239. package/src/sap/ui/codeeditor/js/ace/mode-lisp.js +65 -73
  240. package/src/sap/ui/codeeditor/js/ace/mode-livescript.js +217 -224
  241. package/src/sap/ui/codeeditor/js/ace/mode-logiql.js +97 -142
  242. package/src/sap/ui/codeeditor/js/ace/mode-logtalk.js +187 -227
  243. package/src/sap/ui/codeeditor/js/ace/mode-lsl.js +99 -155
  244. package/src/sap/ui/codeeditor/js/ace/mode-lua.js +152 -211
  245. package/src/sap/ui/codeeditor/js/ace/mode-luapage.js +1167 -1470
  246. package/src/sap/ui/codeeditor/js/ace/mode-lucene.js +25 -34
  247. package/src/sap/ui/codeeditor/js/ace/mode-makefile.js +244 -282
  248. package/src/sap/ui/codeeditor/js/ace/mode-markdown.js +1858 -2177
  249. package/src/sap/ui/codeeditor/js/ace/mode-mask.js +964 -1007
  250. package/src/sap/ui/codeeditor/js/ace/mode-matlab.js +197 -221
  251. package/src/sap/ui/codeeditor/js/ace/mode-maze.js +127 -163
  252. package/src/sap/ui/codeeditor/js/ace/mode-mediawiki.js +464 -476
  253. package/src/sap/ui/codeeditor/js/ace/mode-mel.js +90 -140
  254. package/src/sap/ui/codeeditor/js/ace/mode-mips.js +101 -134
  255. package/src/sap/ui/codeeditor/js/ace/mode-mixal.js +63 -75
  256. package/src/sap/ui/codeeditor/js/ace/mode-mushcode.js +537 -576
  257. package/src/sap/ui/codeeditor/js/ace/mode-mysql.js +85 -102
  258. package/src/sap/ui/codeeditor/js/ace/mode-nasal.js +513 -0
  259. package/src/sap/ui/codeeditor/js/ace/mode-nginx.js +119 -155
  260. package/src/sap/ui/codeeditor/js/ace/mode-nim.js +159 -197
  261. package/src/sap/ui/codeeditor/js/ace/mode-nix.js +283 -375
  262. package/src/sap/ui/codeeditor/js/ace/mode-nsis.js +139 -172
  263. package/src/sap/ui/codeeditor/js/ace/mode-nunjucks.js +1138 -1378
  264. package/src/sap/ui/codeeditor/js/ace/mode-objectivec.js +400 -514
  265. package/src/sap/ui/codeeditor/js/ace/mode-ocaml.js +77 -120
  266. package/src/sap/ui/codeeditor/js/ace/mode-odin.js +449 -0
  267. package/src/sap/ui/codeeditor/js/ace/mode-partiql.js +750 -0
  268. package/src/sap/ui/codeeditor/js/ace/mode-pascal.js +28 -47
  269. package/src/sap/ui/codeeditor/js/ace/mode-perl.js +122 -185
  270. package/src/sap/ui/codeeditor/js/ace/mode-pgsql.js +974 -851
  271. package/src/sap/ui/codeeditor/js/ace/mode-php.js +2282 -1502
  272. package/src/sap/ui/codeeditor/js/ace/mode-php_laravel_blade.js +2463 -1696
  273. package/src/sap/ui/codeeditor/js/ace/mode-pig.js +133 -165
  274. package/src/sap/ui/codeeditor/js/ace/mode-plain_text.js +5 -10
  275. package/src/sap/ui/codeeditor/js/ace/mode-plsql.js +268 -0
  276. package/src/sap/ui/codeeditor/js/ace/mode-powershell.js +332 -183
  277. package/src/sap/ui/codeeditor/js/ace/mode-praat.js +168 -234
  278. package/src/sap/ui/codeeditor/js/ace/mode-prisma.js +292 -324
  279. package/src/sap/ui/codeeditor/js/ace/mode-prolog.js +180 -246
  280. package/src/sap/ui/codeeditor/js/ace/mode-properties.js +26 -37
  281. package/src/sap/ui/codeeditor/js/ace/mode-protobuf.js +232 -327
  282. package/src/sap/ui/codeeditor/js/ace/mode-prql.js +320 -0
  283. package/src/sap/ui/codeeditor/js/ace/mode-puppet.js +68 -120
  284. package/src/sap/ui/codeeditor/js/ace/mode-python.js +338 -370
  285. package/src/sap/ui/codeeditor/js/ace/mode-qml.js +244 -279
  286. package/src/sap/ui/codeeditor/js/ace/mode-r.js +295 -220
  287. package/src/sap/ui/codeeditor/js/ace/mode-raku.js +356 -433
  288. package/src/sap/ui/codeeditor/js/ace/mode-razor.js +1130 -1374
  289. package/src/sap/ui/codeeditor/js/ace/mode-rdoc.js +214 -171
  290. package/src/sap/ui/codeeditor/js/ace/mode-red.js +212 -274
  291. package/src/sap/ui/codeeditor/js/ace/mode-redshift.js +181 -220
  292. package/src/sap/ui/codeeditor/js/ace/mode-rhtml.js +1325 -1443
  293. package/src/sap/ui/codeeditor/js/ace/mode-robot.js +168 -0
  294. package/src/sap/ui/codeeditor/js/ace/mode-rst.js +217 -229
  295. package/src/sap/ui/codeeditor/js/ace/mode-ruby.js +338 -420
  296. package/src/sap/ui/codeeditor/js/ace/mode-rust.js +258 -155
  297. package/src/sap/ui/codeeditor/js/ace/mode-sac.js +349 -0
  298. package/src/sap/ui/codeeditor/js/ace/mode-sass.js +257 -309
  299. package/src/sap/ui/codeeditor/js/ace/mode-scad.js +127 -191
  300. package/src/sap/ui/codeeditor/js/ace/mode-scala.js +572 -468
  301. package/src/sap/ui/codeeditor/js/ace/mode-scheme.js +104 -126
  302. package/src/sap/ui/codeeditor/js/ace/mode-scrypt.js +181 -228
  303. package/src/sap/ui/codeeditor/js/ace/mode-scss.js +364 -472
  304. package/src/sap/ui/codeeditor/js/ace/mode-sh.js +204 -266
  305. package/src/sap/ui/codeeditor/js/ace/mode-sjs.js +477 -405
  306. package/src/sap/ui/codeeditor/js/ace/mode-slim.js +2631 -3161
  307. package/src/sap/ui/codeeditor/js/ace/mode-smarty.js +1075 -1334
  308. package/src/sap/ui/codeeditor/js/ace/mode-smithy.js +276 -327
  309. package/src/sap/ui/codeeditor/js/ace/mode-snippets.js +78 -102
  310. package/src/sap/ui/codeeditor/js/ace/mode-soy_template.js +1251 -1548
  311. package/src/sap/ui/codeeditor/js/ace/mode-space.js +47 -63
  312. package/src/sap/ui/codeeditor/js/ace/mode-sparql.js +139 -171
  313. package/src/sap/ui/codeeditor/js/ace/mode-sql.js +77 -133
  314. package/src/sap/ui/codeeditor/js/ace/mode-sqlserver.js +138 -192
  315. package/src/sap/ui/codeeditor/js/ace/mode-stylus.js +306 -338
  316. package/src/sap/ui/codeeditor/js/ace/mode-svg.js +642 -794
  317. package/src/sap/ui/codeeditor/js/ace/mode-swift.js +96 -150
  318. package/src/sap/ui/codeeditor/js/ace/mode-tcl.js +151 -200
  319. package/src/sap/ui/codeeditor/js/ace/mode-terraform.js +78 -132
  320. package/src/sap/ui/codeeditor/js/ace/mode-tex.js +148 -96
  321. package/src/sap/ui/codeeditor/js/ace/mode-textile.js +45 -70
  322. package/src/sap/ui/codeeditor/js/ace/mode-toml.js +63 -87
  323. package/src/sap/ui/codeeditor/js/ace/mode-tsx.js +462 -384
  324. package/src/sap/ui/codeeditor/js/ace/mode-turtle.js +119 -151
  325. package/src/sap/ui/codeeditor/js/ace/mode-twig.js +1099 -1350
  326. package/src/sap/ui/codeeditor/js/ace/mode-typescript.js +455 -376
  327. package/src/sap/ui/codeeditor/js/ace/mode-vala.js +382 -505
  328. package/src/sap/ui/codeeditor/js/ace/mode-vbscript.js +231 -264
  329. package/src/sap/ui/codeeditor/js/ace/mode-velocity.js +1116 -1388
  330. package/src/sap/ui/codeeditor/js/ace/mode-verilog.js +61 -81
  331. package/src/sap/ui/codeeditor/js/ace/mode-vhdl.js +57 -79
  332. package/src/sap/ui/codeeditor/js/ace/mode-visualforce.js +1046 -1292
  333. package/src/sap/ui/codeeditor/js/ace/mode-wollok.js +525 -417
  334. package/src/sap/ui/codeeditor/js/ace/mode-xml.js +182 -389
  335. package/src/sap/ui/codeeditor/js/ace/mode-xquery.js +58 -112
  336. package/src/sap/ui/codeeditor/js/ace/mode-yaml.js +202 -137
  337. package/src/sap/ui/codeeditor/js/ace/mode-zeek.js +237 -274
  338. package/src/sap/ui/codeeditor/js/ace/snippets/abc.js +5 -34
  339. package/src/sap/ui/codeeditor/js/ace/snippets/actionscript.js +5 -160
  340. package/src/sap/ui/codeeditor/js/ace/snippets/astro.js +9 -0
  341. package/src/sap/ui/codeeditor/js/ace/snippets/bibtex.js +9 -0
  342. package/src/sap/ui/codeeditor/js/ace/snippets/c_cpp.js +5 -134
  343. package/src/sap/ui/codeeditor/js/ace/snippets/clojure.js +5 -93
  344. package/src/sap/ui/codeeditor/js/ace/snippets/coffee.js +5 -98
  345. package/src/sap/ui/codeeditor/js/ace/snippets/csound_document.js +5 -13
  346. package/src/sap/ui/codeeditor/js/ace/snippets/csound_orchestra.js +5 -50
  347. package/src/sap/ui/codeeditor/js/ace/snippets/css.js +5 -970
  348. package/src/sap/ui/codeeditor/js/ace/snippets/cuttlefish.js +9 -0
  349. package/src/sap/ui/codeeditor/js/ace/snippets/dart.js +5 -86
  350. package/src/sap/ui/codeeditor/js/ace/snippets/diff.js +5 -14
  351. package/src/sap/ui/codeeditor/js/ace/snippets/django.js +5 -111
  352. package/src/sap/ui/codeeditor/js/ace/snippets/drools.js +5 -22
  353. package/src/sap/ui/codeeditor/js/ace/snippets/edifact.js +8 -246
  354. package/src/sap/ui/codeeditor/js/ace/snippets/erlang.js +5 -163
  355. package/src/sap/ui/codeeditor/js/ace/snippets/flix.js +9 -0
  356. package/src/sap/ui/codeeditor/js/ace/snippets/fsl.js +6 -4
  357. package/src/sap/ui/codeeditor/js/ace/snippets/gobstones.js +5 -1707
  358. package/src/sap/ui/codeeditor/js/ace/snippets/graphqlschema.js +5 -35
  359. package/src/sap/ui/codeeditor/js/ace/snippets/haml.js +5 -23
  360. package/src/sap/ui/codeeditor/js/ace/snippets/haskell.js +5 -85
  361. package/src/sap/ui/codeeditor/js/ace/snippets/html.js +5 -856
  362. package/src/sap/ui/codeeditor/js/ace/snippets/io.js +1 -3
  363. package/src/sap/ui/codeeditor/js/ace/snippets/ion.js +9 -0
  364. package/src/sap/ui/codeeditor/js/ace/snippets/java.js +5 -243
  365. package/src/sap/ui/codeeditor/js/ace/snippets/javascript.js +5 -198
  366. package/src/sap/ui/codeeditor/js/ace/snippets/jexl.js +9 -0
  367. package/src/sap/ui/codeeditor/js/ace/snippets/jsoniq.js +44 -41
  368. package/src/sap/ui/codeeditor/js/ace/snippets/jsp.js +5 -102
  369. package/src/sap/ui/codeeditor/js/ace/snippets/liquid.js +5 -884
  370. package/src/sap/ui/codeeditor/js/ace/snippets/lsl.js +5 -1235
  371. package/src/sap/ui/codeeditor/js/ace/snippets/lua.js +5 -24
  372. package/src/sap/ui/codeeditor/js/ace/snippets/makefile.js +5 -7
  373. package/src/sap/ui/codeeditor/js/ace/snippets/markdown.js +5 -91
  374. package/src/sap/ui/codeeditor/js/ace/snippets/maze.js +5 -12
  375. package/src/sap/ui/codeeditor/js/ace/snippets/nasal.js +9 -0
  376. package/src/sap/ui/codeeditor/js/ace/snippets/odin.js +9 -0
  377. package/src/sap/ui/codeeditor/js/ace/snippets/partiql.js +9 -0
  378. package/src/sap/ui/codeeditor/js/ace/snippets/perl.js +5 -350
  379. package/src/sap/ui/codeeditor/js/ace/snippets/php.js +5 -386
  380. package/src/sap/ui/codeeditor/js/ace/snippets/plsql.js +9 -0
  381. package/src/sap/ui/codeeditor/js/ace/snippets/prql.js +9 -0
  382. package/src/sap/ui/codeeditor/js/ace/snippets/python.js +5 -161
  383. package/src/sap/ui/codeeditor/js/ace/snippets/r.js +5 -124
  384. package/src/sap/ui/codeeditor/js/ace/snippets/razor.js +5 -6
  385. package/src/sap/ui/codeeditor/js/ace/snippets/robot.js +16 -0
  386. package/src/sap/ui/codeeditor/js/ace/snippets/rst.js +5 -25
  387. package/src/sap/ui/codeeditor/js/ace/snippets/ruby.js +5 -931
  388. package/src/sap/ui/codeeditor/js/ace/snippets/sac.js +9 -0
  389. package/src/sap/ui/codeeditor/js/ace/snippets/sh.js +5 -86
  390. package/src/sap/ui/codeeditor/js/ace/snippets/snippets.js +5 -12
  391. package/src/sap/ui/codeeditor/js/ace/snippets/sql.js +5 -29
  392. package/src/sap/ui/codeeditor/js/ace/snippets/sqlserver.js +5 -72
  393. package/src/sap/ui/codeeditor/js/ace/snippets/tcl.js +5 -95
  394. package/src/sap/ui/codeeditor/js/ace/snippets/tex.js +5 -193
  395. package/src/sap/ui/codeeditor/js/ace/snippets/textile.js +5 -33
  396. package/src/sap/ui/codeeditor/js/ace/snippets/vala.js +1 -2
  397. package/src/sap/ui/codeeditor/js/ace/snippets/velocity.js +5 -31
  398. package/src/sap/ui/codeeditor/js/ace/snippets/wollok.js +5 -87
  399. package/src/sap/ui/codeeditor/js/ace/snippets/xquery.js +44 -41
  400. package/src/sap/ui/codeeditor/js/ace/theme-ambiance.js +5 -172
  401. package/src/sap/ui/codeeditor/js/ace/theme-chaos.js +5 -150
  402. package/src/sap/ui/codeeditor/js/ace/theme-chrome.js +6 -123
  403. package/src/sap/ui/codeeditor/js/ace/theme-cloud9_day.js +19 -0
  404. package/src/sap/ui/codeeditor/js/ace/theme-cloud9_night.js +18 -0
  405. package/src/sap/ui/codeeditor/js/ace/theme-cloud9_night_low_color.js +18 -0
  406. package/src/sap/ui/codeeditor/js/ace/theme-clouds.js +6 -90
  407. package/src/sap/ui/codeeditor/js/ace/theme-clouds_midnight.js +6 -91
  408. package/src/sap/ui/codeeditor/js/ace/theme-cobalt.js +6 -108
  409. package/src/sap/ui/codeeditor/js/ace/theme-crimson_editor.js +6 -113
  410. package/src/sap/ui/codeeditor/js/ace/theme-dawn.js +6 -103
  411. package/src/sap/ui/codeeditor/js/ace/theme-dracula.js +6 -122
  412. package/src/sap/ui/codeeditor/js/ace/theme-dreamweaver.js +7 -137
  413. package/src/sap/ui/codeeditor/js/ace/theme-eclipse.js +6 -92
  414. package/src/sap/ui/codeeditor/js/ace/theme-github.js +7 -99
  415. package/src/sap/ui/codeeditor/js/ace/theme-github_dark.js +18 -0
  416. package/src/sap/ui/codeeditor/js/ace/theme-gob.js +6 -107
  417. package/src/sap/ui/codeeditor/js/ace/theme-gruvbox.js +5 -76
  418. package/src/sap/ui/codeeditor/js/ace/theme-gruvbox_dark_hard.js +18 -0
  419. package/src/sap/ui/codeeditor/js/ace/theme-gruvbox_light_hard.js +18 -0
  420. package/src/sap/ui/codeeditor/js/ace/theme-idle_fingers.js +6 -91
  421. package/src/sap/ui/codeeditor/js/ace/theme-iplastic.js +6 -116
  422. package/src/sap/ui/codeeditor/js/ace/theme-katzenmilch.js +6 -116
  423. package/src/sap/ui/codeeditor/js/ace/theme-kr_theme.js +6 -99
  424. package/src/sap/ui/codeeditor/js/ace/theme-kuroir.js +6 -56
  425. package/src/sap/ui/codeeditor/js/ace/theme-merbivore.js +6 -90
  426. package/src/sap/ui/codeeditor/js/ace/theme-merbivore_soft.js +6 -91
  427. package/src/sap/ui/codeeditor/js/ace/theme-mono_industrial.js +6 -102
  428. package/src/sap/ui/codeeditor/js/ace/theme-monokai.js +6 -100
  429. package/src/sap/ui/codeeditor/js/ace/theme-nord_dark.js +6 -89
  430. package/src/sap/ui/codeeditor/js/ace/theme-one_dark.js +10 -131
  431. package/src/sap/ui/codeeditor/js/ace/theme-pastel_on_dark.js +6 -103
  432. package/src/sap/ui/codeeditor/js/ace/theme-solarized_dark.js +6 -83
  433. package/src/sap/ui/codeeditor/js/ace/theme-solarized_light.js +6 -86
  434. package/src/sap/ui/codeeditor/js/ace/theme-sqlserver.js +6 -133
  435. package/src/sap/ui/codeeditor/js/ace/theme-terminal.js +6 -109
  436. package/src/sap/ui/codeeditor/js/ace/theme-textmate.js +3 -124
  437. package/src/sap/ui/codeeditor/js/ace/theme-tomorrow.js +6 -103
  438. package/src/sap/ui/codeeditor/js/ace/theme-tomorrow_night.js +6 -103
  439. package/src/sap/ui/codeeditor/js/ace/theme-tomorrow_night_blue.js +6 -101
  440. package/src/sap/ui/codeeditor/js/ace/theme-tomorrow_night_bright.js +6 -116
  441. package/src/sap/ui/codeeditor/js/ace/theme-tomorrow_night_eighties.js +6 -103
  442. package/src/sap/ui/codeeditor/js/ace/theme-twilight.js +6 -104
  443. package/src/sap/ui/codeeditor/js/ace/theme-vibrant_ink.js +6 -89
  444. package/src/sap/ui/codeeditor/js/ace/theme-xcode.js +6 -83
  445. package/src/sap/ui/codeeditor/js/ace/worker-base.js +516 -595
  446. package/src/sap/ui/codeeditor/js/ace/worker-coffee.js +496 -575
  447. package/src/sap/ui/codeeditor/js/ace/worker-css.js +501 -578
  448. package/src/sap/ui/codeeditor/js/ace/worker-html.js +515 -584
  449. package/src/sap/ui/codeeditor/js/ace/worker-javascript.js +2964 -2551
  450. package/src/sap/ui/codeeditor/js/ace/worker-json.js +496 -575
  451. package/src/sap/ui/codeeditor/js/ace/worker-lua.js +497 -576
  452. package/src/sap/ui/codeeditor/js/ace/worker-php.js +2906 -2795
  453. package/src/sap/ui/codeeditor/js/ace/worker-xml.js +496 -575
  454. package/src/sap/ui/codeeditor/js/ace/worker-xquery.js +496 -575
  455. package/src/sap/ui/codeeditor/js/ace/worker-yaml.js +5851 -0
  456. package/src/sap/ui/codeeditor/library.js +6 -5
  457. package/LICENSES/BSD-2-Clause.txt +0 -22
@@ -1,21 +1,16 @@
1
- ace.define("ace/mode/css_highlight_rules",[], function(require, exports, module) {
2
- "use strict";
3
-
1
+ ace.define("ace/mode/css_highlight_rules",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/mode/text_highlight_rules"], function(require, exports, module){"use strict";
4
2
  var oop = require("../lib/oop");
5
3
  var lang = require("../lib/lang");
6
4
  var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
7
5
  var supportType = exports.supportType = "align-content|align-items|align-self|all|animation|animation-delay|animation-direction|animation-duration|animation-fill-mode|animation-iteration-count|animation-name|animation-play-state|animation-timing-function|backface-visibility|background|background-attachment|background-blend-mode|background-clip|background-color|background-image|background-origin|background-position|background-repeat|background-size|border|border-bottom|border-bottom-color|border-bottom-left-radius|border-bottom-right-radius|border-bottom-style|border-bottom-width|border-collapse|border-color|border-image|border-image-outset|border-image-repeat|border-image-slice|border-image-source|border-image-width|border-left|border-left-color|border-left-style|border-left-width|border-radius|border-right|border-right-color|border-right-style|border-right-width|border-spacing|border-style|border-top|border-top-color|border-top-left-radius|border-top-right-radius|border-top-style|border-top-width|border-width|bottom|box-shadow|box-sizing|caption-side|clear|clip|color|column-count|column-fill|column-gap|column-rule|column-rule-color|column-rule-style|column-rule-width|column-span|column-width|columns|content|counter-increment|counter-reset|cursor|direction|display|empty-cells|filter|flex|flex-basis|flex-direction|flex-flow|flex-grow|flex-shrink|flex-wrap|float|font|font-family|font-size|font-size-adjust|font-stretch|font-style|font-variant|font-weight|hanging-punctuation|height|justify-content|left|letter-spacing|line-height|list-style|list-style-image|list-style-position|list-style-type|margin|margin-bottom|margin-left|margin-right|margin-top|max-height|max-width|max-zoom|min-height|min-width|min-zoom|nav-down|nav-index|nav-left|nav-right|nav-up|opacity|order|outline|outline-color|outline-offset|outline-style|outline-width|overflow|overflow-x|overflow-y|padding|padding-bottom|padding-left|padding-right|padding-top|page-break-after|page-break-before|page-break-inside|perspective|perspective-origin|position|quotes|resize|right|tab-size|table-layout|text-align|text-align-last|text-decoration|text-decoration-color|text-decoration-line|text-decoration-style|text-indent|text-justify|text-overflow|text-shadow|text-transform|top|transform|transform-origin|transform-style|transition|transition-delay|transition-duration|transition-property|transition-timing-function|unicode-bidi|user-select|user-zoom|vertical-align|visibility|white-space|width|word-break|word-spacing|word-wrap|z-index";
8
6
  var supportFunction = exports.supportFunction = "rgb|rgba|url|attr|counter|counters";
9
- var supportConstant = exports.supportConstant = "absolute|after-edge|after|all-scroll|all|alphabetic|always|antialiased|armenian|auto|avoid-column|avoid-page|avoid|balance|baseline|before-edge|before|below|bidi-override|block-line-height|block|bold|bolder|border-box|both|bottom|box|break-all|break-word|capitalize|caps-height|caption|center|central|char|circle|cjk-ideographic|clone|close-quote|col-resize|collapse|column|consider-shifts|contain|content-box|cover|crosshair|cubic-bezier|dashed|decimal-leading-zero|decimal|default|disabled|disc|disregard-shifts|distribute-all-lines|distribute-letter|distribute-space|distribute|dotted|double|e-resize|ease-in|ease-in-out|ease-out|ease|ellipsis|end|exclude-ruby|fill|fixed|georgian|glyphs|grid-height|groove|hand|hanging|hebrew|help|hidden|hiragana-iroha|hiragana|horizontal|icon|ideograph-alpha|ideograph-numeric|ideograph-parenthesis|ideograph-space|ideographic|inactive|include-ruby|inherit|initial|inline-block|inline-box|inline-line-height|inline-table|inline|inset|inside|inter-ideograph|inter-word|invert|italic|justify|katakana-iroha|katakana|keep-all|last|left|lighter|line-edge|line-through|line|linear|list-item|local|loose|lower-alpha|lower-greek|lower-latin|lower-roman|lowercase|lr-tb|ltr|mathematical|max-height|max-size|medium|menu|message-box|middle|move|n-resize|ne-resize|newspaper|no-change|no-close-quote|no-drop|no-open-quote|no-repeat|none|normal|not-allowed|nowrap|nw-resize|oblique|open-quote|outset|outside|overline|padding-box|page|pointer|pre-line|pre-wrap|pre|preserve-3d|progress|relative|repeat-x|repeat-y|repeat|replaced|reset-size|ridge|right|round|row-resize|rtl|s-resize|scroll|se-resize|separate|slice|small-caps|small-caption|solid|space|square|start|static|status-bar|step-end|step-start|steps|stretch|strict|sub|super|sw-resize|table-caption|table-cell|table-column-group|table-column|table-footer-group|table-header-group|table-row-group|table-row|table|tb-rl|text-after-edge|text-before-edge|text-bottom|text-size|text-top|text|thick|thin|transparent|underline|upper-alpha|upper-latin|upper-roman|uppercase|use-script|vertical-ideographic|vertical-text|visible|w-resize|wait|whitespace|z-index|zero|zoom";
7
+ var supportConstant = exports.supportConstant = "absolute|after-edge|after|all-scroll|all|alphabetic|always|antialiased|armenian|auto|avoid-column|avoid-page|avoid|balance|baseline|before-edge|before|below|bidi-override|block-line-height|block|bold|bolder|border-box|both|bottom|box|break-all|break-word|capitalize|caps-height|caption|center|central|char|circle|cjk-ideographic|clone|close-quote|col-resize|collapse|column|consider-shifts|contain|content-box|cover|crosshair|cubic-bezier|dashed|decimal-leading-zero|decimal|default|disabled|disc|disregard-shifts|distribute-all-lines|distribute-letter|distribute-space|distribute|dotted|double|e-resize|ease-in|ease-in-out|ease-out|ease|ellipsis|end|exclude-ruby|flex-end|flex-start|fill|fixed|georgian|glyphs|grid-height|groove|hand|hanging|hebrew|help|hidden|hiragana-iroha|hiragana|horizontal|icon|ideograph-alpha|ideograph-numeric|ideograph-parenthesis|ideograph-space|ideographic|inactive|include-ruby|inherit|initial|inline-block|inline-box|inline-line-height|inline-table|inline|inset|inside|inter-ideograph|inter-word|invert|italic|justify|katakana-iroha|katakana|keep-all|last|left|lighter|line-edge|line-through|line|linear|list-item|local|loose|lower-alpha|lower-greek|lower-latin|lower-roman|lowercase|lr-tb|ltr|mathematical|max-height|max-size|medium|menu|message-box|middle|move|n-resize|ne-resize|newspaper|no-change|no-close-quote|no-drop|no-open-quote|no-repeat|none|normal|not-allowed|nowrap|nw-resize|oblique|open-quote|outset|outside|overline|padding-box|page|pointer|pre-line|pre-wrap|pre|preserve-3d|progress|relative|repeat-x|repeat-y|repeat|replaced|reset-size|ridge|right|round|row-resize|rtl|s-resize|scroll|se-resize|separate|slice|small-caps|small-caption|solid|space|square|start|static|status-bar|step-end|step-start|steps|stretch|strict|sub|super|sw-resize|table-caption|table-cell|table-column-group|table-column|table-footer-group|table-header-group|table-row-group|table-row|table|tb-rl|text-after-edge|text-before-edge|text-bottom|text-size|text-top|text|thick|thin|transparent|underline|upper-alpha|upper-latin|upper-roman|uppercase|use-script|vertical-ideographic|vertical-text|visible|w-resize|wait|whitespace|z-index|zero|zoom";
10
8
  var supportConstantColor = exports.supportConstantColor = "aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen";
11
9
  var supportConstantFonts = exports.supportConstantFonts = "arial|century|comic|courier|cursive|fantasy|garamond|georgia|helvetica|impact|lucida|symbol|system|tahoma|times|trebuchet|utopia|verdana|webdings|sans-serif|serif|monospace";
12
-
13
10
  var numRe = exports.numRe = "\\-?(?:(?:[0-9]+(?:\\.[0-9]+)?)|(?:\\.[0-9]+))";
14
11
  var pseudoElements = exports.pseudoElements = "(\\:+)\\b(after|before|first-letter|first-line|moz-selection|selection)\\b";
15
- var pseudoClasses = exports.pseudoClasses = "(:)\\b(active|checked|disabled|empty|enabled|first-child|first-of-type|focus|hover|indeterminate|invalid|last-child|last-of-type|link|not|nth-child|nth-last-child|nth-last-of-type|nth-of-type|only-child|only-of-type|required|root|target|valid|visited)\\b";
16
-
17
- var CssHighlightRules = function() {
18
-
12
+ var pseudoClasses = exports.pseudoClasses = "(:)\\b(active|checked|disabled|empty|enabled|first-child|first-of-type|focus|hover|indeterminate|invalid|last-child|last-of-type|link|not|nth-child|nth-last-child|nth-last-of-type|nth-of-type|only-child|only-of-type|required|root|target|valid|visited)\\b";
13
+ var CssHighlightRules = function () {
19
14
  var keywordMapper = this.createKeywordMapper({
20
15
  "support.function": supportFunction,
21
16
  "support.constant": supportConstant,
@@ -23,264 +18,244 @@ var CssHighlightRules = function() {
23
18
  "support.constant.color": supportConstantColor,
24
19
  "support.constant.fonts": supportConstantFonts
25
20
  }, "text", true);
26
-
27
21
  this.$rules = {
28
- "start" : [{
29
- include : ["strings", "url", "comments"]
30
- }, {
31
- token: "paren.lparen",
32
- regex: "\\{",
33
- next: "ruleset"
34
- }, {
35
- token: "paren.rparen",
36
- regex: "\\}"
37
- }, {
38
- token: "string",
39
- regex: "@(?!viewport)",
40
- next: "media"
41
- }, {
42
- token: "keyword",
43
- regex: "#[a-z0-9-_]+"
44
- }, {
45
- token: "keyword",
46
- regex: "%"
47
- }, {
48
- token: "variable",
49
- regex: "\\.[a-z0-9-_]+"
50
- }, {
51
- token: "string",
52
- regex: ":[a-z0-9-_]+"
53
- }, {
54
- token : "constant.numeric",
55
- regex : numRe
56
- }, {
57
- token: "constant",
58
- regex: "[a-z0-9-_]+"
59
- }, {
60
- caseInsensitive: true
61
- }],
62
-
22
+ "start": [{
23
+ include: ["strings", "url", "comments"]
24
+ }, {
25
+ token: "paren.lparen",
26
+ regex: "\\{",
27
+ next: "ruleset"
28
+ }, {
29
+ token: "paren.rparen",
30
+ regex: "\\}"
31
+ }, {
32
+ token: "string",
33
+ regex: "@(?!viewport)",
34
+ next: "media"
35
+ }, {
36
+ token: "keyword",
37
+ regex: "#[a-z0-9-_]+"
38
+ }, {
39
+ token: "keyword",
40
+ regex: "%"
41
+ }, {
42
+ token: "variable",
43
+ regex: "\\.[a-z0-9-_]+"
44
+ }, {
45
+ token: "string",
46
+ regex: ":[a-z0-9-_]+"
47
+ }, {
48
+ token: "constant.numeric",
49
+ regex: numRe
50
+ }, {
51
+ token: "constant",
52
+ regex: "[a-z0-9-_]+"
53
+ }, {
54
+ caseInsensitive: true
55
+ }],
63
56
  "media": [{
64
- include : ["strings", "url", "comments"]
65
- }, {
66
- token: "paren.lparen",
67
- regex: "\\{",
68
- next: "start"
69
- }, {
70
- token: "paren.rparen",
71
- regex: "\\}",
72
- next: "start"
73
- }, {
74
- token: "string",
75
- regex: ";",
76
- next: "start"
77
- }, {
78
- token: "keyword",
79
- regex: "(?:media|supports|document|charset|import|namespace|media|supports|document"
80
- + "|page|font|keyframes|viewport|counter-style|font-feature-values"
81
- + "|swash|ornaments|annotation|stylistic|styleset|character-variant)"
82
- }],
83
-
84
- "comments" : [{
85
- token: "comment", // multi line comment
86
- regex: "\\/\\*",
87
- push: [{
88
- token : "comment",
89
- regex : "\\*\\/",
90
- next : "pop"
91
- }, {
92
- defaultToken : "comment"
93
- }]
94
- }],
95
-
96
- "ruleset" : [{
97
- regex : "-(webkit|ms|moz|o)-",
98
- token : "text"
99
- }, {
100
- token : "punctuation.operator",
101
- regex : "[:;]"
102
- }, {
103
- token : "paren.rparen",
104
- regex : "\\}",
105
- next : "start"
106
- }, {
107
- include : ["strings", "url", "comments"]
108
- }, {
109
- token : ["constant.numeric", "keyword"],
110
- regex : "(" + numRe + ")(ch|cm|deg|em|ex|fr|gd|grad|Hz|in|kHz|mm|ms|pc|pt|px|rad|rem|s|turn|vh|vmax|vmin|vm|vw|%)"
111
- }, {
112
- token : "constant.numeric",
113
- regex : numRe
114
- }, {
115
- token : "constant.numeric", // hex6 color
116
- regex : "#[a-f0-9]{6}"
117
- }, {
118
- token : "constant.numeric", // hex3 color
119
- regex : "#[a-f0-9]{3}"
120
- }, {
121
- token : ["punctuation", "entity.other.attribute-name.pseudo-element.css"],
122
- regex : pseudoElements
123
- }, {
124
- token : ["punctuation", "entity.other.attribute-name.pseudo-class.css"],
125
- regex : pseudoClasses
126
- }, {
127
- include: "url"
128
- }, {
129
- token : keywordMapper,
130
- regex : "\\-?[a-zA-Z_][a-zA-Z0-9_\\-]*"
131
- }, {
132
- caseInsensitive: true
133
- }],
134
-
135
- url: [{
136
- token : "support.function",
137
- regex : "(?:url(:?-prefix)?|domain|regexp)\\(",
138
- push: [{
139
- token : "support.function",
140
- regex : "\\)",
141
- next : "pop"
142
- }, {
143
- defaultToken: "string"
144
- }]
145
- }],
146
-
147
- strings: [{
148
- token : "string.start",
149
- regex : "'",
150
- push : [{
151
- token : "string.end",
152
- regex : "'|$",
153
- next: "pop"
57
+ include: ["strings", "url", "comments"]
154
58
  }, {
155
- include : "escapes"
59
+ token: "paren.lparen",
60
+ regex: "\\{",
61
+ next: "start"
156
62
  }, {
157
- token : "constant.language.escape",
158
- regex : /\\$/,
159
- consumeLineEnd: true
63
+ token: "paren.rparen",
64
+ regex: "\\}",
65
+ next: "start"
160
66
  }, {
161
- defaultToken: "string"
162
- }]
163
- }, {
164
- token : "string.start",
165
- regex : '"',
166
- push : [{
167
- token : "string.end",
168
- regex : '"|$',
169
- next: "pop"
67
+ token: "string",
68
+ regex: ";",
69
+ next: "start"
170
70
  }, {
171
- include : "escapes"
71
+ token: "keyword",
72
+ regex: "(?:media|supports|document|charset|import|namespace|media|supports|document"
73
+ + "|page|font|keyframes|viewport|counter-style|font-feature-values"
74
+ + "|swash|ornaments|annotation|stylistic|styleset|character-variant)"
75
+ }],
76
+ "comments": [{
77
+ token: "comment",
78
+ regex: "\\/\\*",
79
+ push: [{
80
+ token: "comment",
81
+ regex: "\\*\\/",
82
+ next: "pop"
83
+ }, {
84
+ defaultToken: "comment"
85
+ }]
86
+ }],
87
+ "ruleset": [{
88
+ regex: "-(webkit|ms|moz|o)-",
89
+ token: "text"
172
90
  }, {
173
- token : "constant.language.escape",
174
- regex : /\\$/,
175
- consumeLineEnd: true
91
+ token: "punctuation.operator",
92
+ regex: "[:;]"
176
93
  }, {
177
- defaultToken: "string"
178
- }]
179
- }],
94
+ token: "paren.rparen",
95
+ regex: "\\}",
96
+ next: "start"
97
+ }, {
98
+ include: ["strings", "url", "comments"]
99
+ }, {
100
+ token: ["constant.numeric", "keyword"],
101
+ regex: "(" + numRe + ")(ch|cm|deg|em|ex|fr|gd|grad|Hz|in|kHz|mm|ms|pc|pt|px|rad|rem|s|turn|vh|vmax|vmin|vm|vw|%)"
102
+ }, {
103
+ token: "constant.numeric",
104
+ regex: numRe
105
+ }, {
106
+ token: "constant.numeric",
107
+ regex: "#[a-f0-9]{6}"
108
+ }, {
109
+ token: "constant.numeric",
110
+ regex: "#[a-f0-9]{3}"
111
+ }, {
112
+ token: ["punctuation", "entity.other.attribute-name.pseudo-element.css"],
113
+ regex: pseudoElements
114
+ }, {
115
+ token: ["punctuation", "entity.other.attribute-name.pseudo-class.css"],
116
+ regex: pseudoClasses
117
+ }, {
118
+ include: "url"
119
+ }, {
120
+ token: keywordMapper,
121
+ regex: "\\-?[a-zA-Z_][a-zA-Z0-9_\\-]*"
122
+ }, {
123
+ caseInsensitive: true
124
+ }],
125
+ url: [{
126
+ token: "support.function",
127
+ regex: "(?:url(:?-prefix)?|domain|regexp)\\(",
128
+ push: [{
129
+ token: "support.function",
130
+ regex: "\\)",
131
+ next: "pop"
132
+ }, {
133
+ defaultToken: "string"
134
+ }]
135
+ }],
136
+ strings: [{
137
+ token: "string.start",
138
+ regex: "'",
139
+ push: [{
140
+ token: "string.end",
141
+ regex: "'|$",
142
+ next: "pop"
143
+ }, {
144
+ include: "escapes"
145
+ }, {
146
+ token: "constant.language.escape",
147
+ regex: /\\$/,
148
+ consumeLineEnd: true
149
+ }, {
150
+ defaultToken: "string"
151
+ }]
152
+ }, {
153
+ token: "string.start",
154
+ regex: '"',
155
+ push: [{
156
+ token: "string.end",
157
+ regex: '"|$',
158
+ next: "pop"
159
+ }, {
160
+ include: "escapes"
161
+ }, {
162
+ token: "constant.language.escape",
163
+ regex: /\\$/,
164
+ consumeLineEnd: true
165
+ }, {
166
+ defaultToken: "string"
167
+ }]
168
+ }],
180
169
  escapes: [{
181
- token : "constant.language.escape",
182
- regex : /\\([a-fA-F\d]{1,6}|[^a-fA-F\d])/
183
- }]
184
-
170
+ token: "constant.language.escape",
171
+ regex: /\\([a-fA-F\d]{1,6}|[^a-fA-F\d])/
172
+ }]
185
173
  };
186
-
187
174
  this.normalizeRules();
188
175
  };
189
-
190
176
  oop.inherits(CssHighlightRules, TextHighlightRules);
191
-
192
177
  exports.CssHighlightRules = CssHighlightRules;
193
178
 
194
179
  });
195
180
 
196
- ace.define("ace/mode/less_highlight_rules",[], function(require, exports, module) {
197
- "use strict";
198
-
181
+ ace.define("ace/mode/less_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules","ace/mode/css_highlight_rules"], function(require, exports, module){"use strict";
199
182
  var oop = require("../lib/oop");
200
183
  var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
201
184
  var CssHighlightRules = require('./css_highlight_rules');
202
-
203
- var LessHighlightRules = function() {
204
-
205
-
206
- var keywordList = "@import|@media|@font-face|@keyframes|@-webkit-keyframes|@supports|" +
185
+ var LessHighlightRules = function () {
186
+ var keywordList = "@import|@media|@font-face|@keyframes|@-webkit-keyframes|@supports|" +
207
187
  "@charset|@plugin|@namespace|@document|@page|@viewport|@-ms-viewport|" +
208
188
  "or|and|when|not";
209
-
210
189
  var keywords = keywordList.split('|');
211
-
212
190
  var properties = CssHighlightRules.supportType.split('|');
213
-
214
191
  var keywordMapper = this.createKeywordMapper({
215
192
  "support.constant": CssHighlightRules.supportConstant,
216
193
  "keyword": keywordList,
217
194
  "support.constant.color": CssHighlightRules.supportConstantColor,
218
195
  "support.constant.fonts": CssHighlightRules.supportConstantFonts
219
- }, "identifier", true);
220
-
196
+ }, "identifier", true);
221
197
  var numRe = "\\-?(?:(?:[0-9]+)|(?:[0-9]*\\.[0-9]+))";
222
-
223
198
  this.$rules = {
224
- "start" : [
199
+ "start": [
225
200
  {
226
- token : "comment",
227
- regex : "\\/\\/.*$"
201
+ token: "comment",
202
+ regex: "\\/\\/.*$"
228
203
  },
229
204
  {
230
- token : "comment", // multi line comment
231
- regex : "\\/\\*",
232
- next : "comment"
205
+ token: "comment",
206
+ regex: "\\/\\*",
207
+ next: "comment"
233
208
  }, {
234
- token : "string", // single line
235
- regex : '["](?:(?:\\\\.)|(?:[^"\\\\]))*?["]'
209
+ token: "string",
210
+ regex: '["](?:(?:\\\\.)|(?:[^"\\\\]))*?["]'
236
211
  }, {
237
- token : "string", // single line
238
- regex : "['](?:(?:\\\\.)|(?:[^'\\\\]))*?[']"
212
+ token: "string",
213
+ regex: "['](?:(?:\\\\.)|(?:[^'\\\\]))*?[']"
239
214
  }, {
240
- token : ["constant.numeric", "keyword"],
241
- regex : "(" + numRe + ")(ch|cm|deg|em|ex|fr|gd|grad|Hz|in|kHz|mm|ms|pc|pt|px|rad|rem|s|turn|vh|vm|vw|%)"
215
+ token: ["constant.numeric", "keyword"],
216
+ regex: "(" + numRe + ")(ch|cm|deg|em|ex|fr|gd|grad|Hz|in|kHz|mm|ms|pc|pt|px|rad|rem|s|turn|vh|vm|vw|%)"
242
217
  }, {
243
- token : "constant.numeric", // hex6 color
244
- regex : "#[a-f0-9]{6}"
218
+ token: "constant.numeric",
219
+ regex: "#[a-f0-9]{6}"
245
220
  }, {
246
- token : "constant.numeric", // hex3 color
247
- regex : "#[a-f0-9]{3}"
221
+ token: "constant.numeric",
222
+ regex: "#[a-f0-9]{3}"
248
223
  }, {
249
- token : "constant.numeric",
250
- regex : numRe
224
+ token: "constant.numeric",
225
+ regex: numRe
251
226
  }, {
252
- token : ["support.function", "paren.lparen", "string", "paren.rparen"],
253
- regex : "(url)(\\()(.*)(\\))"
227
+ token: ["support.function", "paren.lparen", "string", "paren.rparen"],
228
+ regex: "(url)(\\()(.*)(\\))"
254
229
  }, {
255
- token : ["support.function", "paren.lparen"],
256
- regex : "(:extend|[a-z0-9_\\-]+)(\\()"
230
+ token: ["support.function", "paren.lparen"],
231
+ regex: "(:extend|[a-z0-9_\\-]+)(\\()"
257
232
  }, {
258
- token : function(value) {
233
+ token: function (value) {
259
234
  if (keywords.indexOf(value.toLowerCase()) > -1)
260
235
  return "keyword";
261
236
  else
262
237
  return "variable";
263
238
  },
264
- regex : "[@\\$][a-z0-9_\\-@\\$]*\\b"
239
+ regex: "[@\\$][a-z0-9_\\-@\\$]*\\b"
265
240
  }, {
266
- token : "variable",
267
- regex : "[@\\$]\\{[a-z0-9_\\-@\\$]*\\}"
241
+ token: "variable",
242
+ regex: "[@\\$]\\{[a-z0-9_\\-@\\$]*\\}"
268
243
  }, {
269
- token : function(first, second) {
270
- if(properties.indexOf(first.toLowerCase()) > -1) {
244
+ token: function (first, second) {
245
+ if (properties.indexOf(first.toLowerCase()) > -1) {
271
246
  return ["support.type.property", "text"];
272
247
  }
273
248
  else {
274
249
  return ["support.type.unknownProperty", "text"];
275
250
  }
276
251
  },
277
- regex : "([a-z0-9-_]+)(\\s*:)"
252
+ regex: "([a-z0-9-_]+)(\\s*:)"
278
253
  }, {
279
- token : "keyword",
280
- regex : "&" // special case - always treat as keyword
254
+ token: "keyword",
255
+ regex: "&" // special case - always treat as keyword
281
256
  }, {
282
- token : keywordMapper,
283
- regex : "\\-?[@a-z_][@a-z0-9_\\-]*"
257
+ token: keywordMapper,
258
+ regex: "\\-?[@a-z_][@a-z0-9_\\-]*"
284
259
  }, {
285
260
  token: "variable.language",
286
261
  regex: "#[a-z0-9-_]+"
@@ -294,92 +269,74 @@ var LessHighlightRules = function() {
294
269
  token: "constant",
295
270
  regex: "[a-z0-9-_]+"
296
271
  }, {
297
- token : "keyword.operator",
298
- regex : "<|>|<=|>=|=|!=|-|%|\\+|\\*"
272
+ token: "keyword.operator",
273
+ regex: "<|>|<=|>=|=|!=|-|%|\\+|\\*"
299
274
  }, {
300
- token : "paren.lparen",
301
- regex : "[[({]"
275
+ token: "paren.lparen",
276
+ regex: "[[({]"
302
277
  }, {
303
- token : "paren.rparen",
304
- regex : "[\\])}]"
278
+ token: "paren.rparen",
279
+ regex: "[\\])}]"
305
280
  }, {
306
- token : "text",
307
- regex : "\\s+"
281
+ token: "text",
282
+ regex: "\\s+"
308
283
  }, {
309
284
  caseInsensitive: true
310
285
  }
311
286
  ],
312
- "comment" : [
287
+ "comment": [
313
288
  {
314
- token : "comment", // closing comment
315
- regex : "\\*\\/",
316
- next : "start"
289
+ token: "comment",
290
+ regex: "\\*\\/",
291
+ next: "start"
317
292
  }, {
318
- defaultToken : "comment"
293
+ defaultToken: "comment"
319
294
  }
320
295
  ]
321
296
  };
322
297
  this.normalizeRules();
323
298
  };
324
-
325
299
  oop.inherits(LessHighlightRules, TextHighlightRules);
326
-
327
300
  exports.LessHighlightRules = LessHighlightRules;
328
301
 
329
302
  });
330
303
 
331
- ace.define("ace/mode/matching_brace_outdent",[], function(require, exports, module) {
332
- "use strict";
333
-
304
+ ace.define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"], function(require, exports, module){"use strict";
334
305
  var Range = require("../range").Range;
335
-
336
- var MatchingBraceOutdent = function() {};
337
-
338
- (function() {
339
-
340
- this.checkOutdent = function(line, input) {
341
- if (! /^\s+$/.test(line))
306
+ var MatchingBraceOutdent = function () { };
307
+ (function () {
308
+ this.checkOutdent = function (line, input) {
309
+ if (!/^\s+$/.test(line))
342
310
  return false;
343
-
344
311
  return /^\s*\}/.test(input);
345
312
  };
346
-
347
- this.autoOutdent = function(doc, row) {
313
+ this.autoOutdent = function (doc, row) {
348
314
  var line = doc.getLine(row);
349
315
  var match = line.match(/^(\s*\})/);
350
-
351
- if (!match) return 0;
352
-
316
+ if (!match)
317
+ return 0;
353
318
  var column = match[1].length;
354
- var openBracePos = doc.findMatchingBracket({row: row, column: column});
355
-
356
- if (!openBracePos || openBracePos.row == row) return 0;
357
-
319
+ var openBracePos = doc.findMatchingBracket({ row: row, column: column });
320
+ if (!openBracePos || openBracePos.row == row)
321
+ return 0;
358
322
  var indent = this.$getIndent(doc.getLine(openBracePos.row));
359
- doc.replace(new Range(row, 0, row, column-1), indent);
323
+ doc.replace(new Range(row, 0, row, column - 1), indent);
360
324
  };
361
-
362
- this.$getIndent = function(line) {
325
+ this.$getIndent = function (line) {
363
326
  return line.match(/^\s*/)[0];
364
327
  };
365
-
366
328
  }).call(MatchingBraceOutdent.prototype);
367
-
368
329
  exports.MatchingBraceOutdent = MatchingBraceOutdent;
369
- });
370
330
 
371
- ace.define("ace/mode/behaviour/css",[], function(require, exports, module) {
372
- "use strict";
331
+ });
373
332
 
333
+ ace.define("ace/mode/behaviour/css",["require","exports","module","ace/lib/oop","ace/mode/behaviour","ace/mode/behaviour/cstyle","ace/token_iterator"], function(require, exports, module){"use strict";
374
334
  var oop = require("../../lib/oop");
375
335
  var Behaviour = require("../behaviour").Behaviour;
376
336
  var CstyleBehaviour = require("./cstyle").CstyleBehaviour;
377
337
  var TokenIterator = require("../../token_iterator").TokenIterator;
378
-
379
338
  var CssBehaviour = function () {
380
-
381
339
  this.inherit(CstyleBehaviour);
382
-
383
340
  this.add("colon", "insertion", function (state, action, editor, session, text) {
384
341
  if (text === ':' && editor.selection.isEmpty()) {
385
342
  var cursor = editor.getCursorPosition();
@@ -393,20 +350,19 @@ var CssBehaviour = function () {
393
350
  var rightChar = line.substring(cursor.column, cursor.column + 1);
394
351
  if (rightChar === ':') {
395
352
  return {
396
- text: '',
397
- selection: [1, 1]
353
+ text: '',
354
+ selection: [1, 1]
398
355
  };
399
356
  }
400
357
  if (/^(\s+[^;]|\s*$)/.test(line.substring(cursor.column))) {
401
358
  return {
402
- text: ':;',
403
- selection: [1, 1]
359
+ text: ':;',
360
+ selection: [1, 1]
404
361
  };
405
362
  }
406
363
  }
407
364
  }
408
365
  });
409
-
410
366
  this.add("colon", "deletion", function (state, action, editor, session, range) {
411
367
  var selected = session.doc.getTextRange(range);
412
368
  if (!range.isMultiLine() && selected === ':') {
@@ -420,13 +376,12 @@ var CssBehaviour = function () {
420
376
  var line = session.doc.getLine(range.start.row);
421
377
  var rightChar = line.substring(range.end.column, range.end.column + 1);
422
378
  if (rightChar === ';') {
423
- range.end.column ++;
379
+ range.end.column++;
424
380
  return range;
425
381
  }
426
382
  }
427
383
  }
428
384
  });
429
-
430
385
  this.add("semicolon", "insertion", function (state, action, editor, session, text) {
431
386
  if (text === ';' && editor.selection.isEmpty()) {
432
387
  var cursor = editor.getCursorPosition();
@@ -434,18 +389,16 @@ var CssBehaviour = function () {
434
389
  var rightChar = line.substring(cursor.column, cursor.column + 1);
435
390
  if (rightChar === ';') {
436
391
  return {
437
- text: '',
438
- selection: [1, 1]
392
+ text: '',
393
+ selection: [1, 1]
439
394
  };
440
395
  }
441
396
  }
442
397
  });
443
-
444
398
  this.add("!important", "insertion", function (state, action, editor, session, text) {
445
399
  if (text === '!' && editor.selection.isEmpty()) {
446
400
  var cursor = editor.getCursorPosition();
447
401
  var line = session.doc.getLine(cursor.row);
448
-
449
402
  if (/^\s*(;|}|$)/.test(line.substring(cursor.column))) {
450
403
  return {
451
404
  text: '!important',
@@ -454,82 +407,78 @@ var CssBehaviour = function () {
454
407
  }
455
408
  }
456
409
  });
457
-
458
410
  };
459
411
  oop.inherits(CssBehaviour, CstyleBehaviour);
460
-
461
412
  exports.CssBehaviour = CssBehaviour;
462
- });
463
413
 
464
- ace.define("ace/mode/css_completions",[], function(require, exports, module) {
465
- "use strict";
414
+ });
466
415
 
416
+ ace.define("ace/mode/css_completions",["require","exports","module"], function(require, exports, module){"use strict";
467
417
  var propertyMap = {
468
- "background": {"#$0": 1},
469
- "background-color": {"#$0": 1, "transparent": 1, "fixed": 1},
470
- "background-image": {"url('/$0')": 1},
471
- "background-repeat": {"repeat": 1, "repeat-x": 1, "repeat-y": 1, "no-repeat": 1, "inherit": 1},
472
- "background-position": {"bottom":2, "center":2, "left":2, "right":2, "top":2, "inherit":2},
473
- "background-attachment": {"scroll": 1, "fixed": 1},
474
- "background-size": {"cover": 1, "contain": 1},
475
- "background-clip": {"border-box": 1, "padding-box": 1, "content-box": 1},
476
- "background-origin": {"border-box": 1, "padding-box": 1, "content-box": 1},
477
- "border": {"solid $0": 1, "dashed $0": 1, "dotted $0": 1, "#$0": 1},
478
- "border-color": {"#$0": 1},
479
- "border-style": {"solid":2, "dashed":2, "dotted":2, "double":2, "groove":2, "hidden":2, "inherit":2, "inset":2, "none":2, "outset":2, "ridged":2},
480
- "border-collapse": {"collapse": 1, "separate": 1},
481
- "bottom": {"px": 1, "em": 1, "%": 1},
482
- "clear": {"left": 1, "right": 1, "both": 1, "none": 1},
483
- "color": {"#$0": 1, "rgb(#$00,0,0)": 1},
484
- "cursor": {"default": 1, "pointer": 1, "move": 1, "text": 1, "wait": 1, "help": 1, "progress": 1, "n-resize": 1, "ne-resize": 1, "e-resize": 1, "se-resize": 1, "s-resize": 1, "sw-resize": 1, "w-resize": 1, "nw-resize": 1},
485
- "display": {"none": 1, "block": 1, "inline": 1, "inline-block": 1, "table-cell": 1},
486
- "empty-cells": {"show": 1, "hide": 1},
487
- "float": {"left": 1, "right": 1, "none": 1},
488
- "font-family": {"Arial":2,"Comic Sans MS":2,"Consolas":2,"Courier New":2,"Courier":2,"Georgia":2,"Monospace":2,"Sans-Serif":2, "Segoe UI":2,"Tahoma":2,"Times New Roman":2,"Trebuchet MS":2,"Verdana": 1},
489
- "font-size": {"px": 1, "em": 1, "%": 1},
490
- "font-weight": {"bold": 1, "normal": 1},
491
- "font-style": {"italic": 1, "normal": 1},
492
- "font-variant": {"normal": 1, "small-caps": 1},
493
- "height": {"px": 1, "em": 1, "%": 1},
494
- "left": {"px": 1, "em": 1, "%": 1},
495
- "letter-spacing": {"normal": 1},
496
- "line-height": {"normal": 1},
497
- "list-style-type": {"none": 1, "disc": 1, "circle": 1, "square": 1, "decimal": 1, "decimal-leading-zero": 1, "lower-roman": 1, "upper-roman": 1, "lower-greek": 1, "lower-latin": 1, "upper-latin": 1, "georgian": 1, "lower-alpha": 1, "upper-alpha": 1},
498
- "margin": {"px": 1, "em": 1, "%": 1},
499
- "margin-right": {"px": 1, "em": 1, "%": 1},
500
- "margin-left": {"px": 1, "em": 1, "%": 1},
501
- "margin-top": {"px": 1, "em": 1, "%": 1},
502
- "margin-bottom": {"px": 1, "em": 1, "%": 1},
503
- "max-height": {"px": 1, "em": 1, "%": 1},
504
- "max-width": {"px": 1, "em": 1, "%": 1},
505
- "min-height": {"px": 1, "em": 1, "%": 1},
506
- "min-width": {"px": 1, "em": 1, "%": 1},
507
- "overflow": {"hidden": 1, "visible": 1, "auto": 1, "scroll": 1},
508
- "overflow-x": {"hidden": 1, "visible": 1, "auto": 1, "scroll": 1},
509
- "overflow-y": {"hidden": 1, "visible": 1, "auto": 1, "scroll": 1},
510
- "padding": {"px": 1, "em": 1, "%": 1},
511
- "padding-top": {"px": 1, "em": 1, "%": 1},
512
- "padding-right": {"px": 1, "em": 1, "%": 1},
513
- "padding-bottom": {"px": 1, "em": 1, "%": 1},
514
- "padding-left": {"px": 1, "em": 1, "%": 1},
515
- "page-break-after": {"auto": 1, "always": 1, "avoid": 1, "left": 1, "right": 1},
516
- "page-break-before": {"auto": 1, "always": 1, "avoid": 1, "left": 1, "right": 1},
517
- "position": {"absolute": 1, "relative": 1, "fixed": 1, "static": 1},
518
- "right": {"px": 1, "em": 1, "%": 1},
519
- "table-layout": {"fixed": 1, "auto": 1},
520
- "text-decoration": {"none": 1, "underline": 1, "line-through": 1, "blink": 1},
521
- "text-align": {"left": 1, "right": 1, "center": 1, "justify": 1},
522
- "text-transform": {"capitalize": 1, "uppercase": 1, "lowercase": 1, "none": 1},
523
- "top": {"px": 1, "em": 1, "%": 1},
524
- "vertical-align": {"top": 1, "bottom": 1},
525
- "visibility": {"hidden": 1, "visible": 1},
526
- "white-space": {"nowrap": 1, "normal": 1, "pre": 1, "pre-line": 1, "pre-wrap": 1},
527
- "width": {"px": 1, "em": 1, "%": 1},
528
- "word-spacing": {"normal": 1},
529
- "filter": {"alpha(opacity=$0100)": 1},
530
-
531
- "text-shadow": {"$02px 2px 2px #777": 1},
532
- "text-overflow": {"ellipsis-word": 1, "clip": 1, "ellipsis": 1},
418
+ "background": { "#$0": 1 },
419
+ "background-color": { "#$0": 1, "transparent": 1, "fixed": 1 },
420
+ "background-image": { "url('/$0')": 1 },
421
+ "background-repeat": { "repeat": 1, "repeat-x": 1, "repeat-y": 1, "no-repeat": 1, "inherit": 1 },
422
+ "background-position": { "bottom": 2, "center": 2, "left": 2, "right": 2, "top": 2, "inherit": 2 },
423
+ "background-attachment": { "scroll": 1, "fixed": 1 },
424
+ "background-size": { "cover": 1, "contain": 1 },
425
+ "background-clip": { "border-box": 1, "padding-box": 1, "content-box": 1 },
426
+ "background-origin": { "border-box": 1, "padding-box": 1, "content-box": 1 },
427
+ "border": { "solid $0": 1, "dashed $0": 1, "dotted $0": 1, "#$0": 1 },
428
+ "border-color": { "#$0": 1 },
429
+ "border-style": { "solid": 2, "dashed": 2, "dotted": 2, "double": 2, "groove": 2, "hidden": 2, "inherit": 2, "inset": 2, "none": 2, "outset": 2, "ridged": 2 },
430
+ "border-collapse": { "collapse": 1, "separate": 1 },
431
+ "bottom": { "px": 1, "em": 1, "%": 1 },
432
+ "clear": { "left": 1, "right": 1, "both": 1, "none": 1 },
433
+ "color": { "#$0": 1, "rgb(#$00,0,0)": 1 },
434
+ "cursor": { "default": 1, "pointer": 1, "move": 1, "text": 1, "wait": 1, "help": 1, "progress": 1, "n-resize": 1, "ne-resize": 1, "e-resize": 1, "se-resize": 1, "s-resize": 1, "sw-resize": 1, "w-resize": 1, "nw-resize": 1 },
435
+ "display": { "none": 1, "block": 1, "inline": 1, "inline-block": 1, "table-cell": 1 },
436
+ "empty-cells": { "show": 1, "hide": 1 },
437
+ "float": { "left": 1, "right": 1, "none": 1 },
438
+ "font-family": { "Arial": 2, "Comic Sans MS": 2, "Consolas": 2, "Courier New": 2, "Courier": 2, "Georgia": 2, "Monospace": 2, "Sans-Serif": 2, "Segoe UI": 2, "Tahoma": 2, "Times New Roman": 2, "Trebuchet MS": 2, "Verdana": 1 },
439
+ "font-size": { "px": 1, "em": 1, "%": 1 },
440
+ "font-weight": { "bold": 1, "normal": 1 },
441
+ "font-style": { "italic": 1, "normal": 1 },
442
+ "font-variant": { "normal": 1, "small-caps": 1 },
443
+ "height": { "px": 1, "em": 1, "%": 1 },
444
+ "left": { "px": 1, "em": 1, "%": 1 },
445
+ "letter-spacing": { "normal": 1 },
446
+ "line-height": { "normal": 1 },
447
+ "list-style-type": { "none": 1, "disc": 1, "circle": 1, "square": 1, "decimal": 1, "decimal-leading-zero": 1, "lower-roman": 1, "upper-roman": 1, "lower-greek": 1, "lower-latin": 1, "upper-latin": 1, "georgian": 1, "lower-alpha": 1, "upper-alpha": 1 },
448
+ "margin": { "px": 1, "em": 1, "%": 1 },
449
+ "margin-right": { "px": 1, "em": 1, "%": 1 },
450
+ "margin-left": { "px": 1, "em": 1, "%": 1 },
451
+ "margin-top": { "px": 1, "em": 1, "%": 1 },
452
+ "margin-bottom": { "px": 1, "em": 1, "%": 1 },
453
+ "max-height": { "px": 1, "em": 1, "%": 1 },
454
+ "max-width": { "px": 1, "em": 1, "%": 1 },
455
+ "min-height": { "px": 1, "em": 1, "%": 1 },
456
+ "min-width": { "px": 1, "em": 1, "%": 1 },
457
+ "overflow": { "hidden": 1, "visible": 1, "auto": 1, "scroll": 1 },
458
+ "overflow-x": { "hidden": 1, "visible": 1, "auto": 1, "scroll": 1 },
459
+ "overflow-y": { "hidden": 1, "visible": 1, "auto": 1, "scroll": 1 },
460
+ "padding": { "px": 1, "em": 1, "%": 1 },
461
+ "padding-top": { "px": 1, "em": 1, "%": 1 },
462
+ "padding-right": { "px": 1, "em": 1, "%": 1 },
463
+ "padding-bottom": { "px": 1, "em": 1, "%": 1 },
464
+ "padding-left": { "px": 1, "em": 1, "%": 1 },
465
+ "page-break-after": { "auto": 1, "always": 1, "avoid": 1, "left": 1, "right": 1 },
466
+ "page-break-before": { "auto": 1, "always": 1, "avoid": 1, "left": 1, "right": 1 },
467
+ "position": { "absolute": 1, "relative": 1, "fixed": 1, "static": 1 },
468
+ "right": { "px": 1, "em": 1, "%": 1 },
469
+ "table-layout": { "fixed": 1, "auto": 1 },
470
+ "text-decoration": { "none": 1, "underline": 1, "line-through": 1, "blink": 1 },
471
+ "text-align": { "left": 1, "right": 1, "center": 1, "justify": 1 },
472
+ "text-transform": { "capitalize": 1, "uppercase": 1, "lowercase": 1, "none": 1 },
473
+ "top": { "px": 1, "em": 1, "%": 1 },
474
+ "vertical-align": { "top": 1, "bottom": 1 },
475
+ "visibility": { "hidden": 1, "visible": 1 },
476
+ "white-space": { "nowrap": 1, "normal": 1, "pre": 1, "pre-line": 1, "pre-wrap": 1 },
477
+ "width": { "px": 1, "em": 1, "%": 1 },
478
+ "word-spacing": { "normal": 1 },
479
+ "filter": { "alpha(opacity=$0100)": 1 },
480
+ "text-shadow": { "$02px 2px 2px #777": 1 },
481
+ "text-overflow": { "ellipsis-word": 1, "clip": 1, "ellipsis": 1 },
533
482
  "-moz-border-radius": 1,
534
483
  "-moz-border-radius-topright": 1,
535
484
  "-moz-border-radius-bottomright": 1,
@@ -542,81 +491,71 @@ var propertyMap = {
542
491
  "-webkit-border-bottom-left-radius": 1,
543
492
  "-moz-box-shadow": 1,
544
493
  "-webkit-box-shadow": 1,
545
- "transform": {"rotate($00deg)": 1, "skew($00deg)": 1},
546
- "-moz-transform": {"rotate($00deg)": 1, "skew($00deg)": 1},
547
- "-webkit-transform": {"rotate($00deg)": 1, "skew($00deg)": 1 }
494
+ "transform": { "rotate($00deg)": 1, "skew($00deg)": 1 },
495
+ "-moz-transform": { "rotate($00deg)": 1, "skew($00deg)": 1 },
496
+ "-webkit-transform": { "rotate($00deg)": 1, "skew($00deg)": 1 }
548
497
  };
549
-
550
- var CssCompletions = function() {
551
-
498
+ var CssCompletions = function () {
552
499
  };
553
-
554
- (function() {
555
-
500
+ (function () {
556
501
  this.completionsDefined = false;
557
-
558
- this.defineCompletions = function() {
502
+ this.defineCompletions = function () {
559
503
  if (document) {
560
504
  var style = document.createElement('c').style;
561
-
562
505
  for (var i in style) {
563
506
  if (typeof style[i] !== 'string')
564
507
  continue;
565
-
566
- var name = i.replace(/[A-Z]/g, function(x) {
508
+ var name = i.replace(/[A-Z]/g, function (x) {
567
509
  return '-' + x.toLowerCase();
568
510
  });
569
-
570
511
  if (!propertyMap.hasOwnProperty(name))
571
512
  propertyMap[name] = 1;
572
513
  }
573
514
  }
574
-
575
515
  this.completionsDefined = true;
576
516
  };
577
-
578
- this.getCompletions = function(state, session, pos, prefix) {
517
+ this.getCompletions = function (state, session, pos, prefix) {
579
518
  if (!this.completionsDefined) {
580
519
  this.defineCompletions();
581
520
  }
582
-
583
- if (state==='ruleset' || session.$mode.$id == "ace/mode/scss") {
521
+ if (state === 'ruleset' || session.$mode.$id == "ace/mode/scss") {
584
522
  var line = session.getLine(pos.row).substr(0, pos.column);
523
+ var inParens = /\([^)]*$/.test(line);
524
+ if (inParens) {
525
+ line = line.substr(line.lastIndexOf('(') + 1);
526
+ }
585
527
  if (/:[^;]+$/.test(line)) {
586
528
  /([\w\-]+):[^:]*$/.test(line);
587
-
588
529
  return this.getPropertyValueCompletions(state, session, pos, prefix);
589
- } else {
590
- return this.getPropertyCompletions(state, session, pos, prefix);
530
+ }
531
+ else {
532
+ return this.getPropertyCompletions(state, session, pos, prefix, inParens);
591
533
  }
592
534
  }
593
-
594
535
  return [];
595
536
  };
596
-
597
- this.getPropertyCompletions = function(state, session, pos, prefix) {
537
+ this.getPropertyCompletions = function (state, session, pos, prefix, skipSemicolon) {
538
+ skipSemicolon = skipSemicolon || false;
598
539
  var properties = Object.keys(propertyMap);
599
- return properties.map(function(property){
540
+ return properties.map(function (property) {
600
541
  return {
601
542
  caption: property,
602
- snippet: property + ': $0;',
543
+ snippet: property + ': $0' + (skipSemicolon ? '' : ';'),
603
544
  meta: "property",
604
545
  score: 1000000
605
546
  };
606
547
  });
607
548
  };
608
-
609
- this.getPropertyValueCompletions = function(state, session, pos, prefix) {
549
+ this.getPropertyValueCompletions = function (state, session, pos, prefix) {
610
550
  var line = session.getLine(pos.row).substr(0, pos.column);
611
551
  var property = (/([\w\-]+):[^:]*$/.exec(line) || {})[1];
612
-
613
552
  if (!property)
614
553
  return [];
615
554
  var values = [];
616
555
  if (property in propertyMap && typeof propertyMap[property] === "object") {
617
556
  values = Object.keys(propertyMap[property]);
618
557
  }
619
- return values.map(function(value){
558
+ return values.map(function (value) {
620
559
  return {
621
560
  caption: value,
622
561
  snippet: value,
@@ -625,95 +564,70 @@ var CssCompletions = function() {
625
564
  };
626
565
  });
627
566
  };
628
-
629
567
  }).call(CssCompletions.prototype);
630
-
631
568
  exports.CssCompletions = CssCompletions;
632
- });
633
569
 
634
- ace.define("ace/mode/folding/cstyle",[], function(require, exports, module) {
635
- "use strict";
570
+ });
636
571
 
572
+ ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"], function(require, exports, module){"use strict";
637
573
  var oop = require("../../lib/oop");
638
574
  var Range = require("../../range").Range;
639
575
  var BaseFoldMode = require("./fold_mode").FoldMode;
640
-
641
- var FoldMode = exports.FoldMode = function(commentRegex) {
576
+ var FoldMode = exports.FoldMode = function (commentRegex) {
642
577
  if (commentRegex) {
643
- this.foldingStartMarker = new RegExp(
644
- this.foldingStartMarker.source.replace(/\|[^|]*?$/, "|" + commentRegex.start)
645
- );
646
- this.foldingStopMarker = new RegExp(
647
- this.foldingStopMarker.source.replace(/\|[^|]*?$/, "|" + commentRegex.end)
648
- );
578
+ this.foldingStartMarker = new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/, "|" + commentRegex.start));
579
+ this.foldingStopMarker = new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/, "|" + commentRegex.end));
649
580
  }
650
581
  };
651
582
  oop.inherits(FoldMode, BaseFoldMode);
652
-
653
- (function() {
654
-
583
+ (function () {
655
584
  this.foldingStartMarker = /([\{\[\(])[^\}\]\)]*$|^\s*(\/\*)/;
656
585
  this.foldingStopMarker = /^[^\[\{\(]*([\}\]\)])|^[\s\*]*(\*\/)/;
657
- this.singleLineBlockCommentRe= /^\s*(\/\*).*\*\/\s*$/;
586
+ this.singleLineBlockCommentRe = /^\s*(\/\*).*\*\/\s*$/;
658
587
  this.tripleStarBlockCommentRe = /^\s*(\/\*\*\*).*\*\/\s*$/;
659
588
  this.startRegionRe = /^\s*(\/\*|\/\/)#?region\b/;
660
589
  this._getFoldWidgetBase = this.getFoldWidget;
661
- this.getFoldWidget = function(session, foldStyle, row) {
590
+ this.getFoldWidget = function (session, foldStyle, row) {
662
591
  var line = session.getLine(row);
663
-
664
592
  if (this.singleLineBlockCommentRe.test(line)) {
665
593
  if (!this.startRegionRe.test(line) && !this.tripleStarBlockCommentRe.test(line))
666
594
  return "";
667
595
  }
668
-
669
596
  var fw = this._getFoldWidgetBase(session, foldStyle, row);
670
-
671
597
  if (!fw && this.startRegionRe.test(line))
672
598
  return "start"; // lineCommentRegionStart
673
-
674
599
  return fw;
675
600
  };
676
-
677
- this.getFoldWidgetRange = function(session, foldStyle, row, forceMultiline) {
601
+ this.getFoldWidgetRange = function (session, foldStyle, row, forceMultiline) {
678
602
  var line = session.getLine(row);
679
-
680
603
  if (this.startRegionRe.test(line))
681
604
  return this.getCommentRegionBlock(session, line, row);
682
-
683
605
  var match = line.match(this.foldingStartMarker);
684
606
  if (match) {
685
607
  var i = match.index;
686
-
687
608
  if (match[1])
688
609
  return this.openingBracketBlock(session, match[1], row, i);
689
-
690
610
  var range = session.getCommentFoldRange(row, i + match[0].length, 1);
691
-
692
611
  if (range && !range.isMultiLine()) {
693
612
  if (forceMultiline) {
694
613
  range = this.getSectionRange(session, row);
695
- } else if (foldStyle != "all")
614
+ }
615
+ else if (foldStyle != "all")
696
616
  range = null;
697
617
  }
698
-
699
618
  return range;
700
619
  }
701
-
702
620
  if (foldStyle === "markbegin")
703
621
  return;
704
-
705
622
  var match = line.match(this.foldingStopMarker);
706
623
  if (match) {
707
624
  var i = match.index + match[0].length;
708
-
709
625
  if (match[1])
710
626
  return this.closingBracketBlock(session, match[1], row, i);
711
-
712
627
  return session.getCommentFoldRange(row, i, -1);
713
628
  }
714
629
  };
715
-
716
- this.getSectionRange = function(session, row) {
630
+ this.getSectionRange = function (session, row) {
717
631
  var line = session.getLine(row);
718
632
  var startIndent = line.search(/\S/);
719
633
  var startRow = row;
@@ -726,64 +640,60 @@ oop.inherits(FoldMode, BaseFoldMode);
726
640
  var indent = line.search(/\S/);
727
641
  if (indent === -1)
728
642
  continue;
729
- if (startIndent > indent)
643
+ if (startIndent > indent)
730
644
  break;
731
645
  var subRange = this.getFoldWidgetRange(session, "all", row);
732
-
733
646
  if (subRange) {
734
647
  if (subRange.start.row <= startRow) {
735
648
  break;
736
- } else if (subRange.isMultiLine()) {
649
+ }
650
+ else if (subRange.isMultiLine()) {
737
651
  row = subRange.end.row;
738
- } else if (startIndent == indent) {
652
+ }
653
+ else if (startIndent == indent) {
739
654
  break;
740
655
  }
741
656
  }
742
657
  endRow = row;
743
658
  }
744
-
745
659
  return new Range(startRow, startColumn, endRow, session.getLine(endRow).length);
746
660
  };
747
- this.getCommentRegionBlock = function(session, line, row) {
661
+ this.getCommentRegionBlock = function (session, line, row) {
748
662
  var startColumn = line.search(/\s*$/);
749
663
  var maxRow = session.getLength();
750
664
  var startRow = row;
751
-
752
665
  var re = /^\s*(?:\/\*|\/\/|--)#?(end)?region\b/;
753
666
  var depth = 1;
754
667
  while (++row < maxRow) {
755
668
  line = session.getLine(row);
756
669
  var m = re.exec(line);
757
- if (!m) continue;
758
- if (m[1]) depth--;
759
- else depth++;
760
-
761
- if (!depth) break;
670
+ if (!m)
671
+ continue;
672
+ if (m[1])
673
+ depth--;
674
+ else
675
+ depth++;
676
+ if (!depth)
677
+ break;
762
678
  }
763
-
764
679
  var endRow = row;
765
680
  if (endRow > startRow) {
766
681
  return new Range(startRow, startColumn, endRow, line.length);
767
682
  }
768
683
  };
769
-
770
684
  }).call(FoldMode.prototype);
771
685
 
772
686
  });
773
687
 
774
- ace.define("ace/mode/less",[], function(require, exports, module) {
775
- "use strict";
776
-
688
+ ace.define("ace/mode/less",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/less_highlight_rules","ace/mode/matching_brace_outdent","ace/mode/behaviour/css","ace/mode/css_completions","ace/mode/folding/cstyle"], function(require, exports, module){"use strict";
777
689
  var oop = require("../lib/oop");
778
690
  var TextMode = require("./text").Mode;
779
691
  var LessHighlightRules = require("./less_highlight_rules").LessHighlightRules;
780
692
  var MatchingBraceOutdent = require("./matching_brace_outdent").MatchingBraceOutdent;
781
693
  var CssBehaviour = require("./behaviour/css").CssBehaviour;
782
694
  var CssCompletions = require("./css_completions").CssCompletions;
783
-
784
695
  var CStyleFoldMode = require("./folding/cstyle").FoldMode;
785
-
786
- var Mode = function() {
696
+ var Mode = function () {
787
697
  this.HighlightRules = LessHighlightRules;
788
698
  this.$outdent = new MatchingBraceOutdent();
789
699
  this.$behaviour = new CssBehaviour();
@@ -791,42 +701,32 @@ var Mode = function() {
791
701
  this.foldingRules = new CStyleFoldMode();
792
702
  };
793
703
  oop.inherits(Mode, TextMode);
794
-
795
- (function() {
796
-
704
+ (function () {
797
705
  this.lineCommentStart = "//";
798
- this.blockComment = {start: "/*", end: "*/"};
799
-
800
- this.getNextLineIndent = function(state, line, tab) {
706
+ this.blockComment = { start: "/*", end: "*/" };
707
+ this.getNextLineIndent = function (state, line, tab) {
801
708
  var indent = this.$getIndent(line);
802
709
  var tokens = this.getTokenizer().getLineTokens(line, state).tokens;
803
- if (tokens.length && tokens[tokens.length-1].type == "comment") {
710
+ if (tokens.length && tokens[tokens.length - 1].type == "comment") {
804
711
  return indent;
805
712
  }
806
-
807
713
  var match = line.match(/^.*\{\s*$/);
808
714
  if (match) {
809
715
  indent += tab;
810
716
  }
811
-
812
717
  return indent;
813
718
  };
814
-
815
- this.checkOutdent = function(state, line, input) {
719
+ this.checkOutdent = function (state, line, input) {
816
720
  return this.$outdent.checkOutdent(line, input);
817
721
  };
818
-
819
- this.autoOutdent = function(state, doc, row) {
722
+ this.autoOutdent = function (state, doc, row) {
820
723
  this.$outdent.autoOutdent(doc, row);
821
724
  };
822
-
823
- this.getCompletions = function(state, session, pos, prefix) {
725
+ this.getCompletions = function (state, session, pos, prefix) {
824
726
  return this.$completer.getCompletions("ruleset", session, pos, prefix);
825
727
  };
826
-
827
728
  this.$id = "ace/mode/less";
828
729
  }).call(Mode.prototype);
829
-
830
730
  exports.Mode = Mode;
831
731
 
832
732
  }); (function() {