2012/1/12 Charles Campbell <[email protected]>:
> [email protected] wrote:
>>
>> Status: New
>> Owner: ----
>> Labels: Type-Defect Priority-Medium
>>
>> New issue 47 by [email protected]: In Win32, mouse wheel do not scroll
>> the window under cursor
>> http://code.google.com/p/vim/issues/detail?id=47
>>
>> In a gVim for windows, when there are more than one windows in a gVim,
>> even more, if there are two or more vertical window in a gVim, scroll the
>> wheel only scroll the windows at last one in this row, not the one under
>> cursor or the one has input cursor.
>>
>> reproduce:
>>
>> 1. gvim -u NONE -U NONE
>> 2. :h<CR>
>> 3. :vert sp<CR>
>> 4. move input cursor to first window, and move mouse on the first window,
>> scroll the wheel, the text in second window scrolls.
>
> Hello,
>
> When I do your example, the text in the upper left window scrolls as I'd
> expect it to.  (there are three windows).
> This experiment was done with scientific linux, gvim 7.3.401, huge.  Perhaps
> its a windows-specific issue (I don't have a windows box to try it out on at
> the moment). (and yes, I do feel fortunate! :) )
>
> Regards,
> Chip Campbell
>
>
> --
> 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

Yes, It's works on my Ubuntu box as well, it is a windows-specific
issue. as the manual says:


6. Scrolling with a mouse wheel                         *scroll-mouse-wheel*

When your mouse has a scroll wheel, it should work with Vim in the GUI.  How
it works depends on your system.  It might also work in an xterm
|xterm-mouse-wheel|.  By default only vertical scroll wheels are supported,
but some GUIs also support horizontal scroll wheels.

For the Win32 GUI the scroll action is hard coded.  It works just like
dragging the scrollbar of the current window.  How many lines are scrolled
depends on your mouse driver.  If the scroll action causes input focus
problems, see |intellimouse-wheel-problems|.


So, unlucky :-(

Regards,
Xavier Wang.

-- 
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

Raspunde prin e-mail lui