| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
Yann Bizeul • yann at tynsoe.org Cocoa Developer
Tynsoe Projects BuddyPop • GeekTool • SSH Tunnel Manager • ... http://projects.tynsoe.org/
Le 29 sept. 05 à 20:52, Joseph Kelly a écrit :
Greetings,
I am trying to implement a console-like display with scrolling behavior similar to Xcode's debug console and build windows: i.e. as text gets added to the view, and we are already at the end, it scrolls the new text into view, otherwise it just stays in the same place.
In other frameworks this is done something like:
bool atEnd = scroller->AtEnd() textView->Append(newText) if (atEnd) scroller->ScrollEndIntoView()
I see no correlate in Cocoa.
I'm using an NSTextView.
Any ideas?
Sincerely,
joe k.
_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/email@hidden
This email sent to email@hidden
_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/email@hidden
| References: | |
| >How to scroll a text view (From: Joseph Kelly <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.