X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=src%2FBuilder4%2FValaCompileResults.bjs;h=d09cd785389f86139687bdf4eb58ef141b5c7df2;hb=eccffa50a972ff9cefeab353a5fede2d3f75564c;hp=4f8e5e481e2e6d7dc035e0b10dabec0e7318e961;hpb=e83f8479386654b6d22c7b4e4d7e8b0484df3132;p=roobuilder diff --git a/src/Builder4/ValaCompileResults.bjs b/src/Builder4/ValaCompileResults.bjs index 4f8e5e481..d09cd7853 100644 --- a/src/Builder4/ValaCompileResults.bjs +++ b/src/Builder4/ValaCompileResults.bjs @@ -73,6 +73,22 @@ } ], "xtype" : "Popover", + "| void addLine" : [ + "(string str) {", + "\t ", + "\t", + "\t", + "\tvar buf = (GtkSource.Buffer)this.sourceview.el.get_buffer();", + "\tGtk.TextIter iter;", + "\tbuf.get_end_iter (out iter);", + "\tbuf.insert(ref iter, str, str.length);", + "\t/// scroll..", + "\tbuf.get_end_iter (out iter);", + "\tthis.sourceview.el.scroll_to_iter(iter, 0.0f, true, 0.0f, 1.0f);", + " ", + "}", + "" + ], "| void show" : [ "( Gtk.Widget onbtn, bool reset) {", "\tvar win = this.window.el;", @@ -106,26 +122,6 @@ " ", "}", "" - ], - "| void xaddLine" : [ - "(string str) {", - "\t/*", - "\tif (this.window.windowstate.project.path != BuilderApplication.valasource.file.project.path) {", - "\t\t// not our project.", - "\t\treturn;", - "\t}", - "\t", - "\t", - "\tvar buf = (GtkSource.Buffer)this.sourceview.el.get_buffer();", - "\tGtk.TextIter iter;", - "\tbuf.get_end_iter (out iter);", - "\tbuf.insert(ref iter, str, str.length);", - "\t/// scroll..", - "\tbuf.get_end_iter (out iter);", - "\tthis.sourceview.el.scroll_to_iter(iter, 0.0f, true, 0.0f, 1.0f);", - " */", - "}", - "" ] } ],