• 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
[SOLVED] Re: Matching braces and [NSTextView selectionRangeForProposedRange:granularity:];
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[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


  • Prev by Date: Re: Shutdown/Restart computer
  • Next by Date: Re: Menu item correct size
  • Previous by thread: Re: basic threading question: if parent thread completes
  • Next by thread: Bindings and C arrays
  • Index(es):
    • Date
    • Thread