X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=src%2FBuilder4%2FGtkView.bjs;h=34a781888f0fe525556b35070c28a126403a4e93;hb=f056fe0b7bb6a76ad57420ee5c806a242c77fb1b;hp=1323bb4c44d6ba2a1daafd0170c68e3262849fca;hpb=173617f1a97bfc9af24e73f7da986fd192fd0747;p=roobuilder diff --git a/src/Builder4/GtkView.bjs b/src/Builder4/GtkView.bjs index 1323bb4c4..34a781888 100644 --- a/src/Builder4/GtkView.bjs +++ b/src/Builder4/GtkView.bjs @@ -281,7 +281,7 @@ " this.loading = true;", " var buf = this.el.get_buffer();", " buf.set_text(\"\",0);", - " var sbuf = (GtkSource.Buffer) buf;", + " ", "\tvar cpos = buf.cursor_position;", " ", " \tprint(\"BEFORE LOAD cursor = %d\\n\", cpos);", @@ -931,7 +931,7 @@ "", "", " ", - "\tGLib.debug(\"highlight errors\");\t\t ", + "\t//GLib.debug(\"highlight errors\");\t\t ", "", "\t // we should highlight other types of errors..", "", @@ -952,7 +952,7 @@ "\t\tbuf.remove_source_marks (start, end, \"WARN\");", "\t\tbuf.remove_source_marks (start, end, \"DEPR\");", "\t\tthis.last_error_counter = file.error_counter ;", - "\t\tGLib.debug(\"higjlight has no errors\");", + "\t\t//GLib.debug(\"higjlight has no errors\");", "\t\treturn;", "\t}", " \tif (this.last_error_counter == file.error_counter) {",