- Rain Dog wrote:
> Attached is a patch to gui_mac.c (current CVS version) that addresses[patch snipped]
> two issues with scroll bars. First, it fixes a bug (a null pointer
> dereference) that can crash Vim when a horizontal scroll bar is used.
> Second, for Carbon builds of Vim, it enables "live scrolling", so that
> your document scrolls as you drag the thumb in the scroll bar.
> I've tested this patch with Vim for OSX 10.2.2 only, but I wouldn't
> expect it to cause problems for any other version. (Live scrolling
> doesn't actually require Carbon, only the Appearance Manager, which
> dates back to OS8.)
This works for me on OSX 10.2.3. I will post the patch and an
updated binary soon. TODO: I have not yet tried to reproduce the crash.