Project
IntelliJ IDEA
Priority
Major
Type
Cosmetics
Fix versions
No Fix versions
State
Duplicate
Assignee
Maxim Shafirov
Subsystem
JSP
Affected versions
No Affected versions
Fixed in build
No Fixed in build
  • Created by   AlexL
    6 years ago (06 Oct 2005 03:48)
  • Updated by   Alexey Gopachenko
    7 months ago (12 Oct 2011 10:17)
  • Jira: IDEADEV-2707
    (history, comments)
 
IDEA-30322 Colors&Fonts->General->Caret Row style should have precedence over other styles
2
Issue is visible to: All Users
  The issue is visible to the selected user group only
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
Comments (2)
 
History
 
Linked Issues (?)
 
Gordon Tyler
  Gordon Tyler
16 Dec 2010 23:02
17 months ago
Still a problem with IDEA 10. Affects injected language fragments, for example. Set background for caret row and inject language fragment to different colors and when cursor is in injected language fragment the caret row background color is not used.
Vitaliy
  Vitaliy
19 May 2011 15:55
12 months ago