further swingworker stuff

This commit is contained in:
Manindra Moharana
2013-08-20 02:50:13 +05:30
parent 2daff10f5e
commit 956724b41f
3 changed files with 26 additions and 37 deletions

View File

@@ -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;