mirror of
https://github.com/processing/processing4.git
synced 2026-02-13 02:20:45 +01:00
Bad location exception while scrolling bug fix
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user