@codingame/monaco-editor-wrapper 2.3.0 → 3.1.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.
- 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 +27 -26
- 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
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as monaco from 'monaco-editor';
|
|
2
|
-
interface MonarchLanguage {
|
|
3
|
-
conf?: monaco.languages.LanguageConfiguration;
|
|
4
|
-
language: monaco.languages.IMonarchLanguage;
|
|
5
|
-
}
|
|
6
|
-
export declare const languageLoader: Partial<Record<string, () => Promise<MonarchLanguage>>>;
|
|
7
|
-
export {};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import * as monaco from 'monaco-editor';
|
|
2
|
-
export declare type GrammarLoader = Partial<Record<string, () => Promise<object>>>;
|
|
3
|
-
export default class CGTMGrammarFactory extends monaco.extra.TMGrammarFactory {
|
|
4
|
-
constructor(grammarDefinitions: monaco.extra.IValidGrammarDefinition[], scopeGrammarLoader: GrammarLoader, onigasmBinaryUrl: string);
|
|
5
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as monaco from 'monaco-editor';
|
|
2
|
-
import { IGrammar } from 'vscode-textmate';
|
|
3
|
-
export default class CGTMTokenizationSupport extends monaco.extra.TMTokenizationSupportWithLineLimit {
|
|
4
|
-
private languageId;
|
|
5
|
-
private grammar;
|
|
6
|
-
constructor(languageId: string, encodedLanguageId: monaco.languages.LanguageId, actual: monaco.extra.TMTokenization, grammar: IGrammar);
|
|
7
|
-
tokenize(line: string, hasEOL: boolean, state: monaco.languages.IState): monaco.TokenizationResult;
|
|
8
|
-
}
|
package/dist/stub-generator.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
const language = {
|
|
2
|
-
keywords: ['read', 'loop', 'gameloop', 'write', 'INPUT', 'OUTPUT', 'STATEMENT', 'loopline', 'call', 'dump'],
|
|
3
|
-
tokenizer: {
|
|
4
|
-
root: [[/[a-zA-Z_$][\w$]*/, {
|
|
5
|
-
cases: {
|
|
6
|
-
'@keywords': {
|
|
7
|
-
token: 'keyword.$0'
|
|
8
|
-
},
|
|
9
|
-
'@default': 'identifier'
|
|
10
|
-
}
|
|
11
|
-
}]]
|
|
12
|
-
}
|
|
13
|
-
};
|
|
14
|
-
|
|
15
|
-
export { language };
|
package/dist/theme/registry.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as monaco from 'monaco-editor';
|
|
2
|
-
import { IVSCodeTheme } from './tools';
|
|
3
|
-
export interface Theme {
|
|
4
|
-
id: string;
|
|
5
|
-
label: string;
|
|
6
|
-
}
|
|
7
|
-
export declare function defineVSCodeTheme(id: string, vscodeThemeLoader: (uri?: monaco.Uri) => Promise<IVSCodeTheme>, themeExtensionPoint?: Partial<monaco.extra.IThemeExtensionPoint>, extensionData?: Partial<monaco.extra.ExtensionData>): Promise<void>;
|
|
8
|
-
export declare function getThemeData(themeName: string): monaco.extra.ColorThemeData | null;
|
|
9
|
-
export declare function getThemes(): Theme[];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/dist/theme/tools.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as monaco from 'monaco-editor';
|
|
2
|
-
export interface IVSCodeTheme {
|
|
3
|
-
colors?: {
|
|
4
|
-
[name: string]: string;
|
|
5
|
-
};
|
|
6
|
-
tokenColors: monaco.extra.ITextMateThemingRule[];
|
|
7
|
-
semanticTokenColors?: Record<string, monaco.extra.ITokenColorizationSetting | string>;
|
|
8
|
-
semanticHighlighting?: boolean;
|
|
9
|
-
}
|
|
10
|
-
declare function convertTheme(themeData: monaco.extra.ColorThemeData, base: monaco.editor.BuiltinTheme): monaco.editor.IStandaloneThemeData;
|
|
11
|
-
declare function fixVSCodeThemeColors(vscodeTheme: IVSCodeTheme): IVSCodeTheme;
|
|
12
|
-
export { fixVSCodeThemeColors, convertTheme };
|