src/Builder4/WindowState.vala
authorAlan Knowles <alan@roojs.com>
Wed, 8 Jun 2016 10:04:05 +0000 (18:04 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 8 Jun 2016 10:04:05 +0000 (18:04 +0800)
src/Builder4/WindowState.vala

index 08dd43b..ab670f4 100644 (file)
@@ -1186,6 +1186,16 @@ public class WindowState : Object
                                gbuf.highlightErrorsJson("DEPR", obj);                  
                        
                   }
+                  
+                  if (this.file.xtype == "Gtk") {
+                               // not sure how this is working ok? - as highlighting is happening on the vala files at present..
+                               var gbuf =   this.window_rooview.sourceview;
+                               gbuf.highlightErrorsJson("ERR", obj);
+                               gbuf.highlightErrorsJson("WARN", obj);
+                               gbuf.highlightErrorsJson("DEPR", obj);                  
+                       
+                  }
+                  
                        this.last_compile_result = obj;