SynchroScrollView
SynchroScrollView
- Subject: SynchroScrollView
- From: John Stiles <email@hidden>
- Date: Mon, 21 Apr 2008 16:36:50 -0700
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 (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