To place markers in my rulerview I'm using NSLayoutManager's
boundingRectForGlyphRange:actualCharacterRange: to get a rect of a
chunk of text that I can base my marker location off of. However
when I do programatic updates to my text storage and reset markers
the same function gives me rects that don't always account for some
newly wrapped lines. Has anyone run into anything like this? Or is
there a better way of getting the location of a range of characters
than using this method?
Thanks,
->Ben
--
Ben Lachman
Acacia Tree Software
http://acaciatreesoftware.com
[EMAIL PROTECTED]
740.590.0009
_______________________________________________
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]