This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
So far there has been only one color for highlighting a line with the caret and another color for highlighting selected text. While this is ok for most text files in some situations this is not enough. There are files with internal structures that are highlighted to a user by a special background color (eg. CSS blocks in JSP file, CDATA sections in XML file, preprocessor blocks in C/C++ and some java files, guarded blocks in java GUI forms, etc.). Using the same color for caret row highlight outside and inside those sections does not look nice. The same holds true for the text selection highlight. Ideally we would like to have special colors for caret row and text selection highlights inside those section that would alight better with the section's background color. Please see the UI spec here: http://ui.netbeans.org/docs/ui/editor_fonts_colors/Editor_fonts_and_colors.htm
A couple of things to consider: - Background color for the sepecial sections is customizable by users, therfore the highlighs for caret row and text selection that apply inside those sections must be customizable too. Or they must be defined in a way that allows them to adapt to the change of the section's background color. - The special sections are *not* embbeded mime types. Or at least not in all cases (eg. active vs. inactive preprocessor blocks are certainly not two embedded sections with different mime path; the same for guarded blocks).
*** Issue 115708 has been marked as a duplicate of this issue. ***
There was yet another valid usecase presented in issue #115708.
moving opened issues from TM <= 6.1 to TM=Dev
*** Issue 136299 has been marked as a duplicate of this issue. ***