src/Builder4/WindowLeftTree.vala
],
"| void updateErrors" : [
"() {",
+ "\tvar ar = this.file.getErrors();",
+ "\tif (ar.size < 1) {",
+ "\t\tthis.removeErrors();",
+ "\t\tthis.last_error_counter = file.error_counter ;",
"",
+ "\t\treturn;",
+ "\t}",
+ " \tif (this.last_error_counter == file.error_counter) {",
+ "\t\treturn;",
+ "\t}",
"}"
]
}
// user defined functions
public void updateErrors () {
+ var ar = this.file.getErrors();
+ if (ar.size < 1) {
+ this.removeErrors();
+ this.last_error_counter = file.error_counter ;
+ return;
+ }
+ if (this.last_error_counter == file.error_counter) {
+ return;
+ }
}
public void onresize () {