Re: selection stays in NSTextView
Re: selection stays in NSTextView
- Subject: Re: selection stays in NSTextView
- From: "I. Savant" <email@hidden>
- Date: Mon, 1 Jan 2007 09:17:55 -0500
Seems perfectly reasonable to me; a text view should not change
its selection just because it no longer has focus. That would be
quite annoying.
The -textViewDidChangeSelection: delegate method seems a good
place to customize this behavior, though.
--
I.S.
On Dec 30, 2006, at 12:43 PM, Matt Neuburg wrote:
If I have two NSTextViews in a window and I select in one of them
and then
in the other, the selection in the first remains (so now there is a
selection in both). This appears to be standard behavior. Does this
disturb
anyone else besides me, and is there a simple way of preventing it?
I think
I want to treat these NSTextViews more like NSTextFields where only
one is
being edited at a time (but unfortunately, because of how bindings
work, I
can't actually have them *be* NSTextFields). m.
--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
<http://www.amazon.com/gp/product/0596102119>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
40gmail.com
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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