"build_module" : "builder",
"items" : [
{
+ "# Xcls_MainWindow window" : "null",
"# 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" : "",
"string id" : "Editor",
"# bool dirty" : false,
"$ xns" : "Gtk",
- "# Xcls_MainWindow" : "null",
"@ void save" : "()",
"$ homogeneous" : false,
"# JsRender.Node node" : "null",
public Xcls_buffer buffer;
// my vars (def)
+ public Xcls_MainWindow window;
public string activeEditor;
public int pos_root_x;
public int pos_root_y;
this.el = new Gtk.VBox( false, 0 );
// my vars (dec)
+ this.window = null;
this.activeEditor = "";
this.ptype = "";
this.key = "";