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 233002 - 'Javadoc First Sentence' color does not work
Summary: 'Javadoc First Sentence' color does not work
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Javadoc (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Ralph Ruijs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-18 14:15 UTC by ssazonov
Modified: 2015-09-23 07:44 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ssazonov 2013-07-18 14:15:00 UTC
1. Create new Java projec with Javadoc, for example:

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package editoroptions;


/**
 <p>
 @author Stanislav Sazonov
 */
public class FirstSentence {
	
}

2. Go to: Tools->Options->Fonts@Colors->Java->Javadoc First Sentence

3. Change Foreground/Background color and press Apply

-> there are no changes in editor


Product Version: NetBeans IDE Dev (Build 201307172300)
Java: 1.7.0_25; Java HotSpot(TM) Client VM 23.25-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_25-b16
System: Windows 7 version 6.1 running on x86; Cp1252; en_US (nb)
Comment 1 Milutin Kristofic 2013-07-18 15:36:44 UTC
Probably broken Bug #203935
Comment 2 MackSix 2013-08-03 02:17:36 UTC
If you restart NetBeans, the settings take effect, except the font foreground color will not change. Other syntax settings take effect when clicking the Apply button.

Product Version: NetBeans IDE Dev (Build 201308012300)
Updates: Updates available
Java: 1.7.0_25; Java HotSpot(TM) 64-Bit Server VM 23.25-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_25-b16
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
Comment 3 manikantannaren 2014-03-08 11:45:26 UTC
Any change to the Javadoc first sentence fonts & Colors requires a restart to take effect even for "inherited" colors and fonts.
Comment 4 stwr 2015-07-28 17:08:06 UTC
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

Still reproducible in 8.1 Beta.
Comment 5 Ralph Ruijs 2015-07-30 13:51:31 UTC
changeset:   aa6bddc2a88b
user:        Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org>
date:        Thu Jul 30 15:50:04 2015 +0200
summary:     #233002 - 'Javadoc First Sentence' color does not work
Comment 6 Quality Engineering 2015-07-31 01:50:19 UTC
Integrated into 'main-silver', will be available in build *201507310002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/aa6bddc2a88b
User: Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org>
Log: #233002 - 'Javadoc First Sentence' color does not work