Re: odd drawInsertionPointInRect behavior
Re: odd drawInsertionPointInRect behavior
- Subject: Re: odd drawInsertionPointInRect behavior
- From: Ken Thomases <email@hidden>
- Date: Fri, 19 Aug 2016 14:10:50 -0500
On Aug 16, 2016, at 9:31 PM, David Young <email@hidden> 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 (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