I have an NSSearchField with sendsWholeSearchString = NO in order to do 
incremental searches.
But if the content of the search field is a regular expression, I only want to 
process it when the regular expression is complete, i.e. when the user enters 
CR (aka "return").

Is there a way to distinguish between actionMethod is called because some 
character was added, or because the user hit CR?

Gerriet.

OS X 10.9


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to