prediction length added

This commit is contained in:
Manindra Moharana
2013-09-15 02:42:47 +05:30
parent 4dceb7dda7
commit df69195be7
2 changed files with 4 additions and 2 deletions

View File

@@ -303,7 +303,7 @@ public class TextArea extends JEditTextArea {
word = word.trim();
if (word.endsWith("."))
word = word.substring(0, word.length() - 1);
if(word.length() > 1)
errorCheckerService.getASTGenerator().preparePredictions(word, line
+ errorCheckerService.mainClassOffset,0);
return word;