Changing the textStorage in a textView
Changing the textStorage in a textView
- Subject: Changing the textStorage in a textView
- From: Tom Gray <email@hidden>
- Date: Thu, 9 Jan 2003 14:19:03 -0500
Howdy,
As always, thanks for the help!
I wish to change the textStorage of a textView subclass. However, I
don't see a setTextStorage method associated with NSTextView.
Now, there is a replaceTextStorage associated with NSLayoutManager. The
relationship though is confusing me.
In my code when I replace the textStorage of the my textView's layout
manager I find I can no longer access the textStorage.
I am sure I have not summarized this well, but, what I wish to do is to
be able to switch back and forth between two different textStorages
within a textView.
Tom Gray
-------------
email@hidden
or
email@hidden
_______________________________________________
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.