We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1ee243c + fb18ac5 commit 053a053Copy full SHA for 053a053
app/src/processing/app/ui/Editor.java
@@ -2736,6 +2736,7 @@ public void highlight(Problem p) {
2736
}
2737
2738
int tabIndex = p.getTabIndex();
2739
+ sketch.setCurrentCode(tabIndex); // so we are looking at the right offsets below
2740
int lineNumber = p.getLineNumber();
2741
int lineStart = textarea.getLineStartOffset(lineNumber);
2742
int lineEnd = textarea.getLineStopOffset(lineNumber);
0 commit comments