On Aug 16, 2016, at 9:31 PM, David Young <dyo...@pobox.com> wrote:
> 
> I'm trying to draw my own NSTextView cursor.  I expect that for each
> pulse of the cursor, drawInsertionPointInRect(_:color:turnedOn:) will be
> called twice, once with turnedOn == true and, shortly afterward, again
> with turnedOn == false.
> 
> Instead, my method overriding drawInsertionPointInRect is called once
> per pulse.  Each time it is called, turnedOn is true.  […]

What happens when you switch away from your app or even from the window with 
your text view?  Do you get a call with turnedOn being false then?

Regards,
Ken


_______________________________________________

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