Re: Invisible Characters
Re: Invisible Characters
- Subject: Re: Invisible Characters
- From: James Quick <email@hidden>
- Date: Sun, 3 Aug 2003 17:27:31 -0400
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.
_______________________________________________
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.