resources/RooUsage.txt
[app.Builder.js] / src / Builder4 / ValaCompileResults.vala
index a0fe0d6..65a8194 100644 (file)
@@ -40,11 +40,13 @@ public class Xcls_ValaCompileResults : Object
 
     // user defined functions
     public void show ( Gtk.Widget onbtn, bool reset) {
+       int w, h;
+     
        this.window.el.get_size(out w, out h);
         
         // left tree = 250, editor area = 500?
         
-        var new_w = int.min(500, w-100);
+        var new_w = int.min(750, w-100);
         if (new_w > (w-100)) {
             new_w = w-100;
         }
@@ -70,7 +72,7 @@ public class Xcls_ValaCompileResults : Object
         
     }
     public void addLine (string str) {
-       var buf = (Gtk.SourceBuffer)this.sourceview.get_buffer();
+       var buf = (Gtk.SourceBuffer)this.sourceview.el.get_buffer();
        Gtk.TextIter iter;
        buf.get_end_iter (out  iter);
        buf.insert(ref iter, str, str.length);
@@ -158,7 +160,7 @@ public class Xcls_ValaCompileResults : Object
 
             // set gobject values
             this.el.editable = false;
-            this.el.show_line_numbers = true;
+            this.el.show_line_numbers = false;
 
             // init method