• 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
NSTextView Text Selectability
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTextView Text Selectability


  • Subject: NSTextView Text Selectability
  • From: Ronnie O <email@hidden>
  • Date: Mon, 4 Jul 2005 17:24:26 -0500

Is there anyway to limit the selectability of the text in a textView?
I want only text within a certain range to be selectable.  So if the
cursor drags over text, only certain text can be highlighted or
copied.  I was looking at trying it through the NSTextStorage with an
attribute in NSAttributedString but I didnt see any "selectability"
attributes.  I have a specific number of characters on each line of my
view, so I want to use this to make just every other line selectable.
Any options for this within the text, view or string classes?
 _______________________________________________
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

  • Follow-Ups:
    • Re: NSTextView Text Selectability
      • From: glenn andreas <email@hidden>
  • Prev by Date: Re: Reading data from an NSTask
  • Next by Date: Cocoa Globe/ShapeFile Library?
  • Previous by thread: Re: Text Processing in NSTextView
  • Next by thread: Re: NSTextView Text Selectability
  • Index(es):
    • Date
    • Thread