src/Builder4/ValaCompileErrors.bjs
authorAlan Knowles <alan@roojs.com>
Mon, 18 May 2015 08:39:52 +0000 (16:39 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 18 May 2015 08:39:52 +0000 (16:39 +0800)
src/Builder4/ValaCompileErrors.vala

src/Builder4/ValaCompileErrors.bjs
src/Builder4/ValaCompileErrors.vala

index da9e323..c272daa 100644 (file)
@@ -39,7 +39,7 @@
         },
         {
          "listeners" : {
-          "clicked" : "() => {\n    // is the file managed by the builder?\n    \n    var f = _this.sourceview.curfname;\n    \n    var p = _this.window.project;\n    \n\n\n}"
+          "clicked" : "() => {\n    // is the file managed by the builder?\n    \n    var f = _this.sourceview.curfname;\n    \n    var p = _this.window.project;\n    \n    var jsr = p.getByPath(f);\n    if (jsr != null) {\n    \n    \n    }\n\n\n}"
          },
          "* pack" : "pack_start,true,true,0",
          "xtype" : "Button",
index 9a6df9e..0b01c56 100644 (file)
@@ -207,6 +207,11 @@ public class Xcls_ValaCompileErrors : Object
                 
                 var p = _this.window.project;
                 
+                var jsr = p.getByPath(f);
+                if (jsr != null) {
+                
+                
+                }
             
             
             });