Has anyone gotten this example to work in Leopard?
http://developer.apple.com/documentation/Cocoa/Conceptual/NSScrollViewGuide/Articles/SynchroScroll.html
I just tried it and I'm having terrible luck. The view is just blanking 
itself out immediately. I can get it to sort-of work if I replace 
-scrollToPoint: with calling -scrollRectToVisible: on the document, but 
it seems to screw up sometimes and go to the wrong location. It's really 
weird.
My use case is fairly simple—I just want line numbers to the left of a 
text view—and the code is basically unchanged (although I've tried 
tweaking it a few times, with mixed results, never 100% working).
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to