Newbie question- NSLayoutManager SetShowsInvisibleCharacters
Newbie question- NSLayoutManager SetShowsInvisibleCharacters
- Subject: Newbie question- NSLayoutManager SetShowsInvisibleCharacters
- From: Mark Munz <email@hidden>
- Date: Sun, 12 Jan 2003 22:52:10 -0700
I've been investigating switching from Carbon to Cocoa for my application. I
currently use the WASTE text engine which allows me to show invisible
characters in the editor.
I noticed that Cocoa's NSTextView (actually, it's in the NSLayoutManager)
has a SetShowsInvisibleCharacters method, but it doesn't seem to work at
all. There is mention of it needing to be supported in the rulebooks and
fonts in use support it.
Questions?
1. What rulebooks or fonts support showing invisibles?
2. If none, why is there an API for this if there is no support for it?
3. Is there an alternative way to show invisible characters (tabs, returns,
spaces) in a Cocoa NSTextView?
Most users expect to be able to see invisibles in their text editor (Word,
AppleWorks, most WASTE apps support this) -- so not being able to do this
simple thing prevents me from moving any further in my investigation.
I'm still new to the whole framework and Obj-C thing, so perhaps I'm missing
something obvious.
Any input, direction, or help on this would be most appreciated.
Thanks.
Mark
_______________________________________________
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.