Re: Show/hide whitespace characters (a.k.a. "invisibles") in Xcode editor?
Re: Show/hide whitespace characters (a.k.a. "invisibles") in Xcode editor?
- Subject: Re: Show/hide whitespace characters (a.k.a. "invisibles") in Xcode editor?
- From: Chris Espinosa <email@hidden>
- Date: Thu, 6 Nov 2008 12:49:42 -0800
On Nov 6, 2008, at 2:43 AM, Mattias Arrelid wrote: I don't know the answer, but I would guess that a highly visible character
was chosen, since this is typically a debugging aid, and not something that
you use all the time.
You're probably right, but the interpunct is still a highly visible character and more importantly, it cannot be mixed with a full stop character - when "Show Spaces" is active, you really cannot tell actual dots in the code from spaces. And... as Wikipedia [1] claims, most editors represent a space with this glyph (if told to "Show Spaces").
The result of this command combined with the new dot syntax introduced in Objective-C 2.0 makes the choice of glyph even worse than before :)
Xcode is simply using the built-in facilities in NSLayoutManager for "show invisible characters" and "show control characters".
I'll take a look to see whether there's a way to override the glyph NSLayoutManager uses when drawing these.
Chris |
_______________________________________________
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