Getting visible characters in horizontally scrolling nstextview
Getting visible characters in horizontally scrolling nstextview
- Subject: Getting visible characters in horizontally scrolling nstextview
- From: email@hidden
- Date: Fri, 07 Jul 2006 22:06:33 +0000
Hi,
I have an NSTextView which displays 3 lines of text. The text is layed out horizontally and the NSTextView does not scroll vertically. I need to know what part of the text is being displayed after scrolling. In particular, I need to know what portion of the 3rd line is being displayed i.e. is in the visibleRect. I have seen the code to do this for vertically scrolling textviews but can't figure out how to do this for horizontal scrolling.
Thanks in advance
Sarven
_______________________________________________
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