@codingame/monaco-vscode-keybindings-service-override 20.1.0 → 20.2.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-keybindings-service-override",
|
|
3
|
-
"version": "20.
|
|
3
|
+
"version": "20.2.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "VSCode public API plugged on the monaco editor - keybindings service-override",
|
|
6
6
|
"keywords": [],
|
|
@@ -15,13 +15,13 @@
|
|
|
15
15
|
},
|
|
16
16
|
"type": "module",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@codingame/monaco-vscode-2a22c7b4-b906-5914-8cd1-3ed912fb738f-common": "20.
|
|
19
|
-
"@codingame/monaco-vscode-40cada32-7e9c-528a-81fc-766e4da54147-common": "20.
|
|
20
|
-
"@codingame/monaco-vscode-a3eaa464-944c-5b8f-8886-213068ba4897-common": "20.
|
|
21
|
-
"@codingame/monaco-vscode-acd79e2c-c7e3-5594-873a-427e3006b3d8-common": "20.
|
|
22
|
-
"@codingame/monaco-vscode-api": "20.
|
|
23
|
-
"@codingame/monaco-vscode-d609a7d3-bf87-551a-884f-550a8b327ec5-common": "20.
|
|
24
|
-
"@codingame/monaco-vscode-files-service-override": "20.
|
|
18
|
+
"@codingame/monaco-vscode-2a22c7b4-b906-5914-8cd1-3ed912fb738f-common": "20.2.0",
|
|
19
|
+
"@codingame/monaco-vscode-40cada32-7e9c-528a-81fc-766e4da54147-common": "20.2.0",
|
|
20
|
+
"@codingame/monaco-vscode-a3eaa464-944c-5b8f-8886-213068ba4897-common": "20.2.0",
|
|
21
|
+
"@codingame/monaco-vscode-acd79e2c-c7e3-5594-873a-427e3006b3d8-common": "20.2.0",
|
|
22
|
+
"@codingame/monaco-vscode-api": "20.2.0",
|
|
23
|
+
"@codingame/monaco-vscode-d609a7d3-bf87-551a-884f-550a8b327ec5-common": "20.2.0",
|
|
24
|
+
"@codingame/monaco-vscode-files-service-override": "20.2.0"
|
|
25
25
|
},
|
|
26
26
|
"main": "index.js",
|
|
27
27
|
"module": "index.js",
|
|
@@ -6,7 +6,7 @@ export interface IUserKeybindingItem {
|
|
|
6
6
|
command: string | null;
|
|
7
7
|
commandArgs?: any;
|
|
8
8
|
when: ContextKeyExpression | undefined;
|
|
9
|
-
_sourceKey: string | undefined;
|
|
9
|
+
_sourceKey: string | undefined; /** captures `key` field from `keybindings.json`; `this.keybinding !== null` implies `_sourceKey !== null` */
|
|
10
10
|
}
|
|
11
11
|
export declare class KeybindingIO {
|
|
12
12
|
static writeKeybindingItem(out: OutputBuilder, item: ResolvedKeybindingItem): void;
|
|
@@ -19,9 +19,21 @@ export declare class MacLinuxKeyboardMapper implements IKeyboardMapper {
|
|
|
19
19
|
private readonly _isUSStandard;
|
|
20
20
|
private readonly _mapAltGrToCtrlAlt;
|
|
21
21
|
private readonly _OS;
|
|
22
|
+
/**
|
|
23
|
+
* used only for debug purposes.
|
|
24
|
+
*/
|
|
22
25
|
private readonly _codeInfo;
|
|
26
|
+
/**
|
|
27
|
+
* Maps ScanCode combos <-> KeyCode combos.
|
|
28
|
+
*/
|
|
23
29
|
private readonly _scanCodeKeyCodeMapper;
|
|
30
|
+
/**
|
|
31
|
+
* UI label for a ScanCode.
|
|
32
|
+
*/
|
|
24
33
|
private readonly _scanCodeToLabel;
|
|
34
|
+
/**
|
|
35
|
+
* Dispatching string for a ScanCode.
|
|
36
|
+
*/
|
|
25
37
|
private readonly _scanCodeToDispatch;
|
|
26
38
|
constructor(_isUSStandard: boolean, rawMappings: IMacLinuxKeyboardMapping, _mapAltGrToCtrlAlt: boolean, _OS: OperatingSystem);
|
|
27
39
|
dumpDebugInfo(): string;
|
|
@@ -39,5 +51,10 @@ export declare class MacLinuxKeyboardMapper implements IKeyboardMapper {
|
|
|
39
51
|
resolveKeybinding(keybinding: Keybinding): ResolvedKeybinding[];
|
|
40
52
|
private static _redirectCharCode;
|
|
41
53
|
private static _charCodeToKb;
|
|
54
|
+
/**
|
|
55
|
+
* Attempt to map a combining character to a regular one that renders the same way.
|
|
56
|
+
*
|
|
57
|
+
* https://www.compart.com/en/unicode/bidiclass/NSM
|
|
58
|
+
*/
|
|
42
59
|
static getCharCode(char: string): number;
|
|
43
60
|
}
|