• 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's MarkedText
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTextView's MarkedText


  • Subject: Re: NSTextView's MarkedText
  • From: Gordon Apple <email@hidden>
  • Date: Tue, 23 Jul 2013 09:55:38 -0500
  • Thread-topic: NSTextView's MarkedText

Ok, so that¹s out.  I could create a custom attribute which would work as I
described, but I¹m not clear on what NSLayoutManager background method(s) I
would need to override to implement this.


On 7/22/13 7:30 PM, "Ken Thomases" <email@hidden> wrote:

> I don't think you should attempt to use marked text for this purpose.
>
> Your code would not normally control which text is marked.  This is normally
> controlled by Cocoa and/or the input method.  The text view implements the
> methods of the NSTextInputClient protocol and through those methods, the
> framework tells it which text should be marked and when the marking should be
> cleared.
>
> Regards,
> Ken


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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


  • Follow-Ups:
    • Re: NSTextView's MarkedText
      • From: Fritz Anderson <email@hidden>
References: 
 >Re: NSTextView's MarkedText (From: Ken Thomases <email@hidden>)

  • Prev by Date: Re: developer.apple.com under maintenance for a few days now?
  • Next by Date: Re: NSOutlineViews and Mountain Lion
  • Previous by thread: Re: NSTextView's MarkedText
  • Next by thread: Re: NSTextView's MarkedText
  • Index(es):
    • Date
    • Thread