Hi, On Tue, Jun 30, 2020 at 12:33 PM Trygve Aaberge <[email protected]> wrote:
> *@trygveaa* commented on this pull request. > ------------------------------ > > In src/testdir/test_termcodes.vim > <https://github.com/vim/vim/pull/6363#discussion_r447930251>: > > > @@ -220,10 +221,23 @@ func Test_1xterm_mouse_wheel() > call MouseWheelUp(1, 1) > call assert_equal(1, line('w0'), msg) > call assert_equal([0, 7, 1, 0], getpos('.'), msg) > + > + call MouseWheelRight(1, 1) > > I wanted to test the window column position too here, like the asserts > above for mouse wheel up/down, but I didn't find any function to report the > current window column position. Is there any? > > > Depending on what you are checking for, you can use one of the following functions: col(), virtcol(), getpos(), getcurpos(), getmousepos(), screencol(), screenpos() and wincol() - Yegappan -- -- 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 --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/CAAW7x7mMzBaUmpkTPXm31gqRwhHFD8w4shdyXkc%3Dzfd960KyPw%40mail.gmail.com.
