forked from aniani/vim
patch 9.0.0886: horizontal mouse scroll only works in the GUI
Problem: Horizontal mouse scroll only works in the GUI.
Solution: Make horizontal mouse scroll also work in a terminal.
(Christopher Plewright, closes #11448)
This commit is contained in:
committed by
Bram Moolenaar
parent
b53a190e9f
commit
44c2209352
@@ -45,7 +45,6 @@ void gui_drag_scrollbar(scrollbar_T *sb, long value, int still_dragging);
|
||||
void gui_may_update_scrollbars(void);
|
||||
void gui_update_scrollbars(int force);
|
||||
int gui_do_scroll(void);
|
||||
int gui_do_horiz_scroll(long_u leftcol, int compute_longest_lnum);
|
||||
void gui_check_colors(void);
|
||||
guicolor_T gui_get_color(char_u *name);
|
||||
int gui_get_lightness(guicolor_T pixel);
|
||||
|
||||
@@ -14,6 +14,8 @@ int mouse_has(int c);
|
||||
int mouse_model_popup(void);
|
||||
void reset_dragwin(void);
|
||||
int jump_to_mouse(int flags, int *inclusive, int which_button);
|
||||
int do_mousescroll_horiz(long_u leftcol);
|
||||
void do_mousescroll(int mode, cmdarg_T *cap);
|
||||
void nv_mousescroll(cmdarg_T *cap);
|
||||
void nv_mouse(cmdarg_T *cap);
|
||||
void reset_held_button(void);
|
||||
|
||||
@@ -30,6 +30,8 @@ void ui_cursor_shape_forced(int forced);
|
||||
void ui_cursor_shape(void);
|
||||
int check_col(int col);
|
||||
int check_row(int row);
|
||||
long scroll_line_len(linenr_T lnum);
|
||||
linenr_T ui_find_longest_lnum(void);
|
||||
void ui_focus_change(int in_focus);
|
||||
void im_save_status(long *psave);
|
||||
/* vim: set ft=c : */
|
||||
|
||||
Reference in New Issue
Block a user