• 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: NSTextView selectionAffinity - what's it for?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTextView selectionAffinity - what's it for?


  • Subject: Re: NSTextView selectionAffinity - what's it for?
  • From: Douglas Davidson <email@hidden>
  • Date: Wed, 02 Feb 2005 13:58:23 -0800

On 2005-02-02 09:31:25 -0800 John C. Warner <email@hidden> wrote:

Could someone help me understand what NSTextView's selectionAffinity is for?

It's a bit of a subtle point. When a piece of text is broken into two lines, then the insertion point between the last character of the first line and the first character of the second line actually has two possible display positions--either at the end of the first line, or at the beginning of the second. The selection affinity controls which one will actually be used.


Douglas Davidson

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >NSTextView selectionAffinity - what's it for? (From: "John C. Warner" <email@hidden>)

  • Prev by Date: Re: PrefPane contents not being displayed
  • Next by Date: Re: Question regarding NSTableView
  • Previous by thread: NSTextView selectionAffinity - what's it for?
  • Next by thread: Re: I love Cocoa, but...
  • Index(es):
    • Date
    • Thread