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 223861 - Selected text in the find and replace fields does not get highlighted
Summary: Selected text in the find and replace fields does not get highlighted
Alias: None
Product: editor
Classification: Unclassified
Component: Search (show other bugs)
Version: 7.2.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Milutin Kristofic
: 222259 (view as bug list)
Depends on:
Reported: 2012-12-15 00:35 UTC by squarestar
Modified: 2013-05-02 14:13 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:

find/replace highlighting (46.73 KB, image/jpeg)
2012-12-15 00:35 UTC, squarestar
Demonstrates difference between versions of netbeans (136.05 KB, image/jpeg)
2012-12-17 14:32 UTC, squarestar

Note You need to log in before you can comment on or make changes to this bug.
Description squarestar 2012-12-15 00:35:59 UTC
Created attachment 129395 [details]
find/replace highlighting

With text in either the 'Find' field, 'Find What' field or 'Replace With' field when using either 'Find..' or 'Replace...' from the Edit menu, selecting the text with the mouse or keyboard does not highlight it.
Comment 1 Milutin Kristofic 2012-12-17 12:52:48 UTC
What is your coloring of selection in editor?
Comment 2 squarestar 2012-12-17 14:21:37 UTC
My selection-background colour for text I'm editing is white and the background of the work area is gray.
Comment 3 squarestar 2012-12-17 14:32:59 UTC
Created attachment 129461 [details]
Demonstrates difference between versions of netbeans
Comment 4 squarestar 2012-12-17 14:35:29 UTC
I've added an attachment showing the difference between v7.1.1, when it worked correctly and v7.2.1/7.3b2 which don't play nice with custom colours.
Comment 5 Milutin Kristofic 2012-12-17 14:36:48 UTC
Yes, I changed find text field from textfield implementation to editor implementation. I am now testing if I fixed this in netbeans 7.3 dev build. I fixed similar bug with white caret. Bug #215433
Comment 6 Milutin Kristofic 2012-12-17 14:41:04 UTC
reproducible in 7.3 build. Option-Fonts&colors-Highlighting-Selected Text = White
Comment 7 Milutin Kristofic 2013-01-07 14:48:14 UTC
7.3 is very close to be released and this bug needs big changes in editor infrastructure. Therefore I am moving fixing to next release, it will be fixed in early development version of next release.

I am changing priority to P3, since this is very specific to rare color profile. Having white color for select in netbeans profile and white background in system profile. There is easy workaround to change a little color profile.
P2 - Product feature doesn't work, a workaround may exist but it's difficult to use or impractical

P3 - Part of a product feature is affected, a viable workaround exists
Comment 8 Milutin Kristofic 2013-01-09 13:13:58 UTC
*** Bug 222259 has been marked as a duplicate of this bug. ***
Comment 9 Milutin Kristofic 2013-04-29 13:32:13 UTC
Comment 10 Quality Engineering 2013-05-02 14:13:42 UTC
Integrated into 'main-golden', will be available in build *201305021042* on (upload may still be in progress)
User: Milutin Kristofic <>
Log: #223861 - Selected text in the find and replace fields does not get highlighted