• 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
Re: Calling undo programatically
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Calling undo programatically


  • Subject: Re: Calling undo programatically
  • From: Graham Cox <email@hidden>
  • Date: Thu, 14 May 2009 15:29:50 +1000


On 14/05/2009, at 3:25 PM, Ryan Joseph wrote:

I have a NSTextView I have assembled programatically and placed it into a HICocoaView being used in a Carbon window. All the commands work except undo (called setAllowsUndo already) so I would like to call undo programatically to test in order to determine if Carbon is messing this up or it's in the Cocoa code. Is this possible? Thanks.


[[theTextView undoManager] undo];

--Graham


_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Calling undo programatically
      • From: Ryan Joseph <email@hidden>
References: 
 >Calling undo programatically (From: Ryan Joseph <email@hidden>)

  • Prev by Date: Calling undo programatically
  • Next by Date: Re: Calling undo programatically
  • Previous by thread: Calling undo programatically
  • Next by thread: Re: Calling undo programatically
  • Index(es):
    • Date
    • Thread