"modOrder" : "",
"items" : [
{
- "JsRender.JsRender file" : "null",
"# string activeEditor" : "\"\"",
"| bool saveContents" : " () {\n \n \n \n \n \n \n \n \n \n var str = _this.buffer.toString();\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" : "",
"* pack" : "add",
"xtype" : "VBox",
"| void show" : "(JsRender.JsRender file, JsRender.Node node, string ptype, string key)\n{\n this.ptype = ptype;\n this.key = key;\n this.node = node;\n this.file = file;\n \n string val = \"\";\n // find the text for the node..\n if (ptype == \"listener\") {\n val = node.listeners.get(key);\n \n } else {\n val = node.props.get(key);\n }\n this.view.load(val);\n this.key_edit.el.text = key; \n\n}",
+ "# JsRender.JsRender file" : "null",
"# bool pos" : false,
"string id" : "Editor",
"# bool dirty" : false,
public Xcls_buffer buffer;
// my vars (def)
- public JsRender.JsRender file;
public string activeEditor;
public int pos_root_x;
public int pos_root_y;
public string ptype;
public string key;
+ public JsRender.JsRender file;
public bool pos;
public bool dirty;
public signal void save ();
this.el = new Gtk.VBox( false, 0 );
// my vars (dec)
- this.file = null;
this.activeEditor = "";
this.ptype = "";
this.key = "";
+ this.file = null;
this.pos = false;
this.dirty = false;
this.node = null;