Using - (void) textViewDidChangeSelection:(NSNotification *) inNotification instead. Works fine.

On Sep 14, 2009, at 11:53 PM, Iceberg-Dev wrote:

I'm currently trying to match braces in a text editor and intend to use selectionRangeForProposedRange:granularity: for that.

While I don't see any problem in finding the matching brace, I'm a bit surprised by the way this method is called repeatedly.

So far, I don't see a way to tell a double-click occurred and the mouse was release
_______________________________________________

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

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

Reply via email to