Hi,

I just declared four very similar final int vars in a method and the 
highlighting is screwed up on them. 

     private void drawMapAreasForScrolledArea(int xdelta, int ydelta, 
Rectangle viewport, Image dest)
     {
          final int outputStartX = xdelta < 0 ? viewport.width+xdelta : 
0;
          final int outputStopX = xdelta < 0 ? viewport.width : -xdelta;
          final int outputStartY = ydelta < 0 ? viewport.height+ydelta : 
0;
          final int outputStopY = ydelta < 0 ? viewport.height : -ydelta;

     }

Now, the first two lines are highlighed correctly, but the second two are 
not. It is not using the "variable is never used" colour on the variable 
name, and it's not using the "parameter" colour on ydelta or viewport, 
and it is not using the "field" colour on viewport.height.

On the two almost identialy lines above, it -does- do this colouring 
properly!

Looks like a bizarre little bug!

Marc



_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list

Reply via email to