I ran into this problem with my JSP page style.
I had set General->Default Text background color to light gray.
I had set General->Caret Row background color to light yellow.
I set JSP->Scripting background to light blue.
I set the JSP->Directive background to light green.
When I am editing Java code, the Care Row background color overrides the default text background color
and the entire row is colored yellow.
But in my JSP page, the java code keeps the blue background and I cannot see the Caret Row colored
yellow.
It seems to me that the Caret Row style should override any of the other styles, plus merge in other style
settings which the Caret Row doesn't specify.
For example, other styles may specify a foreground color or Effects. If Caret Row only specifies background color,
then the foreground and effets will be taken from these other styles.
Environment: Windows XP SP2