mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.2.1942: insufficient test coverage for the Netbeans interface
Problem: Insufficient test coverage for the Netbeans interface. Solution: Add more tests. Fix an uncovered bug. (Yegappan Lakshmanan, closes #7240)
This commit is contained in:
@@ -2929,10 +2929,12 @@ mouse_comp_pos(
|
||||
|
||||
// skip line number and fold column in front of the line
|
||||
col -= win_col_off(win);
|
||||
if (col < 0)
|
||||
if (col <= 0)
|
||||
{
|
||||
#ifdef FEAT_NETBEANS_INTG
|
||||
netbeans_gutter_click(lnum);
|
||||
// if mouse is clicked on the gutter, then inform the netbeans server
|
||||
if (*colp < win_col_off(win))
|
||||
netbeans_gutter_click(lnum);
|
||||
#endif
|
||||
col = 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user