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

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

index e7464d7..846e292 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    Regex regex = new Regex(\"\\\\.vala$\");\n\n    var bjsf = regex.replace(f,f.length , 0 , \".bjs\");\n    \n    var p = _this.window.project;\n    \n    \n    \n    var jsr = p.getByPath(bjsf);\n    if (jsr != null) {\n        _this.window.windowstate.fileViewOpen(jsr);\n        return;\n    \n    }\n\n\n}"
+          "clicked" : "() => {\n    // is the file managed by the builder?\n    \n    var f = _this.sourceview.curfname;\n    \n    Regex regex = new Regex(\"\\\\.vala$\");\n\n    var bjsf = regex.replace(f,f.length , 0 , \".bjs\");\n    \n    var p = _this.window.project;\n    \n    \n    \n    var jsr = p.getByPath(bjsf);\n    if (jsr != null) {\n        _this.window.windowstate.fileViewOpen(jsr);\n        \n        return;\n    \n    }\n\n\n}"
          },
          "* pack" : "pack_start,true,true,0",
          "xtype" : "Button",
index c883ddb..ffdc64f 100644 (file)
@@ -216,6 +216,7 @@ public class Xcls_ValaCompileErrors : Object
                 var jsr = p.getByPath(bjsf);
                 if (jsr != null) {
                     _this.window.windowstate.fileViewOpen(jsr);
+                    
                     return;
                 
                 }