updated keyboard shortcuts dialog

This commit is contained in:
Steven Hugg committed 2026-09-08 17:48:43 +02:00
1 parent a2c344f98a
commit d67d48c302
2 files changed
+3 -5

No files matched your search

+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "8bitworkshop",
"version": "3.12.1",
"version": "4.0.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "8bitworkshop",
"version": "3.12.1",
"version": "4.0.0",
"license": "GPL-3.0",
"dependencies": {
"@codemirror/commands": "^6.10.2",
+1 -3
View File
@@ -1834,7 +1834,6 @@ function openToolVersions() {
function openKeyboardShortcuts() {
const isMac = /Mac|iPhone|iPad/.test(navigator.platform);
const mod = isMac ? '⌘' : 'Ctrl';
const alt = isMac ? '⌥' : 'Alt';
const shift = isMac ? '⇧' : 'Shift';
const shortcut = (keys: string, desc: string) =>
`<tr><td><kbd>${keys}</kbd></td><td>${desc}</td></tr>`;
@@ -1845,10 +1844,9 @@ function openKeyboardShortcuts() {
<table class="help">
<tr><th colspan="2">Custom</th></tr>
${shortcut(`${mod}+${shift}+F`, 'Search symbols, files, and docs')}
${shortcut(`${shift}+${alt}+F`, 'Format document, or selected range(s)')}
${shortcut('Tab', 'Insert to next tab stop, or indent selected range(s)')}
${shortcut(`${shift}+Tab`, 'Outdent line(s) or selected range(s)')}
${shortcut(`Enter`, 'Insert newline, keep cursor at same column pos')}
${shortcut(`${mod}+${shift}+Backspace`, 'Delete line')}
<tr><th colspan="2">Standard</th></tr>
<tr>
<td>Built-in</td>