@codingame/monaco-editor-wrapper 2.2.3 → 3.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/README.md +1 -3
- package/dist/_monaco-editor_commonjs-external.js +28 -2
- package/dist/configuration/index.d.ts +3 -3
- package/dist/css.worker.js +1 -1
- package/dist/features/extensionConfigurations.js +1 -2
- package/dist/features/htmlContribution.js +7 -7
- package/dist/features/jsonContribution.js +6 -66
- package/dist/features/typescriptContribution.d.ts +0 -4
- package/dist/features/typescriptContribution.js +1 -29
- package/dist/hacks.d.ts +15 -2
- package/dist/html.worker.js +1 -1
- package/dist/index.d.ts +1 -4
- package/dist/index.js +1343 -4899
- package/dist/index2.js +2191 -1309
- package/dist/json.worker.js +1 -1
- package/dist/keybindings/index.d.ts +1 -1
- package/dist/languages/extensions/extensionConfigurationLoader.d.ts +2 -2
- package/dist/languages/extensions/languageConfigurationLoader.d.ts +1 -10
- package/dist/languages/extensions/snippetLoader.d.ts +1 -2
- package/dist/languages/extensions/themeLoader.d.ts +1 -2
- package/dist/languages/index.d.ts +1 -0
- package/dist/languages/textMate/index.d.ts +0 -2
- package/dist/main.js +4342 -10
- package/dist/monaco.d.ts +2 -2
- package/dist/theme/index.d.ts +2 -2
- package/dist/ts.worker.js +1 -1
- package/dist/vim.js +45 -20
- package/dist/worker.js +1 -1
- package/package.json +26 -25
- package/stats.html +1455 -110
- package/dist/_rollupPluginBabelHelpers.js +0 -42
- package/dist/index3.js +0 -2208
- package/dist/keybindings/keybindingHelper.d.ts +0 -2
- package/dist/languages/monarch/index.d.ts +0 -7
- package/dist/languages/monarch/stub-generator.d.ts +0 -2
- package/dist/languages/textMate/CGTMGrammarFactory.d.ts +0 -5
- package/dist/languages/textMate/CGTMTokenizationSupport.d.ts +0 -8
- package/dist/stub-generator.js +0 -15
- package/dist/theme/registry.d.ts +0 -9
- package/dist/theme/semanticHighlight.d.ts +0 -1
- package/dist/theme/tools.d.ts +0 -12
package/dist/vim.js
CHANGED
|
@@ -1,25 +1,8 @@
|
|
|
1
|
-
import { r as require$$0 } from './_monaco-editor_commonjs-external.js';
|
|
1
|
+
import { g as getAugmentedNamespace, r as require$$0 } from './_monaco-editor_commonjs-external.js';
|
|
2
2
|
import * as shiftCommand from 'monaco-editor/esm/vs/editor/common/commands/shiftCommand';
|
|
3
|
-
import {
|
|
4
|
-
import { o as onConfigurationChanged, g as getConfiguration } from './
|
|
3
|
+
import { configurationRegistry, ConfigurationScope } from 'vscode/service-override/configuration';
|
|
4
|
+
import { o as onConfigurationChanged, g as getConfiguration } from './index.js';
|
|
5
5
|
import 'monaco-editor/esm/vs/editor/editor.api';
|
|
6
|
-
import './_rollupPluginBabelHelpers.js';
|
|
7
|
-
import 'vscode-oniguruma/release/onig.wasm';
|
|
8
|
-
import 'vscode-oniguruma';
|
|
9
|
-
import 'vscode/service-override/modelEditor';
|
|
10
|
-
import 'vscode/service-override/messages';
|
|
11
|
-
import 'vscode/service-override/configuration';
|
|
12
|
-
import './worker.js';
|
|
13
|
-
import 'vscode/monaco';
|
|
14
|
-
import 'monaco-editor/esm/vs/editor/editor.all';
|
|
15
|
-
import 'monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp';
|
|
16
|
-
import 'monaco-editor/esm/vs/editor/standalone/browser/iPadShowKeyboard/iPadShowKeyboard';
|
|
17
|
-
import 'monaco-editor/esm/vs/editor/standalone/browser/inspectTokens/inspectTokens';
|
|
18
|
-
import 'monaco-editor/esm/vs/editor/standalone/browser/quickAccess/standaloneHelpQuickAccess';
|
|
19
|
-
import 'monaco-editor/esm/vs/editor/standalone/browser/quickAccess/standaloneGotoLineQuickAccess';
|
|
20
|
-
import 'monaco-editor/esm/vs/editor/standalone/browser/quickAccess/standaloneGotoSymbolQuickAccess';
|
|
21
|
-
import 'monaco-editor/esm/vs/editor/standalone/browser/quickAccess/standaloneCommandsQuickAccess';
|
|
22
|
-
import 'monaco-editor/esm/vs/editor/standalone/browser/referenceSearch/standaloneReferenceSearch';
|
|
23
6
|
import 'vscode/services';
|
|
24
7
|
|
|
25
8
|
var lib = {};
|
|
@@ -9632,6 +9615,48 @@ var statusbar = {};
|
|
|
9632
9615
|
}
|
|
9633
9616
|
} (lib));
|
|
9634
9617
|
|
|
9618
|
+
const vimKeybindingsSchema = {
|
|
9619
|
+
type: 'object',
|
|
9620
|
+
properties: {
|
|
9621
|
+
before: {
|
|
9622
|
+
type: 'array',
|
|
9623
|
+
items: {
|
|
9624
|
+
type: 'string'
|
|
9625
|
+
}
|
|
9626
|
+
},
|
|
9627
|
+
after: {
|
|
9628
|
+
type: 'array',
|
|
9629
|
+
items: {
|
|
9630
|
+
type: 'string'
|
|
9631
|
+
}
|
|
9632
|
+
}
|
|
9633
|
+
}
|
|
9634
|
+
};
|
|
9635
|
+
configurationRegistry.registerConfiguration({
|
|
9636
|
+
id: 'vim',
|
|
9637
|
+
order: 5,
|
|
9638
|
+
type: 'object',
|
|
9639
|
+
title: 'Vim',
|
|
9640
|
+
scope: ConfigurationScope.LANGUAGE_OVERRIDABLE,
|
|
9641
|
+
properties: {
|
|
9642
|
+
'vim.normalModeKeyBindings': {
|
|
9643
|
+
type: 'array',
|
|
9644
|
+
description: 'Remapped keys in Normal mode.',
|
|
9645
|
+
items: vimKeybindingsSchema
|
|
9646
|
+
},
|
|
9647
|
+
'vim.insertModeKeyBindings': {
|
|
9648
|
+
type: 'array',
|
|
9649
|
+
description: 'Remapped keys in Insert mode.',
|
|
9650
|
+
items: vimKeybindingsSchema
|
|
9651
|
+
},
|
|
9652
|
+
'vim.visualModeKeyBindings': {
|
|
9653
|
+
type: 'array',
|
|
9654
|
+
description: 'Remapped keys in Visual mode.',
|
|
9655
|
+
items: vimKeybindingsSchema
|
|
9656
|
+
}
|
|
9657
|
+
}
|
|
9658
|
+
});
|
|
9659
|
+
|
|
9635
9660
|
function mapVimKeyBindings(keybindingConfig, mode) {
|
|
9636
9661
|
if (keybindingConfig != null) {
|
|
9637
9662
|
for (const item of keybindingConfig) {
|