mirror of
https://github.com/processing/processing4.git
synced 2026-02-13 10:30:44 +01:00
further swingworker stuff
This commit is contained in:
@@ -775,6 +775,8 @@ public class ASTGenerator {
|
||||
private String lastPredictedWord = " ";
|
||||
|
||||
public void preparePredictions(final String word, final int line, final int lineStartNonWSOffset) {
|
||||
// This method is called from TextArea.fetchPhrase, which is called via a SwingWorker instance
|
||||
// in TextArea.processKeyEvent
|
||||
if(caretWithinLineComment()){
|
||||
log("No predictions.");
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user