"\tvar oldcode = _this.prop.val;",
"\t",
"\t_this.prop.val = str;",
+ "\t_this.node.updated_count++;",
" _this.file.getLanguageServer().document_change(_this.file);",
+ " _this.node.updated_count++;",
" _this.prop.val = oldcode;",
" ",
" ",
var oldcode = _this.prop.val;
_this.prop.val = str;
+ _this.node.updated_count++;
_this.file.getLanguageServer().document_change(_this.file);
+ _this.node.updated_count++;
_this.prop.val = oldcode;
this.rtype = rtype;
this.val = val;
this.childstore = new GLib.ListStore( typeof(NodeProp));
+
}
public override void startServer()
{
}
- string generateTempContents(JsRender.JsRender file, JsRender.NodeProp? prop, string alt_code) {
-
- var oldcode = "";
- var contents = alt_code;
- if (prop != null) {
- oldcode = prop.val;
- prop.val = alt_code;
- contents = file.toSourceCode();
- prop.val = oldcode;
- }
- return contents;
- }
+