• 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
Re: Programmatically inserting text into NSTextView and scrolling
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Programmatically inserting text into NSTextView and scrolling


  • Subject: Re: Programmatically inserting text into NSTextView and scrolling
  • From: Jason Coco <email@hidden>
  • Date: Sun, 21 Sep 2008 22:38:16 -0400


On Sep 21, 2008, at 22:03 , Rick Mann wrote:

Thanks!

You're welcome :)

On Sep 21, 2008, at 18:32:58, Jason Coco wrote:

You would have to track whether or not the text view is at the end. I suggest looking at the documentation for NSTextView as well as the Scroll View Programming Guide:

Well, I was looking all through the NSTextView docs, and couldn't find anything on scrolling. I always forget to look at the inherited docs.


Javadocs manage to at least list all the methods that are inherited, so you know there's something to go look for.

If you look at the top of the reference document, you will see a small table. The first row is the list of object references that the object inherits from. Clicking on
any of these will take you to the reference for that superclass. The second row lists all the protocols that the object conforms to so you can see which methods
are implemented due to those protocols. The rest of the table shows you which framework the object is defined in, which header file defines it and lists other
guides of interest related to the object.


J

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Programmatically inserting text into NSTextView and scrolling
      • From: Rick Mann <email@hidden>
References: 
 >Programmatically inserting text into NSTextView and scrolling (From: Rick Mann <email@hidden>)
 >Re: Programmatically inserting text into NSTextView and scrolling (From: Jason Coco <email@hidden>)
 >Re: Programmatically inserting text into NSTextView and scrolling (From: Rick Mann <email@hidden>)

  • Prev by Date: Re: NSScroller will be visible even it is below other view in 10.4
  • Next by Date: Re: NsPredicateEditor
  • Previous by thread: Re: Programmatically inserting text into NSTextView and scrolling
  • Next by thread: Re: Programmatically inserting text into NSTextView and scrolling
  • Index(es):
    • Date
    • Thread