projects
/
app.Builder.js
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
src/Builder4/Editor.bjs
[app.Builder.js]
/
src
/
Builder4
/
Editor.vala
diff --git
a/src/Builder4/Editor.vala
b/src/Builder4/Editor.vala
index
ced4602
..
3b4d09b
100644
(file)
--- a/
src/Builder4/Editor.vala
+++ b/
src/Builder4/Editor.vala
@@
-574,14
+574,17
@@
public class Editor : Object
if (_this.file.language == "js") {
this.check_running = false;
print("calling validate javascript\n");
if (_this.file.language == "js") {
this.check_running = false;
print("calling validate javascript\n");
- return this.highlightErrors(p.validateJavascript(
+ Gee.HashMap<int,string> errors;
+ p.javascriptHasErrors(
_this.window.windowstate,
str,
_this.key,
_this.ptype,
_this.file,
_this.window.windowstate,
str,
_this.key,
_this.ptype,
_this.file,
- _this.node
- ));
+
+ out errors
+ );
+ return this.highlightErrors(errors);
}
}