@codingame/monaco-editor-wrapper 1.2.0 → 1.4.1

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 (68) hide show
  1. package/dist/Groovy2.js +28 -0
  2. package/dist/JavaScript.tmLanguage.js +22 -1
  3. package/dist/JavaScriptReact.tmLanguage.js +22 -1
  4. package/dist/TypeScript.tmLanguage.js +22 -1
  5. package/dist/TypeScriptReact.tmLanguage.js +22 -1
  6. package/dist/angular.js +56 -0
  7. package/dist/buildtarget.js +53 -0
  8. package/dist/clojure.tmLanguage.js +11 -15
  9. package/dist/cobol2.js +80 -0
  10. package/dist/cpptools.js +2320 -0
  11. package/dist/csharp.tmLanguage.js +5 -5
  12. package/dist/css.worker.js +1 -1
  13. package/dist/d2.js +2 -66
  14. package/dist/d3.js +526 -0
  15. package/dist/dart3.js +966 -0
  16. package/dist/dcf.js +3 -3
  17. package/dist/elixir3.js +40 -0
  18. package/dist/erlang2.js +92 -0
  19. package/dist/{cssContribution.js → features/cssContribution.js} +2 -2
  20. package/dist/features/extensionConfigurations.d.ts +1 -0
  21. package/dist/features/extensionConfigurations.js +145 -0
  22. package/dist/{htmlContribution.js → features/htmlContribution.js} +2 -2
  23. package/dist/{jsonContribution.js → features/jsonContribution.js} +3 -3
  24. package/dist/features/mutualizedExtensionConfigurations.d.ts +1 -0
  25. package/dist/{extensionConfigurations.js → features/mutualizedExtensionConfigurations.js} +1931 -6302
  26. package/dist/features/typescriptContribution.d.ts +4 -0
  27. package/dist/{typescriptContribution.js → features/typescriptContribution.js} +31 -3
  28. package/dist/fsharp.tmLanguage.js +10 -1
  29. package/dist/haskell2.js +16 -0
  30. package/dist/html.worker.js +1 -1
  31. package/dist/java2.js +704 -0
  32. package/dist/javascript.js +83 -2
  33. package/dist/javascriptreact.js +83 -2
  34. package/dist/json.worker.js +1 -1
  35. package/dist/jsx-tags.js +51 -2
  36. package/dist/jvm-bytecode-verbose.js +1231 -0
  37. package/dist/jvm-bytecode.js +565 -0
  38. package/dist/languages/extensions/configurationLoader.d.ts +7 -1
  39. package/dist/languages/extensions/extensionConfigurationLoader.d.ts +3 -0
  40. package/dist/languages/extensions/grammarLoader.d.ts +2 -101920
  41. package/dist/languages/extensions/languageConfigurationLoader.d.ts +3 -0
  42. package/dist/languages/extensions/snippetLoader.d.ts +3 -5606
  43. package/dist/lua2.js +1511 -0
  44. package/dist/main.js +155 -98
  45. package/dist/ocaml3.js +145 -0
  46. package/dist/omnisharp.js +522 -0
  47. package/dist/pascal2.js +26 -0
  48. package/dist/postgresql.js +75 -0
  49. package/dist/rmd.js +8 -1
  50. package/dist/scalameta.js +177 -0
  51. package/dist/solargraph.js +192 -0
  52. package/dist/sql.js +9 -2
  53. package/dist/tasty.js +72 -0
  54. package/dist/ts.worker.js +1 -1
  55. package/dist/typescript-language-features.js +998 -0
  56. package/dist/typescript.js +83 -2
  57. package/dist/typescriptreact.js +83 -2
  58. package/dist/verilog2.js +94 -0
  59. package/dist/vscode-R.js +519 -0
  60. package/dist/vscode-groovy.js +28 -0
  61. package/dist/vscode-python.js +677 -0
  62. package/dist/worker.js +1 -1
  63. package/package.json +12 -11
  64. package/stats.html +205 -795
  65. package/dist/SQL.plist.js +0 -482
  66. package/dist/html (eex).js +0 -31
  67. package/dist/pgsql-sql.js +0 -21
  68. package/dist/r.tmLanguage.js +0 -551
package/dist/jsx-tags.js CHANGED
@@ -98,12 +98,61 @@ var surroundingPairs = [
98
98
  "\""
99
99
  ]
100
100
  ];
101
+ var wordPattern = {
102
+ pattern: "(-?\\d*\\.\\d\\w*)|([^\\`\\~\\!\\@\\$\\^\\&\\*\\(\\)\\=\\+\\[\\{\\]\\}\\\\\\|\\;\\:'\"\\,\\.\\<\\>\\/\\s]+)"
103
+ };
104
+ var onEnterRules = [
105
+ {
106
+ beforeText: {
107
+ pattern: "<(?!(?:area|base|br|col|embed|hr|img|input|keygen|link|menuitem|meta|param|source|track|wbr))([_:\\w][_:\\w\\-.\\d]*)([^/>]*(?!/)>)[^<]*$",
108
+ flags: "i"
109
+ },
110
+ afterText: {
111
+ pattern: "^<\\/([_:\\w][_:\\w-.\\d]*)\\s*>$",
112
+ flags: "i"
113
+ },
114
+ action: {
115
+ indent: "indentOutdent"
116
+ }
117
+ },
118
+ {
119
+ beforeText: {
120
+ pattern: "<(?!(?:area|base|br|col|embed|hr|img|input|keygen|link|menuitem|meta|param|source|track|wbr))([_:\\w][_:\\w\\-.\\d]*)([^/>]*(?!/)>)[^<]*$",
121
+ flags: "i"
122
+ },
123
+ action: {
124
+ indent: "indent"
125
+ }
126
+ },
127
+ {
128
+ beforeText: {
129
+ pattern: "^>$"
130
+ },
131
+ afterText: {
132
+ pattern: "/^<\\/([_:\\w][_:\\w-.\\d]*)\\s*>$",
133
+ flags: "i"
134
+ },
135
+ action: {
136
+ indent: "indentOutdent"
137
+ }
138
+ },
139
+ {
140
+ beforeText: {
141
+ pattern: "^>$"
142
+ },
143
+ action: {
144
+ indent: "indent"
145
+ }
146
+ }
147
+ ];
101
148
  var jsxTags = {
102
149
  comments: comments,
103
150
  brackets: brackets,
104
151
  colorizedBracketPairs: colorizedBracketPairs,
105
152
  autoClosingPairs: autoClosingPairs,
106
- surroundingPairs: surroundingPairs
153
+ surroundingPairs: surroundingPairs,
154
+ wordPattern: wordPattern,
155
+ onEnterRules: onEnterRules
107
156
  };
108
157
 
109
- export { autoClosingPairs, brackets, colorizedBracketPairs, comments, jsxTags as default, surroundingPairs };
158
+ export { autoClosingPairs, brackets, colorizedBracketPairs, comments, jsxTags as default, onEnterRules, surroundingPairs, wordPattern };