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 253784 - "Go to Type" displays bold parts for the first match only
Summary: "Go to Type" displays bold parts for the first match only
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: Jiri Prox
URL:
Keywords:
: 254787 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-07-25 16:45 UTC by stwr
Modified: 2015-08-27 16:31 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Picture showing the current behavior (40.11 KB, image/png)
2015-07-25 16:45 UTC, stwr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description stwr 2015-07-25 16:45:07 UTC
Created attachment 154885 [details]
Picture showing the current behavior

Product Version: NetBeans IDE 8.1 Beta (Build 201507231027)
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)
User directory: C:\Users\cendrowiczm\AppData\Roaming\NetBeans\8.1beta
Cache directory: C:\Users\cendrowiczm\AppData\Local\NetBeans\Cache\8.1beta

Test Case --> http://services.netbeans.org/synergy/client/app/#/case/2377/suite/425/v/1

According to expected result I should see, in bold, parts for ALL result items. Actually only the part in the first item is in bold. See picture.

Either it is a bug or the test case should be adjusted. Part becomes bold for particular item when it is being manually selected (by mouse click or arrow keys).
Comment 1 Jiri Prox 2015-07-25 22:37:58 UTC
The specification is not actual, I will fix it

In 8.1 there were new setting introduced for adjusting highlighting in Go To Symbol dialog, see Options dialog - Editor - Go To
Comment 2 stwr 2015-07-27 06:39:57 UTC
I see now :)

However I do have one more feeling - when "Highlight Using" is set to "Bold Font" this bold parts are almost invisible for the first look. The difference between normal & bold parts inside one match item is visible only when carefully looking on this match item.
Comment 3 Tomas Zezula 2015-07-27 10:21:04 UTC
Can be set in the options as already explained by Jirka.
Regarding the boldness of the bold font :-) it depends on OS font type. The JLabel just passes <b>text</b>.
Comment 4 manikantannaren 2015-08-27 16:31:45 UTC
*** Bug 254787 has been marked as a duplicate of this bug. ***