[PATCH] Hgk - add scroll by mouse wheel

Patrick Mézard pmezard at gmail.com
Sun Jul 22 09:30:03 CDT 2007


Andrei Vermel a écrit :
>> On MacOSX it works only in the diff and file panels. Scroll speed is OK.
> Don't have a mac at hand, so can't do anything.

Two rather different patches were pushed instead in crew (b43db44cd047 
and 713426631adf).

Code to synchronize changesets/author/date panels was already there but 
the bindings were activated for Unix-style mouse wheel events. Plugging 
MacOSX ones was easy. But Windows ones were missing. I ended up 
including Tcl Tip 171 like patch to provide a similar event support 
under Windows, and keeping the same logic.

Thank you starting the resolution of this !

BTW, if you have any idea about how to make the diff text 
selectable/copyable... I have found numerous solutions but most of them 
seem to fail under Windows.


More information about the Mercurial-devel mailing list