AS1/2/3 - highlight variables and errors on panel next to vertical scrollbar

This commit is contained in:
Jindra Petřík
2025-05-30 01:45:36 +02:00
parent 7556250385
commit 0cfcd9dc25
10 changed files with 344 additions and 178 deletions
@@ -45,7 +45,7 @@ public abstract class ParseException extends Exception {
* @param line Line number where the exception occurred
*/
public ParseException(String text, long line) {
super("ParseException:" + text + " on line " + line);
super(text + " on line " + line);
this.line = line;
this.text = text;
this.position = -1;
@@ -58,7 +58,7 @@ public abstract class ParseException extends Exception {
* @param line Line number where the exception occurred
*/
public ParseException(String text, long line, long position) {
super("ParseException:" + text + " on line " + line);
super(text + " on line " + line);
this.line = line;
this.text = text;
this.position = position;