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 toward the bottom of the mouse [i.e.  down]?)
>>
>> So, where 'wheel' indicates a standard scrollwheel or the
>> supermouse-like trackball:
>>
>> <MouseScrollUp>  (Same as <MouseDown>) (pressing up on 'wheel')
>> <MouseScrollDown>  (Same as <MouseUp>) (pressing down on 'wheel')
>> <MouseScrollLeft>                      (pressing left on 'wheel')
>> <MouseScrollRight>                     (pressing right on 'wheel')
>>
>> [probably too confusing, and too late, but just a thought]
>
> I don't think this is a bad idea.  Are there any objections?

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
actually scrolled down (this is the most intuitive way of thinking
about scrolling in my opinion).  Similarly, dragging my finger to the
LEFT on a laptop's trackpad scrolls the window to the left but the
columns are actually scrolled right.

It is still possible to use <MouseUp> as a synonym for
<ScrollWheelDown>, and to use <MouseDown> as a synonym for
<ScrollWheelUp>.  I've updated all the help docs to reflect these
changes.

Oh, and I realized that the GTK patch had the left/right mixed up due
to the previously weird behavior where up/down left/right were
inverted.  It should be right now (still nobody with a working
horizontal wheel/trackpad that is willing to test this?).

Björn

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Attachment: horz-scroll-wheel.tar.bz2
Description: BZip2 compressed data

Raspunde prin e-mail lui