@codingame/monaco-editor-wrapper 4.0.1 → 5.1.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.
- package/dist/_virtual/_.vsix.js +61 -0
- package/dist/extensions.d.ts +1 -36
- package/dist/extensions.js +77 -0
- package/dist/features/views.d.ts +1 -0
- package/dist/features/views.js +1 -0
- package/dist/keybindings/vim.d.ts +1 -1
- package/dist/main.js +1 -1
- package/dist/monaco.d.ts +0 -1
- package/dist/monaco.js +0 -62
- package/dist/services.js +2 -0
- package/dist/tools.d.ts +15 -3
- package/dist/tools.js +286 -27
- package/package.json +78 -79
- package/stats.html +1 -1
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { whenReady as whenReady$1 } from '../extensions/Angular.ng-template-17.1.0.vsix.js';
|
|
2
|
+
import { whenReady as whenReady$2 } from '../extensions/Dart-Code.dart-code-3.81.20240117.vsix.js';
|
|
3
|
+
import { whenReady as whenReady$3 } from '../extensions/IMCTradingBV.svlangserver-0.4.1.vsix.js';
|
|
4
|
+
import { whenReady as whenReady$4 } from '../extensions/JakeBecker.elixir-ls-0.19.0.vsix.js';
|
|
5
|
+
import { whenReady as whenReady$5 } from '../extensions/JuanBlanco.solidity-0.0.165.vsix.js';
|
|
6
|
+
import { whenReady as whenReady$6 } from '../extensions/REditorSupport.r-2.8.2.vsix.js';
|
|
7
|
+
import { whenReady as whenReady$7 } from '../extensions/alefragnani.pascal-9.6.0.vsix.js';
|
|
8
|
+
import { whenReady as whenReady$8 } from '../extensions/batisteo.vscode-django-1.15.0.vsix.js';
|
|
9
|
+
import { whenReady as whenReady$9 } from '../extensions/bitwisecook.tcl-0.4.3.vsix.js';
|
|
10
|
+
import { whenReady as whenReady$a } from '../extensions/broadcomMFD.cobol-language-support-2.1.0.vsix.js';
|
|
11
|
+
import { whenReady as whenReady$b } from '../extensions/castwide.solargraph-0.24.1.vsix.js';
|
|
12
|
+
import { whenReady as whenReady$c } from '../extensions/ckolkman.vscode-postgres-1.4.3.vsix.js';
|
|
13
|
+
import { whenReady as whenReady$d } from '../extensions/golang.Go-0.40.3.vsix.js';
|
|
14
|
+
import { whenReady as whenReady$e } from '../extensions/johnsoncodehk.vscode-angular-1.0.22.vsix.js';
|
|
15
|
+
import { whenReady as whenReady$f } from '../extensions/justusadam.language-haskell-3.6.0.vsix.js';
|
|
16
|
+
import { whenReady as whenReady$g } from '../extensions/mathiasfrohlich.Kotlin-1.7.1.vsix.js';
|
|
17
|
+
import { whenReady as whenReady$h } from '../extensions/ms-dotnettools.csharp-2.16.24.vsix.js';
|
|
18
|
+
import { whenReady as whenReady$i } from '../extensions/ms-python.python-2023.25.10221012.vsix.js';
|
|
19
|
+
import { whenReady as whenReady$j } from '../extensions/ms-vscode.cpptools-1.19.2.vsix.js';
|
|
20
|
+
import { whenReady as whenReady$k } from '../extensions/ocamllabs.ocaml-platform-1.16.1.vsix.js';
|
|
21
|
+
import { whenReady as whenReady$l } from '../extensions/pgourlain.erlang-0.9.8.vsix.js';
|
|
22
|
+
import { whenReady as whenReady$m } from '../extensions/redhat.java-1.27.2024012608.vsix.js';
|
|
23
|
+
import { whenReady as whenReady$n } from '../extensions/scala-lang.scala-0.5.7.vsix.js';
|
|
24
|
+
import { whenReady as whenReady$o } from '../extensions/scalameta.metals-1.27.3.vsix.js';
|
|
25
|
+
import { whenReady as whenReady$p } from '../extensions/sumneko.lua-3.7.4.vsix.js';
|
|
26
|
+
import { whenReady as whenReady$q } from '../extensions/svelte.svelte-vscode-108.2.1.vsix.js';
|
|
27
|
+
import { whenReady as whenReady$r } from '../extensions/webfreak.code-d-0.23.2.vsix.js';
|
|
28
|
+
|
|
29
|
+
async function whenReady () {
|
|
30
|
+
await Promise.all([
|
|
31
|
+
whenReady$1(),
|
|
32
|
+
whenReady$2(),
|
|
33
|
+
whenReady$3(),
|
|
34
|
+
whenReady$4(),
|
|
35
|
+
whenReady$5(),
|
|
36
|
+
whenReady$6(),
|
|
37
|
+
whenReady$7(),
|
|
38
|
+
whenReady$8(),
|
|
39
|
+
whenReady$9(),
|
|
40
|
+
whenReady$a(),
|
|
41
|
+
whenReady$b(),
|
|
42
|
+
whenReady$c(),
|
|
43
|
+
whenReady$d(),
|
|
44
|
+
whenReady$e(),
|
|
45
|
+
whenReady$f(),
|
|
46
|
+
whenReady$g(),
|
|
47
|
+
whenReady$h(),
|
|
48
|
+
whenReady$i(),
|
|
49
|
+
whenReady$j(),
|
|
50
|
+
whenReady$k(),
|
|
51
|
+
whenReady$l(),
|
|
52
|
+
whenReady$m(),
|
|
53
|
+
whenReady$n(),
|
|
54
|
+
whenReady$o(),
|
|
55
|
+
whenReady$p(),
|
|
56
|
+
whenReady$q(),
|
|
57
|
+
whenReady$r()
|
|
58
|
+
]);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export { whenReady };
|
package/dist/extensions.d.ts
CHANGED
|
@@ -1,36 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import '@codingame/monaco-vscode-clojure-default-extension';
|
|
3
|
-
import '@codingame/monaco-vscode-coffeescript-default-extension';
|
|
4
|
-
import '@codingame/monaco-vscode-cpp-default-extension';
|
|
5
|
-
import '@codingame/monaco-vscode-csharp-default-extension';
|
|
6
|
-
import '@codingame/monaco-vscode-css-default-extension';
|
|
7
|
-
import '@codingame/monaco-vscode-diff-default-extension';
|
|
8
|
-
import '@codingame/monaco-vscode-fsharp-default-extension';
|
|
9
|
-
import '@codingame/monaco-vscode-go-default-extension';
|
|
10
|
-
import '@codingame/monaco-vscode-groovy-default-extension';
|
|
11
|
-
import '@codingame/monaco-vscode-html-default-extension';
|
|
12
|
-
import '@codingame/monaco-vscode-java-default-extension';
|
|
13
|
-
import '@codingame/monaco-vscode-javascript-default-extension';
|
|
14
|
-
import '@codingame/monaco-vscode-json-default-extension';
|
|
15
|
-
import '@codingame/monaco-vscode-julia-default-extension';
|
|
16
|
-
import '@codingame/monaco-vscode-lua-default-extension';
|
|
17
|
-
import '@codingame/monaco-vscode-markdown-basics-default-extension';
|
|
18
|
-
import '@codingame/monaco-vscode-objective-c-default-extension';
|
|
19
|
-
import '@codingame/monaco-vscode-perl-default-extension';
|
|
20
|
-
import '@codingame/monaco-vscode-php-default-extension';
|
|
21
|
-
import '@codingame/monaco-vscode-powershell-default-extension';
|
|
22
|
-
import '@codingame/monaco-vscode-python-default-extension';
|
|
23
|
-
import '@codingame/monaco-vscode-r-default-extension';
|
|
24
|
-
import '@codingame/monaco-vscode-ruby-default-extension';
|
|
25
|
-
import '@codingame/monaco-vscode-rust-default-extension';
|
|
26
|
-
import '@codingame/monaco-vscode-scss-default-extension';
|
|
27
|
-
import '@codingame/monaco-vscode-shellscript-default-extension';
|
|
28
|
-
import '@codingame/monaco-vscode-sql-default-extension';
|
|
29
|
-
import '@codingame/monaco-vscode-swift-default-extension';
|
|
30
|
-
import '@codingame/monaco-vscode-typescript-basics-default-extension';
|
|
31
|
-
import '@codingame/monaco-vscode-vb-default-extension';
|
|
32
|
-
import '@codingame/monaco-vscode-xml-default-extension';
|
|
33
|
-
import '@codingame/monaco-vscode-yaml-default-extension';
|
|
34
|
-
import '@codingame/monaco-vscode-configuration-editing-default-extension';
|
|
35
|
-
import '@codingame/monaco-vscode-npm-default-extension';
|
|
36
|
-
import '../extensions/*.vsix';
|
|
1
|
+
export declare function whenReady(): Promise<void>;
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { whenReady as whenReady$1 } from '@codingame/monaco-vscode-theme-defaults-default-extension';
|
|
2
|
+
import { whenReady as whenReady$2 } from '@codingame/monaco-vscode-clojure-default-extension';
|
|
3
|
+
import { whenReady as whenReady$3 } from '@codingame/monaco-vscode-coffeescript-default-extension';
|
|
4
|
+
import { whenReady as whenReady$4 } from '@codingame/monaco-vscode-cpp-default-extension';
|
|
5
|
+
import { whenReady as whenReady$5 } from '@codingame/monaco-vscode-csharp-default-extension';
|
|
6
|
+
import { whenReady as whenReady$6 } from '@codingame/monaco-vscode-css-default-extension';
|
|
7
|
+
import { whenReady as whenReady$7 } from '@codingame/monaco-vscode-diff-default-extension';
|
|
8
|
+
import { whenReady as whenReady$8 } from '@codingame/monaco-vscode-fsharp-default-extension';
|
|
9
|
+
import { whenReady as whenReady$9 } from '@codingame/monaco-vscode-go-default-extension';
|
|
10
|
+
import { whenReady as whenReady$a } from '@codingame/monaco-vscode-groovy-default-extension';
|
|
11
|
+
import { whenReady as whenReady$b } from '@codingame/monaco-vscode-html-default-extension';
|
|
12
|
+
import { whenReady as whenReady$c } from '@codingame/monaco-vscode-java-default-extension';
|
|
13
|
+
import { whenReady as whenReady$d } from '@codingame/monaco-vscode-javascript-default-extension';
|
|
14
|
+
import { whenReady as whenReady$e } from '@codingame/monaco-vscode-json-default-extension';
|
|
15
|
+
import { whenReady as whenReady$f } from '@codingame/monaco-vscode-julia-default-extension';
|
|
16
|
+
import { whenReady as whenReady$g } from '@codingame/monaco-vscode-lua-default-extension';
|
|
17
|
+
import { whenReady as whenReady$h } from '@codingame/monaco-vscode-markdown-basics-default-extension';
|
|
18
|
+
import { whenReady as whenReady$i } from '@codingame/monaco-vscode-objective-c-default-extension';
|
|
19
|
+
import { whenReady as whenReady$j } from '@codingame/monaco-vscode-perl-default-extension';
|
|
20
|
+
import { whenReady as whenReady$k } from '@codingame/monaco-vscode-php-default-extension';
|
|
21
|
+
import { whenReady as whenReady$l } from '@codingame/monaco-vscode-powershell-default-extension';
|
|
22
|
+
import { whenReady as whenReady$m } from '@codingame/monaco-vscode-python-default-extension';
|
|
23
|
+
import { whenReady as whenReady$n } from '@codingame/monaco-vscode-r-default-extension';
|
|
24
|
+
import { whenReady as whenReady$o } from '@codingame/monaco-vscode-ruby-default-extension';
|
|
25
|
+
import { whenReady as whenReady$p } from '@codingame/monaco-vscode-rust-default-extension';
|
|
26
|
+
import { whenReady as whenReady$q } from '@codingame/monaco-vscode-scss-default-extension';
|
|
27
|
+
import { whenReady as whenReady$r } from '@codingame/monaco-vscode-shellscript-default-extension';
|
|
28
|
+
import { whenReady as whenReady$s } from '@codingame/monaco-vscode-sql-default-extension';
|
|
29
|
+
import { whenReady as whenReady$t } from '@codingame/monaco-vscode-swift-default-extension';
|
|
30
|
+
import { whenReady as whenReady$u } from '@codingame/monaco-vscode-typescript-basics-default-extension';
|
|
31
|
+
import { whenReady as whenReady$v } from '@codingame/monaco-vscode-vb-default-extension';
|
|
32
|
+
import { whenReady as whenReady$w } from '@codingame/monaco-vscode-xml-default-extension';
|
|
33
|
+
import { whenReady as whenReady$x } from '@codingame/monaco-vscode-yaml-default-extension';
|
|
34
|
+
import { whenReady as whenReady$y } from '@codingame/monaco-vscode-npm-default-extension';
|
|
35
|
+
import { whenReady as whenReady$z } from './_virtual/_.vsix.js';
|
|
36
|
+
|
|
37
|
+
async function whenReady() {
|
|
38
|
+
await Promise.allSettled([
|
|
39
|
+
whenReady$1(),
|
|
40
|
+
whenReady$2(),
|
|
41
|
+
whenReady$3(),
|
|
42
|
+
whenReady$4(),
|
|
43
|
+
whenReady$5(),
|
|
44
|
+
whenReady$6(),
|
|
45
|
+
whenReady$7(),
|
|
46
|
+
whenReady$8(),
|
|
47
|
+
whenReady$9(),
|
|
48
|
+
whenReady$a(),
|
|
49
|
+
whenReady$b(),
|
|
50
|
+
whenReady$c(),
|
|
51
|
+
whenReady$d(),
|
|
52
|
+
whenReady$e(),
|
|
53
|
+
whenReady$f(),
|
|
54
|
+
whenReady$g(),
|
|
55
|
+
whenReady$h(),
|
|
56
|
+
whenReady$i(),
|
|
57
|
+
whenReady$j(),
|
|
58
|
+
whenReady$k(),
|
|
59
|
+
whenReady$l(),
|
|
60
|
+
whenReady$m(),
|
|
61
|
+
whenReady$n(),
|
|
62
|
+
whenReady$o(),
|
|
63
|
+
whenReady$p(),
|
|
64
|
+
whenReady$q(),
|
|
65
|
+
whenReady$r(),
|
|
66
|
+
whenReady$s(),
|
|
67
|
+
whenReady$t(),
|
|
68
|
+
whenReady$u(),
|
|
69
|
+
whenReady$v(),
|
|
70
|
+
whenReady$w(),
|
|
71
|
+
whenReady$x(),
|
|
72
|
+
whenReady$y(),
|
|
73
|
+
whenReady$z()
|
|
74
|
+
]);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export { whenReady };
|
package/dist/features/views.d.ts
CHANGED
|
@@ -2,3 +2,4 @@ import '@codingame/monaco-vscode-theme-seti-default-extension';
|
|
|
2
2
|
import '@codingame/monaco-vscode-media-preview-default-extension';
|
|
3
3
|
import '@codingame/monaco-vscode-markdown-language-features-default-extension';
|
|
4
4
|
import '@codingame/monaco-vscode-markdown-math-default-extension';
|
|
5
|
+
import '@codingame/monaco-vscode-configuration-editing-default-extension';
|
package/dist/features/views.js
CHANGED
|
@@ -8,6 +8,7 @@ import '@codingame/monaco-vscode-theme-seti-default-extension';
|
|
|
8
8
|
import '@codingame/monaco-vscode-media-preview-default-extension';
|
|
9
9
|
import '@codingame/monaco-vscode-markdown-language-features-default-extension';
|
|
10
10
|
import '@codingame/monaco-vscode-markdown-math-default-extension';
|
|
11
|
+
import '@codingame/monaco-vscode-configuration-editing-default-extension';
|
|
11
12
|
|
|
12
13
|
registerServices({
|
|
13
14
|
...getViewsServiceOverride((model, input, sideBySide) => {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { IDisposable } from 'monaco-editor';
|
|
2
2
|
import * as monaco from 'monaco-editor';
|
|
3
|
-
export declare function initVimMode(editor: monaco.editor.
|
|
3
|
+
export declare function initVimMode(editor: monaco.editor.ICodeEditor, statusBarElement: Element): IDisposable;
|
package/dist/main.js
CHANGED
|
@@ -6,5 +6,5 @@ export { getMonacoLanguage, loadLanguage } from './languages/index.js';
|
|
|
6
6
|
export { updateEditorKeybindingsMode, updateKeybindings } from './keybindings/index.js';
|
|
7
7
|
import './style.js';
|
|
8
8
|
export { setUseGlobalPicker } from './services.js';
|
|
9
|
-
export { collapseCodeSections, hideCodeWithoutDecoration, lockCodeWithoutDecoration } from './tools.js';
|
|
9
|
+
export { addPlaceholder, collapseCodeSections, hideCodeWithoutDecoration, lockCodeWithoutDecoration, mapClipboard, preventAlwaysConsumeTouchEvent, registerTextDecorationProvider, runOnAllEditors } from './tools.js';
|
|
10
10
|
export { getUserConfiguration, onUserConfigurationChange, updateUserConfiguration } from '@codingame/monaco-vscode-configuration-service-override';
|
package/dist/monaco.d.ts
CHANGED
package/dist/monaco.js
CHANGED
|
@@ -1,67 +1,5 @@
|
|
|
1
1
|
import { errorHandler, createConfiguredEditor, createModelReference as createModelReference$1 } from 'vscode/monaco';
|
|
2
2
|
import { initialize, editorOpenHandlerRegistry } from './services.js';
|
|
3
|
-
import '@codingame/monaco-vscode-theme-defaults-default-extension';
|
|
4
|
-
import '@codingame/monaco-vscode-clojure-default-extension';
|
|
5
|
-
import '@codingame/monaco-vscode-coffeescript-default-extension';
|
|
6
|
-
import '@codingame/monaco-vscode-cpp-default-extension';
|
|
7
|
-
import '@codingame/monaco-vscode-csharp-default-extension';
|
|
8
|
-
import '@codingame/monaco-vscode-css-default-extension';
|
|
9
|
-
import '@codingame/monaco-vscode-diff-default-extension';
|
|
10
|
-
import '@codingame/monaco-vscode-fsharp-default-extension';
|
|
11
|
-
import '@codingame/monaco-vscode-go-default-extension';
|
|
12
|
-
import '@codingame/monaco-vscode-groovy-default-extension';
|
|
13
|
-
import '@codingame/monaco-vscode-html-default-extension';
|
|
14
|
-
import '@codingame/monaco-vscode-java-default-extension';
|
|
15
|
-
import '@codingame/monaco-vscode-javascript-default-extension';
|
|
16
|
-
import '@codingame/monaco-vscode-json-default-extension';
|
|
17
|
-
import '@codingame/monaco-vscode-julia-default-extension';
|
|
18
|
-
import '@codingame/monaco-vscode-lua-default-extension';
|
|
19
|
-
import '@codingame/monaco-vscode-markdown-basics-default-extension';
|
|
20
|
-
import '@codingame/monaco-vscode-objective-c-default-extension';
|
|
21
|
-
import '@codingame/monaco-vscode-perl-default-extension';
|
|
22
|
-
import '@codingame/monaco-vscode-php-default-extension';
|
|
23
|
-
import '@codingame/monaco-vscode-powershell-default-extension';
|
|
24
|
-
import '@codingame/monaco-vscode-python-default-extension';
|
|
25
|
-
import '@codingame/monaco-vscode-r-default-extension';
|
|
26
|
-
import '@codingame/monaco-vscode-ruby-default-extension';
|
|
27
|
-
import '@codingame/monaco-vscode-rust-default-extension';
|
|
28
|
-
import '@codingame/monaco-vscode-scss-default-extension';
|
|
29
|
-
import '@codingame/monaco-vscode-shellscript-default-extension';
|
|
30
|
-
import '@codingame/monaco-vscode-sql-default-extension';
|
|
31
|
-
import '@codingame/monaco-vscode-swift-default-extension';
|
|
32
|
-
import '@codingame/monaco-vscode-typescript-basics-default-extension';
|
|
33
|
-
import '@codingame/monaco-vscode-vb-default-extension';
|
|
34
|
-
import '@codingame/monaco-vscode-xml-default-extension';
|
|
35
|
-
import '@codingame/monaco-vscode-yaml-default-extension';
|
|
36
|
-
import '@codingame/monaco-vscode-configuration-editing-default-extension';
|
|
37
|
-
import '@codingame/monaco-vscode-npm-default-extension';
|
|
38
|
-
import './extensions/Angular.ng-template-17.1.0.vsix.js';
|
|
39
|
-
import './extensions/Dart-Code.dart-code-3.81.20240117.vsix.js';
|
|
40
|
-
import './extensions/IMCTradingBV.svlangserver-0.4.1.vsix.js';
|
|
41
|
-
import './extensions/JakeBecker.elixir-ls-0.19.0.vsix.js';
|
|
42
|
-
import './extensions/JuanBlanco.solidity-0.0.165.vsix.js';
|
|
43
|
-
import './extensions/REditorSupport.r-2.8.2.vsix.js';
|
|
44
|
-
import './extensions/alefragnani.pascal-9.6.0.vsix.js';
|
|
45
|
-
import './extensions/batisteo.vscode-django-1.15.0.vsix.js';
|
|
46
|
-
import './extensions/bitwisecook.tcl-0.4.3.vsix.js';
|
|
47
|
-
import './extensions/broadcomMFD.cobol-language-support-2.1.0.vsix.js';
|
|
48
|
-
import './extensions/castwide.solargraph-0.24.1.vsix.js';
|
|
49
|
-
import './extensions/ckolkman.vscode-postgres-1.4.3.vsix.js';
|
|
50
|
-
import './extensions/golang.Go-0.40.3.vsix.js';
|
|
51
|
-
import './extensions/johnsoncodehk.vscode-angular-1.0.22.vsix.js';
|
|
52
|
-
import './extensions/justusadam.language-haskell-3.6.0.vsix.js';
|
|
53
|
-
import './extensions/mathiasfrohlich.Kotlin-1.7.1.vsix.js';
|
|
54
|
-
import './extensions/ms-dotnettools.csharp-2.16.24.vsix.js';
|
|
55
|
-
import './extensions/ms-python.python-2023.25.10221012.vsix.js';
|
|
56
|
-
import './extensions/ms-vscode.cpptools-1.19.2.vsix.js';
|
|
57
|
-
import './extensions/ocamllabs.ocaml-platform-1.16.1.vsix.js';
|
|
58
|
-
import './extensions/pgourlain.erlang-0.9.8.vsix.js';
|
|
59
|
-
import './extensions/redhat.java-1.27.2024012608.vsix.js';
|
|
60
|
-
import './extensions/scala-lang.scala-0.5.7.vsix.js';
|
|
61
|
-
import './extensions/scalameta.metals-1.27.3.vsix.js';
|
|
62
|
-
import './extensions/sumneko.lua-3.7.4.vsix.js';
|
|
63
|
-
import './extensions/svelte.svelte-vscode-108.2.1.vsix.js';
|
|
64
|
-
import './extensions/webfreak.code-d-0.23.2.vsix.js';
|
|
65
3
|
import './languages/index.js';
|
|
66
4
|
import './theme/index.js';
|
|
67
5
|
import './worker.js';
|
package/dist/services.js
CHANGED
|
@@ -21,6 +21,7 @@ import { initialize as initialize$1, StandaloneServices, ILogService, LogLevel }
|
|
|
21
21
|
import * as monaco from 'monaco-editor';
|
|
22
22
|
import { initFile } from '@codingame/monaco-vscode-files-service-override';
|
|
23
23
|
import EditorOpenHandlerRegistry from './tools/EditorOpenHandlerRegistry.js';
|
|
24
|
+
import { whenReady } from './extensions.js';
|
|
24
25
|
import 'vscode/localExtensionHost';
|
|
25
26
|
|
|
26
27
|
const editorOpenHandlerRegistry = new EditorOpenHandlerRegistry();
|
|
@@ -80,6 +81,7 @@ async function initialize() {
|
|
|
80
81
|
}));
|
|
81
82
|
await initialize$1(services, undefined, { workspaceProvider: { open: async () => false, workspace: { workspaceUri: workspaceFile }, trusted: true } });
|
|
82
83
|
StandaloneServices.get(ILogService).setLevel(LogLevel.Off);
|
|
84
|
+
await whenReady();
|
|
83
85
|
}
|
|
84
86
|
|
|
85
87
|
export { editorOpenHandlerRegistry, initialize, registerServices, setUseGlobalPicker, useGlobalPicker };
|
package/dist/tools.d.ts
CHANGED
|
@@ -1,7 +1,19 @@
|
|
|
1
1
|
import * as monaco from 'monaco-editor';
|
|
2
|
-
export declare function lockCodeWithoutDecoration(editor: monaco.editor.
|
|
3
|
-
export declare function hideCodeWithoutDecoration(editor: monaco.editor.
|
|
2
|
+
export declare function lockCodeWithoutDecoration(editor: monaco.editor.ICodeEditor, decorationFilter: (decoration: monaco.editor.IModelDecoration) => boolean, allowChangeFromSources?: string[], errorMessage?: string): monaco.IDisposable;
|
|
3
|
+
export declare function hideCodeWithoutDecoration(editor: monaco.editor.ICodeEditor, decorationFilter: (decoration: monaco.editor.IModelDecoration) => boolean): monaco.IDisposable;
|
|
4
4
|
/**
|
|
5
5
|
* Collapse everything between startToken and endToken
|
|
6
6
|
*/
|
|
7
|
-
export declare function collapseCodeSections(editor: monaco.editor.
|
|
7
|
+
export declare function collapseCodeSections(editor: monaco.editor.ICodeEditor, startToken: string, endToken: string, isRegex?: boolean): Promise<void>;
|
|
8
|
+
interface IDecorationProvider {
|
|
9
|
+
provideDecorations(model: monaco.editor.ITextModel): monaco.editor.IModelDeltaDecoration[];
|
|
10
|
+
}
|
|
11
|
+
export declare function registerTextDecorationProvider(provider: IDecorationProvider): monaco.IDisposable;
|
|
12
|
+
export declare function runOnAllEditors(cb: (editor: monaco.editor.ICodeEditor) => monaco.IDisposable): monaco.IDisposable;
|
|
13
|
+
export declare function preventAlwaysConsumeTouchEvent(editor: monaco.editor.ICodeEditor): void;
|
|
14
|
+
export declare function addPlaceholder(editor: monaco.editor.ICodeEditor, placeholder: string): monaco.IDisposable;
|
|
15
|
+
export declare function mapClipboard(editor: monaco.editor.ICodeEditor, { toClipboard, fromClipboard }: {
|
|
16
|
+
toClipboard: (data: string) => string;
|
|
17
|
+
fromClipboard: (data: string) => string;
|
|
18
|
+
}): monaco.IDisposable;
|
|
19
|
+
export {};
|