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.

Bug 256847 - Highlighting of "Go to Type" can be hard to read
Summary: Highlighting of "Go to Type" can be hard to read
Status: RESOLVED WORKSFORME
Alias: None
Product: java
Classification: Unclassified
Component: Navigation (show other bugs)
Version: 8.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-28 19:01 UTC by matthies
Modified: 2015-11-30 14:53 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Example of how the highlighting can make the selected match hard to read (11.72 KB, image/png)
2015-11-28 19:01 UTC, matthies
Details

Note You need to log in before you can comment on or make changes to this bug.
Description matthies 2015-11-28 19:01:16 UTC
Created attachment 157539 [details]
Example of how the highlighting can make the selected match hard to read

Since NB 8.1, "Go to Type" uses the "Mark Occurrences" syntax highlighting within the currently selected match. However, depending on the choice of colors, this can clutter up the display of the selected match, making it harder to read. This is particularly the case when using the camel-case beginning-of-word letters (e.g. typing "CSLS" to find "ConcurrentSkipListSet").

For example, I use white text on dark blue background for selections and black on light yellow for "Mark Occurrences". This makes for a jarring display for the selected match under "Go to type". Elsewhere this color choice is fine because marked occurrences are not typically part of selected text.

To fix this, I would suggest adding the option to turn off this highlighting under "Go to type", or to use a separate highlighting category rather than the one for "Mark Occurrences".
Comment 1 Tomas Zezula 2015-11-30 08:55:31 UTC
IDE Options/Editor/GoTo - you can select how the highlighting is done (None, Background, Bold).
Or you can change the "Mark Occurrences" background color.
Comment 2 matthies 2015-11-30 14:53:00 UTC
Thanks, I missed that tab.