diff --git a/src/main/java/org/billthefarmer/editor/Editor.java b/src/main/java/org/billthefarmer/editor/Editor.java index 14efef9..8375f06 100644 --- a/src/main/java/org/billthefarmer/editor/Editor.java +++ b/src/main/java/org/billthefarmer/editor/Editor.java @@ -1208,11 +1208,20 @@ public boolean onKeyDown(int keyCode, KeyEvent event) searchItem.collapseActionView(); else searchItem.expandActionView(); + // Find next + if (event.isAltPressed() && + searchItem.isActionViewExpanded()) + queryTextListener.onQueryTextSubmit + (searchView.getQuery().toString()); break; // Goto case KeyEvent.KEYCODE_G: goTo(); break; + // Menu + case KeyEvent.KEYCODE_M: + openOptionsMenu(); + break; // New case KeyEvent.KEYCODE_N: newFile();