Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cancel editing text in a row




On Sep 14, 2005, at 9:06 PM, John C. Randolph wrote:


On Sep 14, 2005, at 5:33 PM, A. Blue wrote:


I have an NSOutlineView working pretty well.

If a user changes some text in a row, I want them to be able to press
the escape key to just abort that edit and go back to the way the row
was before editing.

How can I implement this?


Why not just use the existing undo facility?

Wouldn't using the existing undo facility cause canceled text changes to unnecessarily show up in the Edit menu ("Redo Typing")?


_murat
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >cancel editing text in a row (From: "A. Blue" <email@hidden>)
 >Re: cancel editing text in a row (From: "John C. Randolph" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.