mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -1323,6 +1323,8 @@ public abstract class ChooseByNameBase {
|
||||
}
|
||||
return;
|
||||
}
|
||||
int position = myTextField.getCaretPosition();
|
||||
int code = keyStroke.getKeyCode();
|
||||
try {
|
||||
super.processKeyEvent(e);
|
||||
}
|
||||
@@ -1331,6 +1333,11 @@ public abstract class ChooseByNameBase {
|
||||
throw e1;
|
||||
}
|
||||
}
|
||||
finally {
|
||||
if (code == KeyEvent.VK_UP || code == KeyEvent.VK_DOWN) {
|
||||
myTextField.setCaretPosition(position);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void fillInCommonPrefix(@NotNull final String pattern) {
|
||||
|
||||
Reference in New Issue
Block a user