• 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
replaceTextStorage (second text view) and undo difficulties
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

replaceTextStorage (second text view) and undo difficulties


  • Subject: replaceTextStorage (second text view) and undo difficulties
  • From: Keith Blount <email@hidden>
  • Date: Sun, 6 Feb 2005 15:37:52 -0800 (PST)
  • Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys

Hello,

I have a text view that can be viewed in full screen
in my app. To do this, I just launch a second text
view in a fullscreen window, and use
replaceTextStorage: to make sure that the fullscreen
text view displays the contents of the original text
view.

However, I would like to set it up so that if the user
makes changes in the fullscreen view and then exits to
normal view, if he (or she) tries to do an undo, the
user should be able to undo the changes made in
fullscreen. I thought that if I just set
setAllowsUndo: to YES in both textViews, seeing as
they both have the same textStorage, this might work
automatically - but it doesn't. They are both separate
text views, so I guess I need to do something more
complicated.

Does anyone have any suggestions?

Many thanks,
Keith

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Basic issues regarding Tables
  • Next by Date: overwrite NSLog
  • Previous by thread: Re: NSSearchField crash
  • Next by thread: overwrite NSLog
  • Index(es):
    • Date
    • Thread