Re: String syntax coloring is a mess
Re: String syntax coloring is a mess
- Subject: Re: String syntax coloring is a mess
- From: Steve Mills <email@hidden>
- Date: Fri, 7 Dec 2007 14:27:01 -0600
On Dec 7, 2007, at 14:14:03, Chris Williams wrote:
I see this problem all the time. It is reproducible (at least in
2.5).
Me too. Many times a day. It's not a huge deal since it's just
incorrect text color, so I've been hoping that some Xcode engineers
would finally get sick of seeing the bug and fix it. A bad assumption,
I know.
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.
I usually fix it by hitting page-up/down, page-down/up to force Xcode
to render the entire page. So I would guess it's a dirty region bug,
where closing the quote inside some other pair of () or [] or {} or
whatever doesn't tell the trailing lines that they need an update. In
fact, are there any cases where a quoted string *could* wrap to more
than one line, past a line end character (not counting when a line
wraps because the user has the pref set to wrap to the window width)?
If not, then syntax coloring should never continue the string coloring
past a line end character in the first place.
Steve Mills
Drummer, Mac geek
http://sjmills5.home.mchsi.com/
_______________________________________________
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