Re: selection stays in NSTextView
site_archiver@lists.apple.com Delivered-To: cocoa-dev@lists.apple.com Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:in-reply-to:references:mime-version:content-type:message-id:cc:content-transfer-encoding:from:subject:date:to:x-mailer; b=bHaVRNxysal0cbNg32IQrrpi1Y5VsZWSuwFyZoXTGlLBl20t8tQndFVyjdFSvGnW8evSjXR2c7x5EfrknPnQNVy5uDCZD8rmCsCslkJCJv64kxtq9XIfIkrvmXvekLXFe0aQYbfRmoSJbtH3zRRu6jfL/SCRzmNfQo/s2mQNzHs= -- I.S. On Dec 30, 2006, at 12:43 PM, Matt Neuburg wrote: -- matt neuburg, phd = matt@tidbits.com, <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 (Cocoa-dev@lists.apple.com) Do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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/site_archiver%40lists.apple... 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. 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. Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/idiotsavant2005% 40gmail.com This email sent to idiotsavant2005@gmail.com This email sent to site_archiver@lists.apple.com
participants (1)
-
I. Savant