mirror of
https://github.com/vim/vim.git
synced 2025-09-27 04:14:06 -04:00
patch 8.2.4018: ml_get error when win_execute redraws with Visual selection
Problem: ml_get error when win_execute redraws with Visual selection. Solution: Disable Visual area temporarily. (closes #9479)
This commit is contained in:
@@ -4507,3 +4507,10 @@ typedef enum {
|
||||
FILTERMAP_MAPNEW
|
||||
} filtermap_T;
|
||||
|
||||
// Structure used by switch_win() to pass values to restore_win()
|
||||
typedef struct {
|
||||
win_T *sw_curwin;
|
||||
tabpage_T *sw_curtab;
|
||||
int sw_same_win; // VIsual_active was not reset
|
||||
int sw_visual_active;
|
||||
} switchwin_T;
|
||||
|
Reference in New Issue
Block a user