mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-206348: do not hide a suggestion by pressing AltGr
This commit is contained in:
@@ -369,6 +369,11 @@ public class IdeEventQueue extends EventQueue {
|
||||
e = metaEvent;
|
||||
}
|
||||
if (JAVA_11_OR_LATER && (SystemInfo.isMac || SystemInfo.isWindows)) {
|
||||
if (e instanceof KeyEvent && ((KeyEvent)e).getKeyCode() == KeyEvent.VK_ALT_GRAPH) {
|
||||
if (!Registry.is("actionSystem.force.alt.gr") && Registry.is("actionSystem.fix.alt.gr")) {
|
||||
((KeyEvent)e).setKeyCode(KeyEvent.VK_ALT);
|
||||
}
|
||||
}
|
||||
if (e instanceof InputEvent && ((InputEvent)e).isAltGraphDown()) {
|
||||
if (!Registry.is("actionSystem.force.alt.gr") && Registry.is("actionSystem.fix.alt.gr")) {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user