mirror of
https://github.com/processing/processing4.git
synced 2026-02-14 19:05:34 +01:00
indicator near error toggle button, dunno if a good idea.
This commit is contained in:
@@ -342,6 +342,7 @@ public class ErrorCheckerService implements Runnable{
|
||||
updateEditorStatus();
|
||||
editor.getTextArea().repaint();
|
||||
updatePaintedThingys();
|
||||
editor.updateErrorToggle();
|
||||
int x = textModified.get();
|
||||
//log("TM " + x);
|
||||
if (x >= 2) {
|
||||
@@ -371,8 +372,9 @@ public class ErrorCheckerService implements Runnable{
|
||||
public boolean hasErrors(){
|
||||
synchronized (problemsList) {
|
||||
for (Problem p : problemsList) {
|
||||
if (p.isError())
|
||||
return false;
|
||||
if (p.isError()){
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user