дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-11-26 11:18:20 +02:00
Since the multi-webview change, Wry builds the workbench WKWebView as a child view that declines every key equivalent, so AppKit sent Command shortcuts straight to the native menu, where keymap-drawn items are dropped during key handling. ⌘0 / ⌘1 and other workbench shortcuts could then stop working from the editor. A local key monitor now gives the focused workbench webview first refusal for the printable Command shortcuts its current keymap shows in the menu, only when that webview is the window's first responder and no sheet is attached. Native clipboard commands keep AppKit's path. Undo and Redo use the focused CodeMirror history, with the Edit menu as the fallback when the page declines. Closes #5954 Co-authored-by: principalwater <[email protected]>