mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
up arrow shoulod work in completion list when cyclic scrolling is disabled
This commit is contained in:
+5
-5
@@ -86,12 +86,12 @@ public abstract class LookupActionHandler extends EditorActionHandler {
|
||||
}
|
||||
|
||||
protected void executeInLookup(final LookupImpl lookup, DataContext context) {
|
||||
if (!UISettings.getInstance().CYCLE_SCROLLING) {
|
||||
myOriginalHandler.execute(lookup.getEditor(), context);
|
||||
return;
|
||||
}
|
||||
|
||||
if (!lookup.isFocused()) {
|
||||
if (!UISettings.getInstance().CYCLE_SCROLLING) {
|
||||
myOriginalHandler.execute(lookup.getEditor(), context);
|
||||
return;
|
||||
}
|
||||
|
||||
lookup.setFocused(true);
|
||||
lookup.getList().setSelectedIndex(0);
|
||||
lookup.refreshUi();
|
||||
|
||||
Reference in New Issue
Block a user