src/Builder4/GtkView.vala
"xtype" : "VPaned",
"# JsRender.JsRender file" : "null",
"int height" : 0,
- "| void compileNotice" : "( string type, string file, int line, string message) {\n // if type = \"START\"... then we reset the tree?\n // the issue is that the compiler is continually going..\n // so editing a file etc.. may change things.?\n // probably not an issue.\n if (type ==\"START\") {\n // reset the tree;\n return;\n }\n \n \n // tree:\n \n // error_type\n // filename\n // line - message\n \n // sort (and 'id'?)\n \n // 0-2 : fname : line\n // display\n \n \n}\n",
+ "| void compileNotice" : "( string type, string file, int line, string message) {\n // if type = \"START\"... then we reset the tree?\n // the issue is that the compiler is continually going..\n // so editing a file etc.. may change things.?\n // probably not an issue.\n if (type ==\"START\") {\n // reset the tree;\n return;\n }\n var top = 0;\n switch(type) {\n case \"ERR\":\n top = 0;\n break;\n case \"WARN\":\n top =1;\n break;\n case \"DEPR\":\n top =2;\n break;\n }\n \n \n // tree:\n \n // error_type\n // filename\n // line - message\n \n // sort (and 'id'?)\n \n // 0-2 : fname : line\n // display\n \n \n}\n",
"$ xns" : "Gtk",
"items" : [
{
// reset the tree;
return;
}
+ var top = 0;
+ switch(type) {
+ case "ERR":
+ top = 0;
+ break;
+ case "WARN":
+ top =1;
+ break;
+ case "DEPR":
+ top =2;
+ break;
+ }
-
+
// tree:
// error_type