Mercurial > vim
comparison src/proto/window.pro @ 16847:f8e28c6ae8ab v8.1.1425
patch 8.1.1425: win_execute() does not set window pointers properly
commit https://github.com/vim/vim/commit/89adc3a1371d211f7766f3dbc0975ecb2f862327
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu May 30 17:29:40 2019 +0200
patch 8.1.1425: win_execute() does not set window pointers properly
Problem: Win_execute() does not set window pointers properly.
Solution: Use switch_win_noblock(). Also execute autocommands in a popup
window.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 30 May 2019 17:30:06 +0200 |
parents | eda4d65f232c |
children | 221d4b82bc0b |
comparison
equal
deleted
inserted
replaced
16846:339949bc111a | 16847:f8e28c6ae8ab |
---|---|
75 void check_lnums(int do_curwin); | 75 void check_lnums(int do_curwin); |
76 void reset_lnums(void); | 76 void reset_lnums(void); |
77 void make_snapshot(int idx); | 77 void make_snapshot(int idx); |
78 void restore_snapshot(int idx, int close_curwin); | 78 void restore_snapshot(int idx, int close_curwin); |
79 int switch_win(win_T **save_curwin, tabpage_T **save_curtab, win_T *win, tabpage_T *tp, int no_display); | 79 int switch_win(win_T **save_curwin, tabpage_T **save_curtab, win_T *win, tabpage_T *tp, int no_display); |
80 int switch_win_noblock(win_T **save_curwin, tabpage_T **save_curtab, win_T *win, tabpage_T *tp, int no_display); | |
80 void restore_win(win_T *save_curwin, tabpage_T *save_curtab, int no_display); | 81 void restore_win(win_T *save_curwin, tabpage_T *save_curtab, int no_display); |
82 void restore_win_noblock(win_T *save_curwin, tabpage_T *save_curtab, int no_display); | |
81 void switch_buffer(bufref_T *save_curbuf, buf_T *buf); | 83 void switch_buffer(bufref_T *save_curbuf, buf_T *buf); |
82 void restore_buffer(bufref_T *save_curbuf); | 84 void restore_buffer(bufref_T *save_curbuf); |
83 int win_hasvertsplit(void); | 85 int win_hasvertsplit(void); |
84 int match_add(win_T *wp, char_u *grp, char_u *pat, int prio, int id, list_T *pos_list, char_u *conceal_char); | 86 int match_add(win_T *wp, char_u *grp, char_u *pat, int prio, int id, list_T *pos_list, char_u *conceal_char); |
85 int match_delete(win_T *wp, int id, int perr); | 87 int match_delete(win_T *wp, int id, int perr); |