mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
last min fix
This commit is contained in:
@@ -238,8 +238,7 @@ public class TextArea extends JEditTextArea {
|
||||
SwingWorker<Object, Object> worker = new SwingWorker<Object, Object>() {
|
||||
protected Object doInBackground() throws Exception {
|
||||
// Provide completions only if it's enabled
|
||||
if (ExperimentalMode.codeCompletionsEnabled
|
||||
&& ExperimentalMode.ccTriggerEnabled) {
|
||||
if (ExperimentalMode.codeCompletionsEnabled) {
|
||||
getDocument().remove(getCaretPosition() - 1, 1); // Remove the typed space
|
||||
log("[KeyEvent]" + evt2.getKeyChar() + " |Prediction started");
|
||||
log("Typing: " + fetchPhrase(evt2));
|
||||
|
||||
Reference in New Issue
Block a user