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