In article <1g2qcdj.10ipgveio9xxsN%it>,
it (Wezzy) wrote:
This one had be curious, since I still think I have much to learn about
*View's. I couldn't find any class which had a autoscroll property (as
the old OS 9 TextEdit did), so I started a fresh Cocoa app. I dropped a
single NSTextView from the palette onto the window. Without writing any
code, I ran the program. I could type into the text view (which is what
I assume you mean by 'digit some text') and lo' and behold - when I got
to the bottom of the view the scroller enabled and scrolled to show
where I was up to.
Not sure if that will help you too much, but I thought it might be
useful to know that you don't actually have to do anything by default.
Might let you know to look for something already in your code, not
something to add.
Incidentally, I have an application which manually fills a text view
with a bunch of text and then deliberately scrolls it to the end each
time. Probably not what you need, but I could find the code for that.
| *Nothing is foolproof to a sufficiently talented fool* |
| _\|/_ |