src/Builder4/Editor.bjs
authorAlan Knowles <alan@roojs.com>
Fri, 15 May 2015 09:27:06 +0000 (17:27 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 15 May 2015 09:27:06 +0000 (17:27 +0800)
src/Builder4/Editor.vala

src/Builder4/Editor.bjs

index 222a720..37852be 100644 (file)
@@ -11,6 +11,7 @@
    "# string activeEditor" : "\"\"",
    "|   bool saveContents" : "  ()  {\n    \n    \n    \n    \n    \n    \n    \n   \n     \n     var str = _this.buffer.toString();\n     \n      \n     \n     \n     if (!_this.buffer.checkSyntax()) {\n         print(\"check syntax failed\");\n         //this.get('/StandardErrorDialog').show(\"Fix errors in code and save..\"); \n         //return false;\n     }\n     \n     // LeftPanel.model.changed(  str , false);\n     _this.dirty = false;\n     _this.save_button.el.sensitive = false;\n     \n     \n        \n     \n    // find the text for the node..\n    if (ptype == \"listener\") {\n        this.node.listeners.set(key,str);\n    \n    } else {\n         this.node.props.set(key,str);\n    }\n\n     \n    \n    // call the signal..\n    this.save();\n    \n    return true;\n\n} ",
    "# int pos_root_x" : "",
+   "Xcls_MainWindow" : "null",
    "# int pos_root_y" : "",
    "# string ptype" : "\"\"",
    "# string key" : "\"\"",