Getting the visible glyph range
Getting the visible glyph range
- Subject: Getting the visible glyph range
- From: Nick Zitzmann <email@hidden>
- Date: Fri, 10 Dec 2004 16:11:36 -0700
I have an NSTextView subclass. In this subclass I need to get the range
of glyphs that are visible on the screen. How do I do this?
I already checked the archives, and one solution,
<http://www.cocoabuilder.com/archive/message/2002/2/18/14388>, did not
work. For some reason, -glyphRangeForBoundingRect:inTextContainer: is
returning the range for _all_ of the glyphs in the text container
instead of just the glyphs in the bounding rect. How do I get the range
of all of the glyphs in the bounding rect?
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
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