Re: NSTextView's MarkedText
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