• 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: Invisible Characters
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Invisible Characters


  • Subject: Re: Invisible Characters
  • From: Dustin Voss <email@hidden>
  • Date: Mon, 4 Aug 2003 15:19:10 -0700

On Sunday, August 3, 2003, at 02:27 PM, James Quick wrote:

On Sunday, August 3, 2003, at 02:20 PM, Francisco Tolmasky wrote:

Ok, so I want to have invisible characters, kind of like the way BBEdit has them. So what I'm doing so far is calling NSLayoutManager's setShowsInvisibleCharacters: with YES, like this:

(inside tableview subclass)

[[self layoutManager] setShowsInvisibleCharacters: YES];

Now, I've tried with a few fonts and this does not seem to do anything. So I've reached the conclusion that I'm either doing something wrong or all the fonts I've tried do not support invisible characters.

Does anyone have any input on this? Also, if I want to show the same invisible characters no matter what font is chosen, is there an easy way to do this without having to create my own fonts or something.

From the documentation:

NSSecureTextField is a subclass of NSTextField that hides its text from display or other access via the user interface. It's suitable for use as a password-entry object or for any item in which a secure value must be kept.

Sounds like the AppKit beat you to it.

That isn't what he meant. BBEdit's "invisible characters" are like MS Word's invisible characters. Typically, a carriage-return will show up as the backwards-p paragraph symbol, a space will show up as a dot, a tab will show up as an arrow or logical negation symbol or something like that, etc.

That said, I don't know how to answer Francisco's question.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Invisible Characters (From: James Quick <email@hidden>)

  • Prev by Date: Re: Corrupted NSMutableString
  • Next by Date: NSAutoreleaseNoPool console message
  • Previous by thread: Re: Invisible Characters
  • Next by thread: Screen Resolution
  • Index(es):
    • Date
    • Thread