Mercurial > vim
comparison src/proto/mouse.pro @ 18623:3089b422b9dc v8.1.2304
patch 8.1.2304: cannot get the mouse position when getting a mouse click
Commit: https://github.com/vim/vim/commit/db3a205147ce2c335d5c2181c1f789277f8775b0
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Nov 16 18:22:41 2019 +0100
patch 8.1.2304: cannot get the mouse position when getting a mouse click
Problem: Cannot get the mouse position when getting a mouse click.
Solution: Add getmousepos().
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 16 Nov 2019 18:30:04 +0100 |
parents | 0ec6521e9d80 |
children | 288565c9b4e0 |
comparison
equal
deleted
inserted
replaced
18622:5beb893fc3db | 18623:3089b422b9dc |
---|---|
15 void nv_mouse(cmdarg_T *cap); | 15 void nv_mouse(cmdarg_T *cap); |
16 int check_termcode_mouse(char_u *tp, int *slen, char_u *key_name, char_u *modifiers_start, int idx, int *modifiers); | 16 int check_termcode_mouse(char_u *tp, int *slen, char_u *key_name, char_u *modifiers_start, int idx, int *modifiers); |
17 int mouse_comp_pos(win_T *win, int *rowp, int *colp, linenr_T *lnump, int *plines_cache); | 17 int mouse_comp_pos(win_T *win, int *rowp, int *colp, linenr_T *lnump, int *plines_cache); |
18 win_T *mouse_find_win(int *rowp, int *colp, mouse_find_T popup); | 18 win_T *mouse_find_win(int *rowp, int *colp, mouse_find_T popup); |
19 int vcol2col(win_T *wp, linenr_T lnum, int vcol); | 19 int vcol2col(win_T *wp, linenr_T lnum, int vcol); |
20 void f_getmousepos(typval_T *argvars, typval_T *rettv); | |
20 /* vim: set ft=c : */ | 21 /* vim: set ft=c : */ |