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 268575 - Makefile constant color changes to black on indent and is unreadable when using dark theme
Summary: Makefile constant color changes to black on indent and is unreadable when usi...
Status: RESOLVED WORKSFORME
Alias: None
Product: cnd
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.2
Hardware: PC All
: P2 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-18 19:59 UTC by nstommel
Modified: 2016-10-21 11:39 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
You can see the default black color that the editor makes constants different when indented for some reason. This cannot be changed in the settings. (193.36 KB, image/png)
2016-10-18 19:59 UTC, nstommel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nstommel 2016-10-18 19:59:49 UTC
Created attachment 162545 [details]
You can see the default black color that the editor makes constants different when indented for some reason. This cannot be changed in the settings.

I've come across an annoying bug for which I have found no fix whatsoever. For some odd reason, the default color for makefile macros like $(CCFLAGS) changes from that in the editor settings to a dark black after indentation, and is nigh on unreadable in the editor using a dark theme. Attached is a screenshot of this behavior. I set the color to light gray for macros, but the Editor displays the macros in black when indented anyway. Please fix, this is important for users of dark editor themes using C++. This problem exists on Netbeans 8.1 and 8.2.
Comment 1 Alexander Simon 2016-10-20 13:12:13 UTC
Makefile editor supports embedded language.
Mentioned lines has a shell script embedded language.
So edit shell script colors.
Comment 2 nstommel 2016-10-20 16:30:21 UTC
I'm not sure which option to edit in the shell script colors section, can you please tell me which option I should change?
Comment 3 Alexander Simon 2016-10-21 10:44:56 UTC
(In reply to nstommel from comment
Comment 4 Alexander Simon 2016-10-21 11:39:50 UTC
(In reply to nstommel from comment #2)
> I'm not sure which option to edit in the shell script colors section, can
> you please tell me which option I should change?

Sorry previous replay was failed.

Select in language combobox "Shell Script" and change foreground color of Identifier.