|
|
|
@ -154,7 +154,6 @@ public class FormulaPane extends BasicPane implements KeyListener, UIFormula {
|
|
|
|
|
private FormulaPaneAutoCompletion autoCompletion; |
|
|
|
|
private DefaultCompletionProvider completionProvider; |
|
|
|
|
private static final Map<String, String> PARAM_PREFIX_MAP = new HashMap<>(); |
|
|
|
|
private ExecutorService executorService = Executors.newCachedThreadPool(new NamedThreadFactory("formula-pane-refocus")); |
|
|
|
|
|
|
|
|
|
public FormulaPane() { |
|
|
|
|
initComponents(); |
|
|
|
@ -298,6 +297,7 @@ public class FormulaPane extends BasicPane implements KeyListener, UIFormula {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private void refocusInWindow() { |
|
|
|
|
ExecutorService executorService = Executors.newCachedThreadPool(new NamedThreadFactory("formula-pane-refocus")); |
|
|
|
|
executorService.execute(() -> { |
|
|
|
|
try { |
|
|
|
|
Thread.sleep(100); |
|
|
|
|