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

index 84e3c94..3b7ad05 100644 (file)
@@ -1167,7 +1167,7 @@ public class WindowState : Object
                        } else {
                                this.win.statusbar_depricated.setNotices( new Json.Object(),0);
                        }
-                       if (this.state = State.CODE:) {
+                       if (this.state = State.CODE: || this.state == State.PROJECTCODEONLY) {
                                buf.highlightErrorsJson("ERR", obj);
                                buf.highlightErrorsJson("WARN", obj);
                                buf.highlightErrorsJson("DEPR", obj);