@@ -50,8 +50,9 @@ public class EditorStatus extends BasicSplitPaneDivider { //JPanel {
5050
5151 @ SuppressWarnings ("hiding" )
5252 static public final int ERROR = 1 ;
53- static public final int COMPILER_ERROR = 1 ; // temporary
54- static public final int WARNING = 2 ;
53+ static public final int CURSOR_LINE_ERROR = 2 ;
54+ static public final int WARNING = 3 ;
55+ static public final int CURSOR_LINE_WARNING = 4 ;
5556 static public final int NOTICE = 0 ;
5657
5758 static final int YES = 1 ;
@@ -121,19 +122,25 @@ public void updateMode() {
121122 fgColor = new Color [] {
122123 mode .getColor ("status.notice.fgcolor" ),
123124 mode .getColor ("status.error.fgcolor" ),
125+ mode .getColor ("status.error.fgcolor" ),
126+ mode .getColor ("status.warning.fgcolor" ),
124127 mode .getColor ("status.warning.fgcolor" )
125128 };
126129
127130 bgColor = new Color [] {
128131 mode .getColor ("status.notice.bgcolor" ),
129132 mode .getColor ("status.error.bgcolor" ),
133+ mode .getColor ("status.error.bgcolor" ),
134+ mode .getColor ("status.warning.bgcolor" ),
130135 mode .getColor ("status.warning.bgcolor" )
131136 };
132137
133138 bgImage = new Image [] {
134139 mode .loadImage ("/lib/status/notice.png" ),
135140 mode .loadImage ("/lib/status/error.png" ),
136- mode .loadImage ("/lib/status/edit.png" )
141+ mode .loadImage ("/lib/status/error.png" ),
142+ mode .loadImage ("/lib/status/warning.png" ),
143+ mode .loadImage ("/lib/status/warning.png" )
137144 };
138145
139146 font = mode .getFont ("status.font" );
0 commit comments