@C0D312 - Thanks but I do not want to remove the background color for PHP code. It helps a lot when working with an HTML file that contains both HTML and PHP code. The specified background color for the PHP code helps to differentiate the PHP code from the HTML. Removing the background just to make the current line highlight come up is not an option for me. Would rather just see the bug fixed. Is there any other way to tweak the tmTheme to make this work?
In Cobalt.tmTheme I found the following
<dict>
<key>name</key>
<string>Embedded Source</string>
<key>scope</key>
<string>text source, string.unquoted.heredoc, source source</string>
<key>settings</key>
<dict>
<key>background</key>
<string>#223545</string>
<key>fontStyle</key>
<string></string>
<key>foreground</key>
<string>#FFFFFF</string>
</dict>
</dict>
I tried adding something like this:
<key>lineHighlight</key>
<string>#FF0000</string>
To the settings section, but it didn’t seem to have any effect at all. Is lineHighlight maybe not an acceptable setting to set for embedded sources?
Also I noticed this problem with other themes besides just Cobalt. Any theme that has a different background color defined for Embedded Sources, this problem occurs.