From 4aa5d5f4c6e502a2ac861b06ce995d35b9b2d835 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 23 Jul 2026 15:23:35 +0000 Subject: [PATCH] Rebind open-in-Glyphs shortcut from Ctrl-E to Ctrl-# Ctrl-E collides with Unix/Emacs line-editing keybindings (move to end of line). Rebind the open-selection/open-text-entry shortcut in both test HTMLs to Ctrl-#, matched layout-independently via event.key. Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_01MMMCkkuNgVM4SEsqhhxc8f --- Test/Variable Font Test HTML.py | 4 ++-- Test/Webfont Test HTML.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Test/Variable Font Test HTML.py b/Test/Variable Font Test HTML.py index f53731bb..f22f5e55 100644 --- a/Test/Variable Font Test HTML.py +++ b/Test/Variable Font Test HTML.py @@ -1213,7 +1213,7 @@ def buildHTML(fullName, fileName, unicodeEscapes, otVarSliders, variationCSS, fe toggleGridView(); } else if (event.code == 'KeyP') { togglePlayAll(); - } else if (event.code == 'KeyE') { + } else if (event.key == '#') { openSelectionInGlyphs(); } else if (event.code == 'Period') { styleMenu.selectedIndex = (styleMenu.selectedIndex + 1) %% styleMenuLength; @@ -1466,7 +1466,7 @@ def buildHTML(fullName, fileName, unicodeEscapes, otVarSliders, variationCSS, fe

- Ctrl-period/comma step through styles Ctrl-R reset charset Ctrl-U update font Ctrl-L Lat-1 Ctrl-J LTR/RTL Ctrl-C center Ctrl-G grid view Ctrl-P play/pause all Ctrl-E selection in Glyphs 2×click grid glyph in Glyphs Ctrl-M toggle menu Ctrl-X x-ray Ctrl +/− size Ctrl-1/2 linegap Shift high slider precision Not working? Try newer macOS or latest Chrome. Hover mouse above this note to make it disappear. + Ctrl-period/comma step through styles Ctrl-R reset charset Ctrl-U update font Ctrl-L Lat-1 Ctrl-J LTR/RTL Ctrl-C center Ctrl-G grid view Ctrl-P play/pause all Ctrl-# selection in Glyphs 2×click grid glyph in Glyphs Ctrl-M toggle menu Ctrl-X x-ray Ctrl +/− size Ctrl-1/2 linegap Shift high slider precision Not working? Try newer macOS or latest Chrome. Hover mouse above this note to make it disappear.

diff --git a/Test/Webfont Test HTML.py b/Test/Webfont Test HTML.py index 54a2245d..c7ac04e4 100644 --- a/Test/Webfont Test HTML.py +++ b/Test/Webfont Test HTML.py @@ -696,7 +696,7 @@ def featureListForFont(thisFont):

- Ctrl-R: Reset Charset. Ctrl-L: Latin1. Ctrl-J: LTR/RTL. Ctrl-G: cycle views. Ctrl-E: open text in Glyphs. Double-click grid glyph: open in Glyphs. Ctrl-comma/period: step through fonts. Pull mouse across this note to make it disappear. + Ctrl-R: Reset Charset. Ctrl-L: Latin1. Ctrl-J: LTR/RTL. Ctrl-G: cycle views. Ctrl-#: open text in Glyphs. Double-click grid glyph: open in Glyphs. Ctrl-comma/period: step through fonts. Pull mouse across this note to make it disappear.