From d36eec52fab4b59ffd3d397f598bf13ee40dc601 Mon Sep 17 00:00:00 2001 From: Robbie Antenesse Date: Sat, 6 Jul 2019 23:01:17 -0600 Subject: [PATCH] Replace Ctrl+X hotkey with Ctrl+Backspace/Delete --- src/js/hotkeys.js | 3 ++- src/markdown/help.md | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/js/hotkeys.js b/src/js/hotkeys.js index 0aeca68..f186926 100644 --- a/src/js/hotkeys.js +++ b/src/js/hotkeys.js @@ -56,7 +56,8 @@ export function hotKeyActions(event) { break; } case 'S': if (event.ctrlKey) {event.preventDefault(); hideAllModals(); openSettingsModal();} break; - case 'x': if (event.ctrlKey) {event.preventDefault(); clearSearchText();} break; + case 'Delete': + case 'Backspace': if (event.ctrlKey) {event.preventDefault(); clearSearchText();} break; } } diff --git a/src/markdown/help.md b/src/markdown/help.md index 58f91ea..f609e41 100644 --- a/src/markdown/help.md +++ b/src/markdown/help.md @@ -170,7 +170,7 @@ After making any changes, be sure to click "Save" or "Save & Close" to ensure th - **M:** Maximize/Minimize Full Screen textbox when typing in the boxes that have the Maximize button. - **S:** Open the Search panel. - **Shift + S:** Open the Settings window. -- **X:** Clear the Search box. +- **Backspace/Delete:** Clear the Search box. ## Accounts If you are using an account with Lexiconga, your experience should remain essentially the same, but you will see some additional options in the Settings menu and you might notice some slight changes in performance as it saves to and loads from the database. This saving/loading process prioritizes your local dictionary, so if you ever lose connection, it will keep retrying the upload until connection is re-established. It also attempts to sync every time you load Lexiconga, so please be aware of that if you refresh the page.