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 255308 - Change Highlight Search Block don't work
Summary: Change Highlight Search Block don't work
Status: RESOLVED WORKSFORME
Alias: None
Product: editor
Classification: Unclassified
Component: Options (show other bugs)
Version: 8.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-15 17:20 UTC by marcosptf
Modified: 2015-09-16 12:54 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Change Highlight Search Block by word 'costumer' (133.84 KB, image/png)
2015-09-15 17:20 UTC, marcosptf
Details
Screenshot (18.79 KB, image/png)
2015-09-16 12:53 UTC, Milutin Kristofic
Details

Note You need to log in before you can comment on or make changes to this bug.
Description marcosptf 2015-09-15 17:20:02 UTC
Created attachment 156194 [details]
Change Highlight Search Block by word 'costumer'

http://services.netbeans.org/synergy/client/app/#/assignment/1459/v/1

I make the test "Search Color (Font & Colors - Highlighting)", and the color that i choosed dont work when i search by word 'customer', like on the print screen in attachment;


+Steps:
1.Open Fonts&Colors, Highlighting
2.Change Highlight Search and Search Block
3.In editor press ctrl-f and search for text with several occurrences in actual document
4.Select block of code and press ctrl-h 

+Expected result:
The found occurrences are marked by Highlight Search color, selected block is colored by Search Block when replace dialog is shown (note, that by default the search block is hidden by selection, to get rid of it click in the editor while the replace bar is opened, the selection will be canceled, and the search block will appear).


Product Version: NetBeans IDE Dev (Build 201509150002)
Java: 1.8.0_25; Java HotSpot(TM) Client VM 25.25-b02
Runtime: Java(TM) SE Runtime Environment 1.8.0_25-b17
System: Linux version 3.17.4-200.fc20.i686 running on i386; UTF-8; en_US (nb)
User directory: /root/.netbeans/dev
Cache directory: /root/.cache/netbeans/dev
Comment 1 Milutin Kristofic 2015-09-16 12:53:04 UTC
Created attachment 156210 [details]
Screenshot

Search block is used following:

1, select some area of text
2, press ctrl+f (or ctrl+h) for search(replace)bar
3, search is searching only in search block
Comment 2 Milutin Kristofic 2015-09-16 12:54:44 UTC
Changing colors of search block is changing search part. It is not for search occurences (that is highlight search) but for search blocks.

Product Version: NetBeans IDE Dev (Build 20150916-c7a0947d2d2e)
Java: 1.8.0_51; Java HotSpot(TM) 64-Bit Server VM 25.51-b03
Runtime: Java(TM) SE Runtime Environment 1.8.0_51-b16