[SOLVED] Re: Matching braces and [NSTextView selectionRangeForProposedRange:granularity:];
[SOLVED] Re: Matching braces and [NSTextView selectionRangeForProposedRange:granularity:];
- Subject: [SOLVED] Re: Matching braces and [NSTextView selectionRangeForProposedRange:granularity:];
- From: Iceberg-Dev <email@hidden>
- Date: Fri, 18 Sep 2009 01:35:02 +0200
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 (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