• 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
Re: selection stays in NSTextView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >selection stays in NSTextView (From: Matt Neuburg <email@hidden>)

  • Prev by Date: Re: How to NSTableView and NSArrayConroller
  • Next by Date: Re: How to NSTableView and NSArrayConroller
  • Previous by thread: selection stays in NSTextView
  • Next by thread: number formatters and bindings
  • Index(es):
    • Date
    • Thread