• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Getting visible characters in horizontally scrolling nstextview
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: Re: sendAction:to:from:
  • Next by Date: Re: Tables in TextView malformed after archiving and unarchiving
  • Previous by thread: Did [NSStream getStreamsToHost:...] change its behavior lately?
  • Next by thread: [MEET] July CocoaHeads meetings
  • Index(es):
    • Date
    • Thread