• 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: 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".

showsInvisibleCharacters

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

  • Follow-Ups:
    • Re: Show/hide whitespace characters (a.k.a. "invisibles") in Xcode editor?
      • From: "Mattias Arrelid" <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>)

  • Prev by Date: xcode stopped building
  • Next by Date: Re: Time machine does not save the build folder
  • Previous by thread: Re: Show/hide whitespace characters (a.k.a. "invisibles") in Xcode editor?
  • Next by thread: Re: Show/hide whitespace characters (a.k.a. "invisibles") in Xcode editor?
  • Index(es):
    • Date
    • Thread