src/Builder4/WindowRooView.bjs
authorAlan Knowles <alan@roojs.com>
Fri, 19 Jun 2015 07:42:57 +0000 (15:42 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 19 Jun 2015 07:42:57 +0000 (15:42 +0800)
src/Builder4/WindowRooView.vala

src/Builder4/WindowRooView.bjs
src/Builder4/WindowRooView.vala

index 94860f5..499d279 100644 (file)
@@ -21,7 +21,7 @@
    "Gtk.SourceSearchContext searchcontext" : "",
    "# JsRender.JsRender file" : "null",
    "int height" : 0,
-   "| void requestRedraw" : "() {\n    this.view.renderJS(false);\n}",
+   "| void requestRedraw" : "() {\n    this.view.renderJS(false);\n    this.sourceview.loadFile();   \n}",
    "$ xns" : "Gtk",
    "Gtk.Orientation orientation" : "Gtk.Orientation.VERTICAL",
    "# Xcls_MainWindow main_window" : "",
index e5e8b84..b77862c 100644 (file)
@@ -128,6 +128,7 @@ public class Xcls_WindowRooView : Object
     }
     public void requestRedraw () {
         this.view.renderJS(false);
+        this.sourceview.loadFile();   
     }
     public void forwardSearch (bool change_focus) {