• 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: Show/hide whitespace characters (a.k.a. "invisibles") in Xcode editor?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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: "Mattias Arrelid" <email@hidden>
  • Date: Fri, 7 Nov 2008 08:55:28 +0100

On Thu, Nov 6, 2008 at 21:49, Chris Espinosa <email@hidden> wrote:
>
> 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".
> showsInvisibleCharacters
> I'll take a look to see whether there's a way to override the glyph
> NSLayoutManager uses when drawing these.

That would be awesome!

When reading up on NSLayoutManager, I find:

- (BOOL)showsControlCharacters
- (BOOL)showsInvisibleCharacters

It would also be _really_ nice if Xcode did represent the different
control/invisible characters with _different_ chars, see [1] for an
example.

Regards
Mattias

[1] http://www.grabup.com/uploads/7d7c806550724fc71f601027a066a29e.png?direct
 _______________________________________________
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: 
 >Show/hide whitespace characters (a.k.a. "invisibles") in Xcode editor? (From: "Mattias Arrelid" <email@hidden>)
 >Re: Show/hide whitespace characters (a.k.a. "invisibles") in Xcode editor? (From: Chris Espinosa <email@hidden>)
 >Re: Show/hide whitespace characters (a.k.a. "invisibles") in Xcode editor? (From: "Mattias Arrelid" <email@hidden>)
 >Re: Show/hide whitespace characters (a.k.a. "invisibles") in Xcode editor? (From: j o a r <email@hidden>)
 >Re: Show/hide whitespace characters (a.k.a. "invisibles") in Xcode editor? (From: "Mattias Arrelid" <email@hidden>)
 >Re: Show/hide whitespace characters (a.k.a. "invisibles") in Xcode editor? (From: Chris Espinosa <email@hidden>)

  • Prev by Date: Re: How to disable GUI plist editor? (it destroys user data)
  • Next by Date: Re: #define when framework style includes are used?
  • Previous by thread: Re: Show/hide whitespace characters (a.k.a. "invisibles") in Xcode editor?
  • Next by thread: Hillegass' Chapter 18 Challenge
  • Index(es):
    • Date
    • Thread