Re: enum syntax coloring
Re: enum syntax coloring
- Subject: Re: enum syntax coloring
- From: Laurence Harris <email@hidden>
- Date: Sun, 29 Oct 2006 01:19:46 -0400
On Oct 28, 2006, at 10:29 PM, Greg Guerin wrote:
Laurence Harris wrote:
enums in Apple's headers like noErr show up in color in my source
files. enums defined in *my* headers do not. Is this a bug or
something I'm not doing? Thanks,
I can't get any coloring of any enums, not even noErr, no matter
what I try.
After reading your message I started to have a vague memory of adding
some terms to a file a long time ago to get them to show up colored,
but I thought that was in SubEthaEdit. Is there such a file for
Xcode? It may be that I did something similar for Xcode and just
forgot. That would explain why a few common error codes are showing
up colored but most aren't.
Larry
Please provide additional details:
what version of Xcode?
what is the source file suffix?
does it happen in a file "foo.h" with just "noErr" in it?
can you provide a source example where it does happen?
what color is noErr?
what colors do you have assigned to the categories?
what category does noErr appear to be?
For the last two, you may have to change your colors to be unique
for each
category, if they aren't already. If you want to revert to exactly
the
same colors, copy Xcode's prefs-file in ~/Library/Preferences/
before you
change anything. Or use the paint-tray in the color picker to keep
each
color before you change it.
Absent any details, the only thing I can imagine is that the syntax
coloring parser is getting confused, and identifying noErr and
friends as
something it shouldn't. I would consider that a bug.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden