Skip navigation.
 
mlGetting visible characters in horizontally scrolling nstextview
FROM : sarven
DATE : Sat Jul 08 00:06:33 2006

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

Related mailsAuthorDate
No related mails found.