• 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
auto scrolling my text view
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

auto scrolling my text view


  • Subject: auto scrolling my text view
  • From: Paul FitzGerald <email@hidden>
  • Date: Mon, 01 Mar 2004 19:30:59 -0800

Long time Mac programmer.
Short time Cocoa programmer.
First time poster.
(like anyone cares)

I have a NSTextView sitting happily in a NSScrollView. I'm programmatically
displaying text in the text view and highlighting sections of the text
programmatically. What I need to happen is when I change the selected text
the selected text to scroll into view. I was hoping for an API call like
scrollSelectionIntoView but ... no.
What is the best approach to making this happen?

Paul FitzGerald
_______________________________________________
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.


  • Follow-Ups:
    • Re: auto scrolling my text view
      • From: Satoshi Matsumoto <email@hidden>
  • Prev by Date: Re: Is there a bug in #include operation?
  • Next by Date: Re: auto scrolling my text view
  • Previous by thread: Re: NSSpliteView in Xcode Help UI
  • Next by thread: Re: auto scrolling my text view
  • Index(es):
    • Date
    • Thread