src/Builder4/Editor.bjs
authorAlan Knowles <alan@roojs.com>
Tue, 2 Jun 2015 13:14:31 +0000 (21:14 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 2 Jun 2015 13:14:31 +0000 (21:14 +0800)
src/Builder4/Editor.vala

src/Builder4/Editor.bjs
src/Builder4/Editor.vala

index 5b7afea..54664cb 100644 (file)
@@ -30,7 +30,7 @@
    "Gtk.Orientation orientation" : "Gtk.Orientation.VERTICAL",
    "@ void save" : "()",
    "$ homogeneous" : false,
-   "| void forwardSearch" : "() {\n\n}\n",
+   "| void forwardSearch" : "() {\n\n\tif (this.searchcontext == null) {\n\t\treturn;\n\t}\n\t\n\n}\n",
    "# JsRender.Node node" : "null",
    "items" : [
     {
index fe53b25..4aca94d 100644 (file)
@@ -168,6 +168,11 @@ public class Editor : Object
     }
     public void forwardSearch () {
     
+       if (this.searchcontext == null) {
+               return;
+       }
+       
+    
     }
     public class Xcls_Box2 : Object
     {