@codingame/monaco-vscode-editor-api 4.4.1 → 4.5.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/esm/vs/editor/editor.api.js +6 -23
- package/package.json +2 -2
|
@@ -12,7 +12,7 @@ import { createWebWorker as createWebWorker$1 } from 'vscode/vscode/vs/editor/br
|
|
|
12
12
|
import { EditorZoom } from 'vscode/vscode/vs/editor/common/config/editorZoom';
|
|
13
13
|
import { BareFontInfo, FontInfo } from 'vscode/vscode/vs/editor/common/config/fontInfo';
|
|
14
14
|
import { EditorType } from 'vscode/vscode/vs/editor/common/editorCommon';
|
|
15
|
-
import {
|
|
15
|
+
import { Token as Token$1, TokenizationRegistry, TokenizationResult, EncodedTokenizationResult, LazyTokenizationSupport, FoldingRangeKind, SelectedSuggestionInfo } from 'vscode/vscode/vs/editor/common/languages';
|
|
16
16
|
import { ILanguageService } from 'vscode/vscode/vs/editor/common/languages/language';
|
|
17
17
|
import { ILanguageConfigurationService } from 'vscode/vscode/vs/editor/common/languages/languageConfigurationRegistry';
|
|
18
18
|
import { PLAINTEXT_LANGUAGE_ID, ModesRegistry } from 'vscode/vscode/vs/editor/common/languages/modesRegistry';
|
|
@@ -25,16 +25,16 @@ import { LineTokens } from 'vscode/vscode/vs/editor/common/tokens/lineTokens';
|
|
|
25
25
|
import { renderViewLine2, RenderLineInput } from 'vscode/vscode/vs/editor/common/viewLayout/viewLineRenderer';
|
|
26
26
|
import { ViewLineRenderingData } from 'vscode/vscode/vs/editor/common/viewModel';
|
|
27
27
|
import { __decorate, __param } from 'vscode/external/tslib/tslib.es6.js';
|
|
28
|
-
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration';
|
|
28
|
+
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration.service';
|
|
29
29
|
import { StandaloneEditor, StandaloneDiffEditor2, createTextModel } from 'vscode/vscode/vs/editor/standalone/browser/standaloneCodeEditor';
|
|
30
30
|
import { StandaloneServices, StandaloneKeybindingService } from 'vscode/vscode/vs/editor/standalone/browser/standaloneServices';
|
|
31
31
|
import { IStandaloneThemeService } from 'vscode/vscode/vs/editor/standalone/common/standaloneTheme';
|
|
32
32
|
import { MenuRegistry, MenuId } from 'vscode/vscode/vs/platform/actions/common/actions';
|
|
33
33
|
import { CommandsRegistry } from 'vscode/vscode/vs/platform/commands/common/commands';
|
|
34
34
|
import { ContextKeyExpr } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
|
|
35
|
-
import { IKeybindingService } from 'vscode/vscode/vs/platform/keybinding/common/keybinding';
|
|
36
|
-
import { IMarkerService } from 'vscode/vscode/vs/platform/markers/common/markers';
|
|
37
|
-
import { IOpenerService } from 'vscode/vscode/vs/platform/opener/common/opener';
|
|
35
|
+
import { IKeybindingService } from 'vscode/vscode/vs/platform/keybinding/common/keybinding.service';
|
|
36
|
+
import { IMarkerService } from 'vscode/vscode/vs/platform/markers/common/markers.service';
|
|
37
|
+
import { IOpenerService } from 'vscode/vscode/vs/platform/opener/common/opener.service';
|
|
38
38
|
import { MultiDiffEditorWidget } from 'vscode/vscode/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidget';
|
|
39
39
|
import { Color } from 'vscode/vscode/vs/base/common/color';
|
|
40
40
|
import { Range as Range$1 } from 'vscode/vscode/vs/editor/common/core/range';
|
|
@@ -43,7 +43,7 @@ import { FormattingConflicts } from 'vscode/vscode/vs/editor/contrib/format/brow
|
|
|
43
43
|
import { createConfiguredEditor, createConfiguredDiffEditor, createModelReference, writeFile } from 'vscode/monaco';
|
|
44
44
|
import { withReadyServices } from 'vscode/services';
|
|
45
45
|
|
|
46
|
-
var css = ".monaco-editor.standalone{--monaco-monospace-font:\"SF Mono\",Monaco,Menlo,Consolas,\"Ubuntu Mono\",\"Liberation Mono\",\"DejaVu Sans Mono\",\"Courier New\",monospace;font-family:-apple-system,BlinkMacSystemFont,Segoe WPC,Segoe UI,HelveticaNeue-Light,system-ui,Ubuntu,Droid Sans,sans-serif}.monaco-editor.standalone.hc-black .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label,.monaco-editor.standalone.hc-light .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label,.monaco-editor.standalone.vs-dark .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label,.monaco-menu .monaco-action-bar.vertical .action-item .action-menu-item:focus .action-label{stroke-width:1.2px}.monaco-hover p{margin:0}.monaco-aria-container{clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;top:0;width:1px}.monaco-diff-editor.standalone .synthetic-focus,.monaco-diff-editor.standalone [tabindex=\"-1\"]:focus,.monaco-diff-editor.standalone [tabindex=\"0\"]:focus,.monaco-diff-editor.standalone button:focus,.monaco-diff-editor.standalone input[type=button]:focus,.monaco-diff-editor.standalone input[type=checkbox]:focus,.monaco-diff-editor.standalone input[type=search]:focus,.monaco-diff-editor.standalone input[type=text]:focus,.monaco-diff-editor.standalone select:focus,.monaco-diff-editor.standalone textarea:focus,.monaco-editor.standalone{opacity:1;outline-color:var(--vscode-focusBorder);outline-offset:-1px;outline-style:solid;outline-width:1px}";
|
|
46
|
+
var css = ".monaco-editor.standalone{--monaco-monospace-font:\"SF Mono\",Monaco,Menlo,Consolas,\"Ubuntu Mono\",\"Liberation Mono\",\"DejaVu Sans Mono\",\"Courier New\",monospace;font-family:-apple-system,BlinkMacSystemFont,Segoe WPC,Segoe UI,HelveticaNeue-Light,system-ui,Ubuntu,Droid Sans,sans-serif}.monaco-editor.standalone.hc-black .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label,.monaco-editor.standalone.hc-light .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label,.monaco-editor.standalone.vs-dark .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label,.monaco-menu .monaco-action-bar.vertical .action-item .action-menu-item:focus .action-label{stroke-width:1.2px}.monaco-hover p{margin:0}.monaco-aria-container{clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;top:0;width:1px}.monaco-diff-editor.standalone .synthetic-focus,.monaco-diff-editor.standalone [tabindex=\"-1\"]:focus,.monaco-diff-editor.standalone [tabindex=\"0\"]:focus,.monaco-diff-editor.standalone button:focus,.monaco-diff-editor.standalone input[type=button]:focus,.monaco-diff-editor.standalone input[type=checkbox]:focus,.monaco-diff-editor.standalone input[type=search]:focus,.monaco-diff-editor.standalone input[type=text]:focus,.monaco-diff-editor.standalone select:focus,.monaco-diff-editor.standalone textarea:focus,.monaco-editor.standalone .synthetic-focus,.monaco-editor.standalone [tabindex=\"-1\"]:focus,.monaco-editor.standalone [tabindex=\"0\"]:focus,.monaco-editor.standalone button:focus,.monaco-editor.standalone input[type=button]:focus,.monaco-editor.standalone input[type=checkbox]:focus,.monaco-editor.standalone input[type=search]:focus,.monaco-editor.standalone input[type=text]:focus,.monaco-editor.standalone select:focus,.monaco-editor.standalone textarea:focus{opacity:1;outline-color:var(--vscode-focusBorder);outline-offset:-1px;outline-style:solid;outline-width:1px}";
|
|
47
47
|
n(css,{});
|
|
48
48
|
|
|
49
49
|
function isFuzzyActionArr(what) {
|
|
@@ -2241,23 +2241,6 @@ const monacoEnvironment = globalThis.MonacoEnvironment;
|
|
|
2241
2241
|
if (monacoEnvironment?.globalAPI || (typeof define === 'function' && define.amd)) {
|
|
2242
2242
|
globalThis.monaco = api;
|
|
2243
2243
|
}
|
|
2244
|
-
if (typeof globalThis.require !== 'undefined' && typeof globalThis.require.config === 'function') {
|
|
2245
|
-
globalThis.require.config({
|
|
2246
|
-
ignoreDuplicateModules: [
|
|
2247
|
-
'vscode-languageserver-types',
|
|
2248
|
-
'vscode-languageserver-types/main',
|
|
2249
|
-
'vscode-languageserver-textdocument',
|
|
2250
|
-
'vscode-languageserver-textdocument/main',
|
|
2251
|
-
'vscode-nls',
|
|
2252
|
-
'vscode-nls/vscode-nls',
|
|
2253
|
-
'jsonc-parser',
|
|
2254
|
-
'jsonc-parser/main',
|
|
2255
|
-
'vscode-uri',
|
|
2256
|
-
'vscode-uri/index',
|
|
2257
|
-
'vs/basic-languages/typescript/typescript'
|
|
2258
|
-
]
|
|
2259
|
-
});
|
|
2260
|
-
}
|
|
2261
2244
|
|
|
2262
2245
|
const originalOnLanguage = languages.onLanguage;
|
|
2263
2246
|
languages.onLanguage = (languageId, callback) => withReadyServices(() => originalOnLanguage(languageId, callback));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-editor-api",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.5.0",
|
|
4
4
|
"keywords": [],
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "CodinGame",
|
|
@@ -49,6 +49,6 @@
|
|
|
49
49
|
"module": "esm/vs/editor/editor.api.js",
|
|
50
50
|
"types": "esm/vs/editor/editor.api.d.ts",
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"vscode": "npm:@codingame/monaco-vscode-api@4.
|
|
52
|
+
"vscode": "npm:@codingame/monaco-vscode-api@4.5.0"
|
|
53
53
|
}
|
|
54
54
|
}
|