Commit Graph

7 Commits

Author SHA1 Message Date
Jack Kavanagh
1b4f44f0c3 feat(undo): reconcile native + CodeMirror undo via one app-level handler (#10167)
The Edit menu's Undo/Redo used role: 'undo'/'redo', driving only the native
webContents stack. On macOS the menu accelerator swallows Cmd+Z before
CodeMirror's keymap, so CodeMirror surfaces had no working undo — two competing
stacks with the native one always winning and doing nothing useful for CM.

Menu Undo/Redo now send edit:undo/edit:redo to the focused window; a single
renderer handler (editor-undo.ts, wired in renderer-listeners.ts) routes by
focus: CodeMirror surfaces drive cm.undo()/redo(); everything else replays the
native execCommand, preserving prior plain-input behaviour. No double-fire: the
accelerator still keeps CM's own keymap from firing independently.
2026-07-08 08:49:00 -04:00
Jack Kavanagh
271a78daf2 fix(undo): preserve URL bar focus + undo without breaking env preview refresh (#10152) 2026-06-25 16:27:15 +00:00
Gregory Schier
bc3304bed5 Delete docs and Travis 2016-07-28 17:24:05 -07:00
Gregory Schier
e67b45374a Gitbook 3.0 2016-06-11 17:34:06 -07:00
Gregory Schier
666969cfe5 Update docs/installation.md 2016-06-11 17:20:15 -07:00
Gregory Schier
24bc8e0079 Update docs/installation.md 2016-05-12 23:49:02 -07:00
Gregory Schier
b4f9dfa219 Add gitbook skeleton 2016-05-11 13:23:33 -07:00