Re: Programmatically inserting text into NSTextView and scrolling
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