fix typo with error highlighting?

This commit is contained in:
Ben Fry
2019-03-02 17:55:50 -05:00
parent 27f307394e
commit 828dd45b9f

View File

@@ -3083,9 +3083,9 @@ public abstract class Editor extends JFrame implements RunnerListener {
}
public void highlight(Problem p) {
public void highlight(Problem p) {
if (p != null) {
highlight(p.getTabIndex(), p.getStartOffset(), p.getStartOffset());
highlight(p.getTabIndex(), p.getStartOffset(), p.getStopOffset());
}
}