Re: String syntax coloring is a mess
Re: String syntax coloring is a mess
- Subject: Re: String syntax coloring is a mess
- From: David Ewing <email@hidden>
- Date: Fri, 7 Dec 2007 15:18:19 -0700
On Dec 7, 2007, at 2:09 PM, Shawn Erickson wrote:
On Dec 7, 2007 12:00 PM, Chris Williams <email@hidden> wrote:
I see this problem all the time. It is reproducible (at least in
2.5).
When I see it is if I type:
[class method];
And then go back and put in the parameter:
[class mothod:@"string"];
When I type the first quote, the rest of the file goes red. When I
type the
second quote, it stays red. No amount of adding and deleting the
last quote
fixes it.
However, if I delete the trailing bracket (the ] ), and put it back
in, all
gets cleared up.
All you have to do is hit a return and then backspace after the
trailing " to get things to clear up, at least in my experience when
this happens. Not seen this with Xcode 3.0.
To reiterate, if you see this with Xcode 3.0, please file a bug. We're
not likely to fix it in 2.x as it was caused by a major limitation in
the implementation. Xcode 3.0's editor removed the limitation. I
haven't seen any reports of the problem persisting in 3.0 until this
thread.
When making a report, make sure you include the file where you're
seeing the bug, and give exact steps as to what you typed to get it to
happen. And also include the com.apple.Xcode.plist preferences file.
Dave
_______________________________________________
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