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.
Product Version: NetBeans IDE Dev (Build 201508250002) Java: 1.8.0_60-ea; Java HotSpot(TM) 64-Bit Server VM 25.60-b23 Runtime: Java(TM) SE Runtime Environment 1.8.0_60-ea-b25 System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb) I observed strange behavior during my test session. Please open following project --> http://services.netbeans.org/synergy/server/api/attachment.php?id=226 --Use Case-- 1. Open OD|Editor|Go To. Apply following settings: All Items and Background Color (in order to clearly see what is going on) 2. Open 'Go to Symbol' dialog 3. Type 'ClassStructure' 4. Add '.*' (full input should be 'ClassStructure.*') 5. Add 'm' (full input should be 'ClassStructure.*m') 6. Remove '*' (full input should be 'ClassStructure.m') 7. Add '*' (full input should be 'ClassStructure.m*') --Actual Result-- After 3rd step - OK, three items, all matches highlighted After 4th step - KO, 14 items, highlighted match are two dots (see picture 'Bad matching - two dots') After 5th step - KO, 9 items, highlighted match is one dot (see picture 'Bad matching - one dot') After 6th step - OK, 4 items, all matches highlighted After 7th step - KO, 4 items, no highlighted matches (see picture 'No matches') I thought it is because wildcards. And I was almost sure it is intended behavior but I tried following input 'ClassStructure*' which gave me 3 results, and all matches are highlighted. The assumption is that matches are not highlighted (or are highlighted badly, like these dots) whenever there is a wildcard after the selector.
Created attachment 155605 [details] Bad matching - two dots
Created attachment 155606 [details] Bad matching - one dot
Created attachment 155607 [details] No matches
Reproducable.
Fixed jet-main 1d347aa0730d. 3. Type 'ClassStructure' - highlights 'ClassStructure' 4. Add '.*' (full input should be 'ClassStructure.*') - highlights nothing as the search text is "" in ClassStructure scope. 5. Add 'm' (full input should be 'ClassStructure.*m') - highlights 'm' 6. Remove '*' (full input should be 'ClassStructure.m') - highlights 'm' 7. Add '*' (full input should be 'ClassStructure.m*') - highlights 'm' Thanks for the report.
Integrated into 'main-silver', will be available in build *201509080002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/1d347aa0730d User: Tomas Zezula <tzezula@netbeans.org> Log: #254691:Bad (and also missing) "Go to Symbol" match highlighting