Re: Rounded selection rectangles in NSTextView (was: NSBezierPath geometry question...)
Re: Rounded selection rectangles in NSTextView (was: NSBezierPath geometry question...)
- Subject: Re: Rounded selection rectangles in NSTextView (was: NSBezierPath geometry question...)
- From: Keith Blount <email@hidden>
- Date: Wed, 13 Apr 2005 13:23:17 -0700 (PDT)
- Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
Many thanks for this - *really* appreciated. It is
looking very good.
The corner rounding is looking much more even, though
there is still a problem where the top corners look
square if there is only one letter highlighted (see
the floating "d" and "v" in the last two paragraphs. I
am looking through now trying to figure out why this
might be...
> The other thing I
> want to do is optimize the
> setNeedsDisplayInRect:avoidAdditionalLayout:
> method, because at the moment it's redrawing the
> entire text view very
> often.
I'm not really sure what to do about this. I overrode
setNeedsDisplayInRect: so that it always redraws the
visible rect, because otherwise it will only redraw
text below the current edited range, which can lead to
drawing glitches if the editing causes a resize in one
of the highlight bubbles...
Many thanks again,
Keith
__________________________________
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden