Re: String syntax coloring is a mess
Re: String syntax coloring is a mess
- Subject: Re: String syntax coloring is a mess
- From: Philip Aker <email@hidden>
- Date: Sat, 08 Dec 2007 03:21:03 -0800
On Dec 7, 2007, at 10:59 AM, kwiley wrote:
I've had the following problem with Xcode for years. CodeWarrior
never had this problem. I have never complained about it because I
was hoping Xcode 3 would fix it, but I just got Leopard and Xcode
and it's still there. Erg!
The problem is that when opening or closing string constants with a
double quote character, the syntax coloring often gets screwed up.
The most common symptom is that code below the string constant is
all turned string color when the string is opened (fair enough),
but is left string colored with the string is closed. In my
experience, this problem is solved by paging up or down far enough
to push the miscolored text off the screen, and then paging back
again...what a nuisance. More seriously, if your code is too short
to page up or down enough to remove the incorrectly colored code
from the screen, then you simply cannot get the color right again
without closing and reopening the file. Another fix is to type two
double quotes in a row, thus opening and closing a new empty
string. Sometimes this fixes the coloring...sometimes not. Then I
have to delete the useless empty string of course.
Am I the only person who has ever noticed this?
All the time prior to 3.0. But I can't say I've remarked it much when
working in 3.0 on Leopard.
If not, why hasn't it been solved yet? It's been around for
years. One easy solution would be to provide a command to force
Xcode to immediately reevaluate the syntax coloring and clean up
the screen...although CodeWarrior simply didn't have this problem.
I explored the menus and didn't find anything to do this. Lastly,
I am open to recommendations as to how to deal with this problem
(short of assigning a string color that matches the default text
color, that suggestion is obvious I suppose). Any ideas?
Philip Aker
echo email@hidden@nl | tr a-z@. p-za-o.@
_______________________________________________
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