Bad location exception while scrolling bug fix

This commit is contained in:
Manindra Moharana
2013-06-23 22:52:11 +05:30
parent e74b7d575c
commit 575ae579d3
2 changed files with 5 additions and 4 deletions

View File

@@ -810,7 +810,8 @@ public class ErrorCheckerService implements Runnable{
return new int[] { codeIndex, x };
}
public String getPDECode(int linenumber){
public String getPDECodeAtLine(int tab, int linenumber){
editor.getSketch().setCurrentCode(tab);
return editor.ta.getLineText(linenumber);
}