• 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
Changing the textStorage in a textView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Changing the textStorage in a textView
      • From: Mike Ferris <email@hidden>
  • Prev by Date: Re: Second try: Setting text in NSTextView
  • Next by Date: Re: Help File Icon in Help Viewer
  • Previous by thread: Re: Real dumb question...
  • Next by thread: Re: Changing the textStorage in a textView
  • Index(es):
    • Date
    • Thread