mirror of
https://github.com/processing/processing4.git
synced 2026-02-14 19:05:34 +01:00
declicate +1 -1 changes
This commit is contained in:
@@ -319,7 +319,7 @@ public class TextAreaPainter extends processing.app.syntax.TextAreaPainter {
|
||||
// Check if current line contains an error. If it does, find if it's an
|
||||
// error or warning
|
||||
for (ErrorMarker emarker : errorCheckerService.getEditor().errorBar.errorPoints) {
|
||||
if (emarker.getProblem().getLineNumber() == line + 1) {
|
||||
if (emarker.getProblem().getLineNumber() == line) {
|
||||
notFound = false;
|
||||
if (emarker.getType() == ErrorMarker.Warning) {
|
||||
isWarning = true;
|
||||
|
||||
Reference in New Issue
Block a user