mirror of
https://github.com/processing/processing4.git
synced 2026-02-04 06:09:17 +01:00
Prevent completion panel getting focus
This commit is contained in:
@@ -129,7 +129,7 @@ public class CompletionPanel {
|
||||
scrollPane.setViewportView(completionList = createSuggestionList(position, items));
|
||||
popupMenu.add(scrollPane, BorderLayout.CENTER);
|
||||
popupMenu.setPopupSize(calcWidth(), calcHeight(items.getSize())); //TODO: Eradicate this evil
|
||||
textarea.requestFocusInWindow();
|
||||
popupMenu.setFocusable(false);
|
||||
ASTGenerator astGenerator = editor.getErrorChecker().getASTGenerator();
|
||||
synchronized (astGenerator) {
|
||||
astGenerator.updateJavaDoc(completionList.getSelectedValue());
|
||||
|
||||
Reference in New Issue
Block a user