src/Builder4/MainWindow.bjs
authorAlan Knowles <alan@roojs.com>
Wed, 3 Jun 2015 03:54:16 +0000 (11:54 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 3 Jun 2015 03:54:16 +0000 (11:54 +0800)
src/Builder4/MainWindow.vala

src/Builder4/MainWindow.bjs
src/Builder4/MainWindow.vala

index 0d2db78..b7cbc7c 100644 (file)
          "* pack" : "pack_start,false,true,0",
          "xtype" : "Entry",
          "$ xns" : "Gtk",
-         "| void forwardSearch" : "() {\n\tswitch(_this.windowstate.state) {\n\t\tcase WindowState.State.CODEONLY:\n\t\tcase WindowState.State.CODE:\n\t\t\t// search the code being edited..\n\t\t\t_this.windowstate.code_editor.forwardSearch();\n\t\t\t\n\t\t\tbreak;\n\t\tcase WindowState.State.PREVIEW:\n\t\t\tif (_this.windowstate.file.xtype == \"Gtk\") {\n\t\t\t\t_this.windowstate.window_gladeview.forwardSearch();\n\t\t\t} else { \n\t\t\t\t res = _this.windowstate.window_rooview.forwardSearch();\n\t\t\t}\n\t\t\n\t\t\tbreak;\n\t}\n}\n"
+         "| void forwardSearch" : "() {\n\tswitch(_this.windowstate.state) {\n\t\tcase WindowState.State.CODEONLY:\n\t\tcase WindowState.State.CODE:\n\t\t\t// search the code being edited..\n\t\t\t_this.windowstate.code_editor.forwardSearch();\n\t\t\t\n\t\t\tbreak;\n\t\tcase WindowState.State.PREVIEW:\n\t\t\tif (_this.windowstate.file.xtype == \"Gtk\") {\n\t\t\t\t_this.windowstate.window_gladeview.forwardSearch();\n\t\t\t} else { \n\t\t\t\t _this.windowstate.window_rooview.forwardSearch();\n\t\t\t}\n\t\t\n\t\t\tbreak;\n\t}\n}\n"
         },
         {
          "* pack" : "pack_end,false,true,0",
index 4da19e8..b415410 100644 (file)
@@ -2392,7 +2392,7 @@ public class Xcls_MainWindow : Object
                                if (_this.windowstate.file.xtype == "Gtk") {
                                        _this.windowstate.window_gladeview.forwardSearch();
                                } else { 
-                                        res = _this.windowstate.window_rooview.forwardSearch();
+                                        _this.windowstate.window_rooview.forwardSearch();
                                }
                        
                                break;