Thanks.  That actually worked, at least for standard background drawing.  I
thought I had my custom attribute working, but I was mistaken.  More work to
do on that.  fillBackgroundRectArray:count:forCharacterRange:color: , which
I use for my custom selection highlighting, only gets called for selection
highlighting or if there is a standard background (or markedText) attribute.
I¹m not sure how to get it called for drawing using my custom attribute.


On 7/24/13 5:08 PM, "Quincey Morris" <quinceymor...@rivergatesoftware.com>
wrote:

> On Jul 24, 2013, at 14:53 , Gordon Apple <g...@ed4u.com> wrote:
> 
>> I need the mouseUp (selection ended)
> 
> Why not use the delegate method for detecting a selection change
> (textViewDidChangeSelection) and, using state you save when a pen swipe
> starts, change the attributes on the new selection if the selection change is
> due to a pen swipe.
> 
> 


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to