Re: SynchroScrollView

2008-04-21 Thread John Stiles
NM that last part, I found the plugin. For the archives, it's at http://brockerhoff.net/src/RBSplitView.ibplugin.zip Sorry, all, for the multiple replies-to-self here :) John Stiles wrote: Oh, there was a fourth problem actually. This doesn't work in all cases: NSRect changedBounds = [cha

Re: SynchroScrollView

2008-04-21 Thread John Stiles
Oh, there was a fourth problem actually. This doesn't work in all cases: NSRect changedBounds = [changedContentView bounds]; It should have been NSRect changedBounds = [changedContentView documentVisibleRect]; Also, I switched to RBSplitView to work around issue 3. Is there an IB3 plugin for

Re: SynchroScrollView

2008-04-21 Thread John Stiles
I found thee things which, in conjunction, solve the problem: 1 - Rewrite synchronizedViewContentBoundsDidChange as follows. -scrollToPoint seems broken. (I am clamping the scroll view to the left side on purpose) - (void)synchronizedViewContentBoundsDidChange:(NSNotification *)notification

SynchroScrollView

2008-04-21 Thread John Stiles
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 replac