• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: enum syntax coloring
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: enum syntax coloring (From: Greg Guerin <email@hidden>)

  • Prev by Date: Re: A newbie question
  • Next by Date: Re: Xcode Problems?
  • Previous by thread: Re: enum syntax coloring
  • Next by thread: Re: enum syntax coloring
  • Index(es):
    • Date
    • Thread