projects
/
app.Builder.js
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
resources/RooUsage.txt
[app.Builder.js]
/
src
/
Builder4
/
WindowState.vala
diff --git
a/src/Builder4/WindowState.vala
b/src/Builder4/WindowState.vala
index
d74ad6a
..
b9b7ee6
100644
(file)
--- a/
src/Builder4/WindowState.vala
+++ b/
src/Builder4/WindowState.vala
@@
-1139,6
+1139,12
@@
public class WindowState : Object
{
// vala has finished compiling...
print("vala compiled");
{
// vala has finished compiling...
print("vala compiled");
+ var generator = new Json.Generator ();
+ var n = new Json.Node(Json.NodeType.OBJECT);
+ n.init_object(obj);
+ generator.set_root (n);
+ print("result :%s", generator.to_data (null));
+
var buf = this.code_editor.buffer;
buf.check_running = false;
var buf = this.code_editor.buffer;
buf.check_running = false;
@@
-1168,7
+1174,7
@@
public class WindowState : Object
this.win.statusbar_depricated.setNotices( new Json.Object(),0);
}
if (this.state == State.CODE || this.state == State.PROJECTCODEONLY) {
this.win.statusbar_depricated.setNotices( new Json.Object(),0);
}
if (this.state == State.CODE || this.state == State.PROJECTCODEONLY) {
- buf.highlightErrorsJson("ERR", obj);
+ buf.highlightErrorsJson("ERR", obj);
buf.highlightErrorsJson("WARN", obj);
buf.highlightErrorsJson("DEPR", obj);
}
buf.highlightErrorsJson("WARN", obj);
buf.highlightErrorsJson("DEPR", obj);
}
@@
-1185,6
+1191,10
@@
public class WindowState : Object
gbuf.highlightErrorsJson("ERR", obj);
gbuf.highlightErrorsJson("WARN", obj);
gbuf.highlightErrorsJson("DEPR", obj);
gbuf.highlightErrorsJson("ERR", obj);
gbuf.highlightErrorsJson("WARN", obj);
gbuf.highlightErrorsJson("DEPR", obj);
+
+ if (!has_errors) {
+ this.win.statusbar_run.el.show();
+ }
}
}