Fix #8028 - language server performance, fix warnings and critical errors
[roobuilder] / src / Builder4 / GtkView.bjs
index 1323bb4..34a7818 100644 (file)
             "    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);",
     "",
     "",
     " ",
-    "\tGLib.debug(\"highlight errors\");\t\t ",
+    "\t//GLib.debug(\"highlight errors\");\t\t ",
     "",
     "\t // we should highlight other types of errors..",
     "",
     "\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) {",