That is certainly possible, but it doesn't seem like the elegant solution to me. I want the user to be able to turn these on and off at will. I can keep a backup of the original text and work off of that, but when texts start to be get long that will be a lot copying and deleting of characters. It certainly seems like it shouldn't be an ordeal to keep the text system from drawing certain glyphs.

On Jun 5, 2009, at 10:07 AM, Kyle Sluder wrote:

If it's read only for the user, why don't you just remove those
characters from the text storage?  NSTextStorage is a subclass of
NSMutableAttributedString.

--Kyle Sluder

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to