()
| 1447 | } |
| 1448 | |
| 1449 | function buildResolvedKeyBindingsSnapshot() { |
| 1450 | const bindingNames = new Set([ |
| 1451 | ...Object.keys(keyBindings), |
| 1452 | ...Object.keys(resolvedKeyBindings ?? {}), |
| 1453 | ]); |
| 1454 | |
| 1455 | return Object.fromEntries( |
| 1456 | Array.from(bindingNames, (name) => [name, resolveBindingInfo(name)]).filter( |
| 1457 | ([, binding]) => binding, |
| 1458 | ), |
| 1459 | ); |
| 1460 | } |
| 1461 | |
| 1462 | function toCodeMirrorKey(combo) { |
| 1463 | if (!combo) return null; |
no test coverage detected