projects
/
roobuilder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix #7991 - better updateing of error status and char position of errors
[roobuilder]
/
src
/
Builder4
/
MainWindow.bjs
diff --git
a/src/Builder4/MainWindow.bjs
b/src/Builder4/MainWindow.bjs
index
53ac0f2
..
1ffe5b1
100644
(file)
--- a/
src/Builder4/MainWindow.bjs
+++ b/
src/Builder4/MainWindow.bjs
@@
-516,7
+516,7
@@
"string label" : "0 Errors",
"xtype" : "Button",
"| void setNotices" : [
"string label" : "0 Errors",
"xtype" : "Button",
"| void setNotices" : [
- "(GLib.ListStore nots,
GLib.ListStore fe
) {",
+ "(GLib.ListStore nots,
int ferrors
) {",
" BuilderApplication.showSpinner(\"\");",
" if (nots.get_n_items() < 1 ) {",
" \tthis.el.hide();",
" BuilderApplication.showSpinner(\"\");",
" if (nots.get_n_items() < 1 ) {",
" \tthis.el.hide();",
@@
-527,7
+527,7
@@
" }",
" ",
" this.el.show();",
" }",
" ",
" this.el.show();",
- " this.el.label = \"%d/%d Errors\".printf(
(int)fe.get_n_items()
,(int)nots.get_n_items());",
+ " this.el.label = \"%d/%d Errors\".printf(
ferrors
,(int)nots.get_n_items());",
"",
" ",
" ",
"",
" ",
" ",
@@
-565,7
+565,7
@@
"string label" : "0 Warnings",
"xtype" : "Button",
"| void setNotices" : [
"string label" : "0 Warnings",
"xtype" : "Button",
"| void setNotices" : [
- "(GLib.ListStore nots,
GLib.ListStore fe
) {",
+ "(GLib.ListStore nots,
int ferrs
) {",
" ",
" if (nots.get_n_items() < 1 ) {",
" \tthis.el.hide();",
" ",
" if (nots.get_n_items() < 1 ) {",
" \tthis.el.hide();",
@@
-576,7
+576,7
@@
" }",
" ",
" this.el.show();",
" }",
" ",
" this.el.show();",
- " this.el.label = \"%d/%d Warnings\".printf(
(int)fe.get_n_items()
,(int)nots.get_n_items());",
+ " this.el.label = \"%d/%d Warnings\".printf(
ferrs
,(int)nots.get_n_items());",
"",
" ",
" ",
"",
" ",
" ",
@@
-615,7
+615,7
@@
"xtype" : "Button",
"| void setNotices" : [
"",
"xtype" : "Button",
"| void setNotices" : [
"",
- "(GLib.ListStore nots,
GLib.ListStore fe
) {",
+ "(GLib.ListStore nots,
int ferrs
) {",
" ",
" if (nots.get_n_items() < 1 ) {",
" \tthis.el.hide();",
" ",
" if (nots.get_n_items() < 1 ) {",
" \tthis.el.hide();",
@@
-626,7
+626,7
@@
" }",
" ",
" this.el.show();",
" }",
" ",
" this.el.show();",
- " this.el.label = \"%d/%d Depricated\".printf(
(int)fe.get_n_items()
,(int)nots.get_n_items());",
+ " this.el.label = \"%d/%d Depricated\".printf(
ferrs
,(int)nots.get_n_items());",
"",
" ",
" ",
"",
" ",
" ",
@@
-858,18
+858,18
@@
"\t",
"\tthis.statusbar_errors.setNotices(",
"\t\tpr,",
"\t",
"\tthis.statusbar_errors.setNotices(",
"\t\tpr,",
- "\t\tthis.windowstate.file.getErrors(\"ERR\")",
+ "\t\tthis.windowstate.file.getErrors
Total
(\"ERR\")",
"\t);",
"\t",
"\tthis.statusbar_warnings.setNotices(",
"\t\tthis.windowstate.project.getErrors(\"WARN\"),",
"\t);",
"\t",
"\tthis.statusbar_warnings.setNotices(",
"\t\tthis.windowstate.project.getErrors(\"WARN\"),",
- "\t\tthis.windowstate.file.getErrors(\"WARN\")",
+ "\t\tthis.windowstate.file.getErrors
Total
(\"WARN\")",
"\t);",
"\tthis.statusbar_depricated.setNotices(",
"\t\tthis.windowstate.project.getErrors(\"DEPR\"),",
"\t);",
"\tthis.statusbar_depricated.setNotices(",
"\t\tthis.windowstate.project.getErrors(\"DEPR\"),",
- "\t\tthis.windowstate.file.getErrors(\"DEPR\")",
+ "\t\tthis.windowstate.file.getErrors
Total
(\"DEPR\")",
"\t);",
"\t);",
- "
",
+ "",
"\t_this.statusbar_run.el.hide();",
"",
"\tif (pr.get_n_items() < 1) {",
"\t_this.statusbar_run.el.hide();",
"",
"\tif (pr.get_n_items() < 1) {",