@codingame/monaco-vscode-api 1.68.5 → 1.69.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 +102 -7
- package/dist/api.js +481 -9576
- package/dist/configuration.d.ts +488 -0
- package/dist/configuration.js +409 -0
- package/dist/extHost.js +14880 -0
- package/dist/files.js +1325 -0
- package/dist/injection.js +15 -0
- package/dist/jsonErrorMessages.js +17 -0
- package/dist/keybindings.d.ts +502 -0
- package/dist/keybindings.js +2352 -0
- package/dist/languageConfiguration.d.ts +158 -0
- package/dist/languageConfiguration.js +929 -0
- package/dist/languageService.js +340 -0
- package/dist/languages.d.ts +477 -0
- package/dist/languages.js +21 -0
- package/dist/layoutService.js +4 -0
- package/dist/messages.d.ts +7 -0
- package/dist/messages.js +3624 -0
- package/dist/missing-services.js +7293 -0
- package/dist/modelEditor.d.ts +164 -0
- package/dist/modelEditor.js +739 -0
- package/dist/monaco.d.ts +4795 -0
- package/dist/monaco.js +243 -0
- package/dist/services.d.ts +14806 -2098
- package/dist/services.js +22 -25
- package/dist/services2.js +423 -0
- package/dist/snippets.d.ts +466 -0
- package/dist/snippets.js +903 -0
- package/dist/textmate.d.ts +682 -0
- package/dist/textmate.js +740 -0
- package/dist/theme.d.ts +22 -0
- package/dist/theme.js +4167 -0
- package/dist/tokenClassification.d.ts +479 -0
- package/dist/tokenClassification.js +304 -0
- package/dist/tokenClassificationRegistry.js +472 -0
- package/dist/tools.js +17 -0
- package/dist/tslib.es6.js +21 -0
- package/dist/workbenchThemeService.js +46 -0
- package/package.json +106 -37
- package/dist/api.amd.js +0 -10066
- package/dist/api.cjs +0 -10107
- package/dist/services.amd.js +0 -33
- package/dist/services.cjs +0 -33
package/dist/theme.d.ts
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as monaco from 'monaco-editor';
|
|
2
|
+
|
|
3
|
+
declare const VS_LIGHT_THEME = "vs";
|
|
4
|
+
declare const VS_DARK_THEME = "vs-dark";
|
|
5
|
+
declare const VS_HC_THEME = "hc-black";
|
|
6
|
+
declare const VS_HC_LIGHT_THEME = "hc-light";
|
|
7
|
+
interface IThemeExtensionPoint {
|
|
8
|
+
id: string;
|
|
9
|
+
label?: string;
|
|
10
|
+
description?: string;
|
|
11
|
+
path: string;
|
|
12
|
+
uiTheme?: typeof VS_LIGHT_THEME | typeof VS_DARK_THEME | typeof VS_HC_THEME | typeof VS_HC_LIGHT_THEME;
|
|
13
|
+
_watch: boolean;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
type IEditorOverrideServices = monaco.editor.IEditorOverrideServices
|
|
17
|
+
|
|
18
|
+
declare function setThemes<T extends IThemeExtensionPoint>(_themes: T[], getContent: (theme: T) => Promise<string>): void;
|
|
19
|
+
declare function setDefaultThemes<T extends IThemeExtensionPoint>(_themes: T[], getContent: (theme: T) => Promise<string>): void;
|
|
20
|
+
declare function getServiceOverride(): IEditorOverrideServices;
|
|
21
|
+
|
|
22
|
+
export { IThemeExtensionPoint, getServiceOverride as default, setDefaultThemes, setThemes };
|