• 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
NSTextView offset of text at top of view
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTextView offset of text at top of view


  • Subject: NSTextView offset of text at top of view
  • From: Steve Palmer <email@hidden>
  • Date: Sun, 21 Mar 2004 15:44:14 -0800

This one has me baffled and I've tried experimenting and searching the archives to no avail, so I wonder if anybody on this list could help.

Given an NSTextView that has some text, I want to get the offset in the string in the textview which appears at the top of the view. The reason why is that I want to simulate paging down through the text in the textview using the spacebar and if the textview is at the last page, I want to detect that so I can load the textview with another message instead. So specifically I was looking for something like [NSText visibleRange] but that doesn't exist.

Any suggestions?
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Prev by Date: Re: Renaming a project destroys it?
  • Next by Date: Re: Should I even bother
  • Previous by thread: NSBeginAlertSheet noise
  • Next by thread: Re: NSTextView offset of text at top of view
  • Index(es):
    • Date
    • Thread