Thread:Pecoes/@comment-3562424-20120422041911/@comment-3508190-20120429173704

I've just rewritten the UI code from scratch to be completely event driven. It's mostly finished, but I've hit a dead end now: It is not possible to capture Ctrl+F (for search) and Ctrl+G (for replace). It cannot be done. Not in Firefox. Not in IE. Not in Chrome. Not in Safari. It is not possible. JavaScript does not get access to these shortcuts. Now what? Drop keyboard shortcuts entirely or use a "barren" shortcut - one that no browser seems to use? My current line of thinking is that Ctrl+Enter should open/close the dialog and Ctrl+Space should toggle between Search and Search+Replace (while the dialog is open). Do you think that might be good enough? Or is that a really dumb idea? I can't make up my mind. *sigh*