• 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: Non-contiguous selections in NSTextView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Non-contiguous selections in NSTextView


  • Subject: Re: Non-contiguous selections in NSTextView
  • From: Fritz Anderson <email@hidden>
  • Date: Sun, 1 Aug 2004 12:11:32 -0500

NSTextView has only one, contiguous selection. You'd have to bone up on NSLayoutManager, NSTextContainer, NSTextStorage, etc., and make your own text view that knows about more.

-- F

On 1 Aug 2004, at 6:53 AM, Ivan Myrvold wrote:

Is it possible to have several non-contiguous selections in NSTextView?
How can I implement it? Using setSelectedRange: method in NSTextView
always clears out the previous selection.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >Non-contiguous selections in NSTextView (From: Ivan Myrvold <email@hidden>)

  • Prev by Date: Re: Getting NSWindow's focused NSTextField
  • Next by Date: Categories and adding instance variables
  • Previous by thread: Non-contiguous selections in NSTextView
  • Next by thread: Document-based Bindings and an Inspector window
  • Index(es):
    • Date
    • Thread