@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
@@ -104,13 +104,94 @@ var folding = {
104
104
  end: "^\\s*//\\s*#?endregion\\b"
105
105
  }
106
106
  };
107
+ var wordPattern = {
108
+ pattern: "(-?\\d*\\.\\d\\w*)|([^\\`\\~\\!\\@\\%\\^\\&\\*\\(\\)\\-\\=\\+\\[\\{\\]\\}\\\\\\|\\;\\:\\'\\\"\\,\\.\\<\\>/\\?\\s]+)"
109
+ };
110
+ var indentationRules = {
111
+ decreaseIndentPattern: {
112
+ pattern: "^((?!.*?/\\*).*\\*/)?\\s*[\\}\\]].*$"
113
+ },
114
+ increaseIndentPattern: {
115
+ pattern: "^((?!//).)*(\\{([^}\"'`/]*|(\\t|[ ])*//.*)|\\([^)\"'`/]*|\\[[^\\]\"'`/]*)$"
116
+ },
117
+ unIndentedLinePattern: {
118
+ pattern: "^(\\t|[ ])*[ ]\\*[^/]*\\*/\\s*$|^(\\t|[ ])*[ ]\\*/\\s*$|^(\\t|[ ])*[ ]\\*([ ]([^\\*]|\\*(?!/))*)?$"
119
+ }
120
+ };
121
+ var onEnterRules = [
122
+ {
123
+ beforeText: {
124
+ pattern: "^\\s*/\\*\\*(?!/)([^\\*]|\\*(?!/))*$"
125
+ },
126
+ afterText: {
127
+ pattern: "^\\s*\\*/$"
128
+ },
129
+ action: {
130
+ indent: "indentOutdent",
131
+ appendText: " * "
132
+ }
133
+ },
134
+ {
135
+ beforeText: {
136
+ pattern: "^\\s*/\\*\\*(?!/)([^\\*]|\\*(?!/))*$"
137
+ },
138
+ action: {
139
+ indent: "none",
140
+ appendText: " * "
141
+ }
142
+ },
143
+ {
144
+ beforeText: {
145
+ pattern: "^(\\t|[ ])*[ ]\\*([ ]([^\\*]|\\*(?!/))*)?$"
146
+ },
147
+ previousLineText: {
148
+ pattern: "(?=^(\\s*(/\\*\\*|\\*)).*)(?=(?!(\\s*\\*/)))"
149
+ },
150
+ action: {
151
+ indent: "none",
152
+ appendText: "* "
153
+ }
154
+ },
155
+ {
156
+ beforeText: {
157
+ pattern: "^(\\t|[ ])*[ ]\\*/\\s*$"
158
+ },
159
+ action: {
160
+ indent: "none",
161
+ removeText: 1
162
+ }
163
+ },
164
+ {
165
+ beforeText: {
166
+ pattern: "^(\\t|[ ])*[ ]\\*[^/]*\\*/\\s*$"
167
+ },
168
+ action: {
169
+ indent: "none",
170
+ removeText: 1
171
+ }
172
+ },
173
+ {
174
+ beforeText: {
175
+ pattern: "^\\s*(\\bcase\\s.+:|\\bdefault:)$"
176
+ },
177
+ afterText: {
178
+ pattern: "^(?!\\s*(\\bcase\\b|\\bdefault\\b))"
179
+ },
180
+ action: {
181
+ indent: "indent"
182
+ }
183
+ }
184
+ ];
107
185
  var javascript = {
108
186
  comments: comments,
109
187
  brackets: brackets,
110
188
  autoClosingPairs: autoClosingPairs,
111
189
  surroundingPairs: surroundingPairs,
112
190
  autoCloseBefore: autoCloseBefore,
113
- folding: folding
191
+ folding: folding,
192
+ wordPattern: wordPattern,
193
+ indentationRules: indentationRules,
194
+ onEnterRules: onEnterRules
114
195
  };
115
196
 
116
- export { autoCloseBefore, autoClosingPairs, brackets, comments, javascript as default, folding, surroundingPairs };
197
+ export { autoCloseBefore, autoClosingPairs, brackets, comments, javascript as default, folding, indentationRules, onEnterRules, surroundingPairs, wordPattern };
@@ -104,13 +104,94 @@ var folding = {
104
104
  end: "^\\s*//\\s*#?endregion\\b"
105
105
  }
106
106
  };
107
+ var wordPattern = {
108
+ pattern: "(-?\\d*\\.\\d\\w*)|([^\\`\\~\\!\\@\\%\\^\\&\\*\\(\\)\\-\\=\\+\\[\\{\\]\\}\\\\\\|\\;\\:\\'\\\"\\,\\.\\<\\>/\\?\\s]+)"
109
+ };
110
+ var indentationRules = {
111
+ decreaseIndentPattern: {
112
+ pattern: "^((?!.*?/\\*).*\\*/)?\\s*[\\}\\]].*$"
113
+ },
114
+ increaseIndentPattern: {
115
+ pattern: "^((?!//).)*(\\{([^}\"'`/]*|(\\t|[ ])*//.*)|\\([^)\"'`/]*|\\[[^\\]\"'`/]*)$"
116
+ },
117
+ unIndentedLinePattern: {
118
+ pattern: "^(\\t|[ ])*[ ]\\*[^/]*\\*/\\s*$|^(\\t|[ ])*[ ]\\*/\\s*$|^(\\t|[ ])*[ ]\\*([ ]([^\\*]|\\*(?!/))*)?$"
119
+ }
120
+ };
121
+ var onEnterRules = [
122
+ {
123
+ beforeText: {
124
+ pattern: "^\\s*/\\*\\*(?!/)([^\\*]|\\*(?!/))*$"
125
+ },
126
+ afterText: {
127
+ pattern: "^\\s*\\*/$"
128
+ },
129
+ action: {
130
+ indent: "indentOutdent",
131
+ appendText: " * "
132
+ }
133
+ },
134
+ {
135
+ beforeText: {
136
+ pattern: "^\\s*/\\*\\*(?!/)([^\\*]|\\*(?!/))*$"
137
+ },
138
+ action: {
139
+ indent: "none",
140
+ appendText: " * "
141
+ }
142
+ },
143
+ {
144
+ beforeText: {
145
+ pattern: "^(\\t|[ ])*[ ]\\*([ ]([^\\*]|\\*(?!/))*)?$"
146
+ },
147
+ previousLineText: {
148
+ pattern: "(?=^(\\s*(/\\*\\*|\\*)).*)(?=(?!(\\s*\\*/)))"
149
+ },
150
+ action: {
151
+ indent: "none",
152
+ appendText: "* "
153
+ }
154
+ },
155
+ {
156
+ beforeText: {
157
+ pattern: "^(\\t|[ ])*[ ]\\*/\\s*$"
158
+ },
159
+ action: {
160
+ indent: "none",
161
+ removeText: 1
162
+ }
163
+ },
164
+ {
165
+ beforeText: {
166
+ pattern: "^(\\t|[ ])*[ ]\\*[^/]*\\*/\\s*$"
167
+ },
168
+ action: {
169
+ indent: "none",
170
+ removeText: 1
171
+ }
172
+ },
173
+ {
174
+ beforeText: {
175
+ pattern: "^\\s*(\\bcase\\s.+:|\\bdefault:)$"
176
+ },
177
+ afterText: {
178
+ pattern: "^(?!\\s*(\\bcase\\b|\\bdefault\\b))"
179
+ },
180
+ action: {
181
+ indent: "indent"
182
+ }
183
+ }
184
+ ];
107
185
  var javascriptreact = {
108
186
  comments: comments,
109
187
  brackets: brackets,
110
188
  autoClosingPairs: autoClosingPairs,
111
189
  surroundingPairs: surroundingPairs,
112
190
  autoCloseBefore: autoCloseBefore,
113
- folding: folding
191
+ folding: folding,
192
+ wordPattern: wordPattern,
193
+ indentationRules: indentationRules,
194
+ onEnterRules: onEnterRules
114
195
  };
115
196
 
116
- export { autoCloseBefore, autoClosingPairs, brackets, comments, javascriptreact as default, folding, surroundingPairs };
197
+ export { autoCloseBefore, autoClosingPairs, brackets, comments, javascriptreact as default, folding, indentationRules, onEnterRules, surroundingPairs, wordPattern };