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 247941 - Changing the foreground color of C++ preprocessor identifier also changes identifier color
Summary: Changing the foreground color of C++ preprocessor identifier also changes ide...
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.0.1
Hardware: PC Linux
: P3 normal with 1 vote (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-15 03:03 UTC by virv
Modified: 2015-07-17 01:19 UTC (History)
0 users

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 virv 2014-10-15 03:03:43 UTC
Product Version: NetBeans IDE 8.0.1 (Build 201408251540)
Updates: NetBeans IDE is updated to version NetBeans 8.0.1 Patch 1.1
Java: 1.8.0_11; Java HotSpot(TM) 64-Bit Server VM 25.11-b03
Runtime: Java(TM) SE Runtime Environment 1.8.0_11-b12
System: Linux version 3.13.0-32-generic running on amd64; UTF-8; en_US (nb)

Steps to reproduce:
- Go to Tools > Options > Fonts & Colors > Syntax 
- Select C++
- Select "Preprocessor Identifier"
- Change the foreground color
- Close Netbeans
- Start Netbeans
- The "Identifier" foreground color now has what was previously entered for "Preprocessor Identifier"
Comment 1 johanp 2015-02-13 18:59:32 UTC
This defect also affects the plain C syntax coloring in 8.0.2 as well.

Detailed version information:

Product Version: NetBeans IDE 8.0.2 (Build 201411181905)
Java: 1.8.0_11; Java HotSpot(TM) 64-Bit Server VM 25.11-b03
Runtime: Java(TM) SE Runtime Environment 1.8.0_11-b12
System: Linux version 3.13.0-24-generic running on amd64; UTF-8; en_US (nb)
Comment 2 Alexander Simon 2015-07-16 14:43:27 UTC
I can reproduce the bug if not Netbeans profile is selected in Fonts&Colors/Syntax tab.

Fixed, change set:
http://hg.netbeans.org/cnd-main/rev/6356f8aeff23
Comment 3 Quality Engineering 2015-07-17 01:19:50 UTC
Integrated into 'main-silver', will be available in build *201507170001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/6356f8aeff23
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #247941 Changing the foreground color of C++ preprocessor identifier also changes identifier color