Re: Patch to support horizontal mouse wheel

2010-07-22 Fir de Conversatie Tom Sorensen
On Jul 20, 2010, at 3:58 PM, björn bjorn.winck...@gmail.com wrote: Bram: could you indicate if there is any chance this is making it for 7.3 (or at all)? It seems this feature would mostly be used by Mac users (since all Macs have horizontal scrolling abilities) and a few users have asked

Re: Patch to support horizontal mouse wheel

2010-07-21 Fir de Conversatie Bram Moolenaar
Björn wrote: Ok, here is the updated patch. I've renamed the keys as follows: ScrollWheelUp ScrollWheelDown ScrollWheelLeft ScrollWheelRight These all scroll the _window_ in the direction indicated. So if I push UP on my scroll wheel, the window moves up but the lines are

Re: Patch to support horizontal mouse wheel

2010-07-21 Fir de Conversatie björn
On 21 July 2010 21:36, Bram Moolenaar wrote: Björn wrote: Bram: could you indicate if there is any chance this is making it for 7.3 (or at all)?  It seems this feature would mostly be used by Mac users (since all Macs have horizontal scrolling abilities) and a few users have asked for this

Re: Patch to support horizontal mouse wheel

2010-07-20 Fir de Conversatie björn
On 19 July 2010 15:45, Benjamin R. Haskell wrote: On Sun, 18 Jul 2010, björn wrote: Ok, here is the updated patch.  I've renamed the keys as follows: ScrollWheelUp ScrollWheelDown ScrollWheelLeft ScrollWheelRight These all scroll the _window_ in the direction indicated.  So if I push UP

Re: Patch to support horizontal mouse wheel

2010-07-20 Fir de Conversatie Bram Moolenaar
Björn wrote: Ok, here is the updated patch. I've renamed the keys as follows: ScrollWheelUp ScrollWheelDown ScrollWheelLeft ScrollWheelRight These all scroll the _window_ in the direction indicated. So if I push UP on my scroll wheel, the window moves up but the lines are

Re: Patch to support horizontal mouse wheel

2010-07-19 Fir de Conversatie Benjamin R. Haskell
On Sun, 18 Jul 2010, björn wrote: On 16 July 2010 21:03, björn wrote: On 16 July 2010 14:52, Benjamin R. Haskell wrote: On Fri, 16 Jul 2010, björn wrote: As long as you're adding MouseScroll{Left,Right,Up,Down}, would this be a good time to reverse the naming?  (The oddity that

Re: Patch to support horizontal mouse wheel

2010-07-18 Fir de Conversatie björn
On 16 July 2010 21:03, björn wrote: On 16 July 2010 14:52, Benjamin R. Haskell wrote: On Fri, 16 Jul 2010, björn wrote: As long as you're adding MouseScroll{Left,Right,Up,Down}, would this be a good time to reverse the naming?  (The oddity that MouseUp indicates pushing the scrollwheel

Re: Patch to support horizontal mouse wheel

2010-07-16 Fir de Conversatie björn
On 16 July 2010 06:27, Christian J. Robinson wrote: On Wed, Jun 30, 2010 at 12:21 PM, björn wrote: I agree that MouseUp is also confusing but unfortunately that can't be changed since it will break backward compatibility (it is possible to bind to MouseUp).  Using MouseScrollLeft but then

Re: Patch to support horizontal mouse wheel

2010-07-16 Fir de Conversatie björn
On 16 July 2010 14:52, Benjamin R. Haskell wrote: On Fri, 16 Jul 2010, björn wrote: As long as you're adding MouseScroll{Left,Right,Up,Down}, would this be a good time to reverse the naming?  (The oddity that MouseUp indicates pushing the scrollwheel toward the bottom of the mouse [i.e.  

Re: Patch to support horizontal mouse wheel

2010-07-16 Fir de Conversatie Benjamin R. Haskell
On Fri, 16 Jul 2010, björn wrote: On 16 July 2010 14:52, Benjamin R. Haskell wrote: On Fri, 16 Jul 2010, björn wrote: As long as you're adding MouseScroll{Left,Right,Up,Down}, would this be a good time to reverse the naming?  (The oddity that MouseUp indicates pushing the scrollwheel

Patch to support horizontal mouse wheel

2010-06-30 Fir de Conversatie björn
Hi, Attached is a patch to add horizontal mouse wheel support. It may look like a big patch, but the only real change is inside gui.c/normal.c/edit.c (and it is quite minor, I had to modify some horizontal scrollbar code and that's about it). It applies to the latest vim73 changeset as of today

Re: Patch to support horizontal mouse wheel

2010-06-30 Fir de Conversatie björn
On 30 June 2010 19:53, Jordan Lewis wrote: On Wed, Jun 30, 2010 at 12:43 PM, björn wrote: ... One comment regarding the code: since vertical movement uses MouseUp and MouseDown I named the horizontal keys MouseLeft and MouseRight but I realize that this can be kind of confusing since e.g.