Bug 101816 - Problem with Makefile editor colours.
Summary: Problem with Makefile editor colours.
Status: RESOLVED DUPLICATE of bug 148436
Alias: None
Product: CDT
Classification: Tools
Component: cdt-core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 109238 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-06-27 01:16 EDT by Shane Hill CLA
Modified: 2009-01-09 15:37 EST (History)
1 user (show)

See Also:


Attachments
Sample of Black Text Problem (6.85 KB, image/gif)
2005-06-28 20:07 EDT, Shane Hill CLA
no flags Details
Another Sample of Black Text Problem (10.46 KB, image/gif)
2005-06-28 20:08 EDT, Shane Hill CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Shane Hill CLA 2005-06-27 01:16:35 EDT
I'm using eclipse 3.1RC2 and latest CDT for 3.1. I have changed the default 
background colour to a dark blue and the default test to a gold-yellow colour. 
All the colouring with the C++ editor is working great, even with team-
compare. However, I'm unable to edit all the colors within the makefile 
editor. There seems to be some some text that is the default black colour and 
I can't seem to locate a way to update it. I have gone through all the General-
Exitors->Text_Editors settings as well, (this is where I set the new default 
colours). The problem seems to occur with lines that are continued with a back-
slash and lines like:

all:
  do something

Lines like the following are hilited okay.

EXE_EXT = .exe
OBSJ = fred.o

fred$(EXE_EXT): blah blah
  do something

If the person fixing this problem would like me to send them a screen grab of 
the problem I can send this.

Have Fun !!

Shane Hill
Shane dot Hill at dsto dot defence dot gov dot au
Comment 1 Alain Magloire CLA 2005-06-28 16:26:29 EDT
> If the person fixing this problem would like me to send them a screen grab of 
> the problem I can send this.

Please do I do not understand the problem.
For the settings of the Makefile look under
Preferences -> C/C++ -> Make -> Makefile Editor
Comment 2 Shane Hill CLA 2005-06-28 20:07:35 EDT
Created attachment 24117 [details]
Sample of Black Text Problem

Example screen cutout of problem number 01.
Comment 3 Shane Hill CLA 2005-06-28 20:08:24 EDT
Created attachment 24118 [details]
Another Sample of Black Text Problem

Example screen cutout of problem number 02.
Comment 4 Shane Hill CLA 2005-06-30 20:29:42 EDT
I Forgot to mention that I have gone through all the settings in

Preferences -> C/C++ -> Make -> Makefile Editor

None of the colours are set to black, but I still seem to get black text in 
the Makefile editor. Have a look at the attached GIF images.

Have Fun !!

Shane Hill
Comment 5 Shane Hill CLA 2005-08-09 20:20:45 EDT
Just for info. This problem is still seen in CDT 3.0 RC3, which I have just 
installed.

Have Fun !!

Shane Hill
Comment 6 Alain Magloire CLA 2005-08-10 09:57:43 EDT
(In reply to comment #5)
> Just for info. This problem is still seen in CDT 3.0 RC3, which I have just 
> installed.
> 

Yes, it is unfortunate.  But we simply lack time to do this in the 3.0
timeframe 8-(.
Retarget for 3.1

> Have Fun !!
>

Thanks for bringing this up. 
Comment 7 Tomasz Dziekonski CLA 2005-08-24 03:11:16 EDT
You can change default makefile editor colour by manually editing file:

workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.make.ui.prefs

Simply add line:

org.eclipse.cdt.make.ui.editor.default=255,255,255
Comment 8 Shane Hill CLA 2005-08-24 03:29:17 EDT
Thanks for the update. This works great. It has fixed the problem I was 
having. Just for your information, I have implemented this slightly 
differently to allow me to import the setting into other workspaces and on 
other machines easily. I used the export preferences feature to create a 
preference file. I then added the line based on your information above:

/instance/org.eclipse.cdt.make.ui/org.eclipse.cdt.make.ui.editor.default=255,25
5,255

Then all I have to do is run "Import Preferences" using the newly edited file 
and the colour is updated.

Thanks for the help.

Shane Hill
Comment 9 Markus Schorn CLA 2006-05-03 04:08:11 EDT
*** Bug 109238 has been marked as a duplicate of this bug. ***
Comment 10 Doug Schaefer CLA 2006-05-22 13:15:30 EDT
Bugs still assigned to the inbox can not have the target milestone set. If someone is really going to fix this in 3.1, please assign it to yourself.
Comment 11 Anton Leherbauer CLA 2006-07-03 10:18:48 EDT
This one is older, but the other has a patch.

*** This bug has been marked as a duplicate of 148436 ***