mirror of
https://github.com/processing/processing4.git
synced 2026-02-23 23:35:41 +01:00
improving old code in Problem
This commit is contained in:
@@ -311,7 +311,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().lineNumber == line + 1) {
|
||||
if (emarker.getProblem().getLineNumber() == line + 1) {
|
||||
notFound = false;
|
||||
if (emarker.getType() == ErrorMarker.Warning) {
|
||||
isWarning = true;
|
||||
|
||||
Reference in New Issue
Block a user