mirror of
https://github.com/neovim/neovim.git
synced 2025-09-30 23:18:33 +00:00
vim-patch:8.1.0992: :normal resets reg_executing() result #11398
Problem: A :normal command while executing a register resets the
reg_executing() result.
Solution: Save and restore reg_executing. (closes vim/vim#4066)
cce713ddcc
This commit is contained in:

committed by
Justin M. Keyes

parent
e3b08a0fc4
commit
d79164c9f9
@@ -918,19 +918,19 @@ typedef struct w_line {
|
||||
* or row (FR_ROW) layout or is a leaf, which has a window.
|
||||
*/
|
||||
struct frame_S {
|
||||
char fr_layout; /* FR_LEAF, FR_COL or FR_ROW */
|
||||
char fr_layout; // FR_LEAF, FR_COL or FR_ROW
|
||||
int fr_width;
|
||||
int fr_newwidth; /* new width used in win_equal_rec() */
|
||||
int fr_newwidth; // new width used in win_equal_rec()
|
||||
int fr_height;
|
||||
int fr_newheight; /* new height used in win_equal_rec() */
|
||||
frame_T *fr_parent; /* containing frame or NULL */
|
||||
frame_T *fr_next; /* frame right or below in same parent, NULL
|
||||
for first */
|
||||
frame_T *fr_prev; /* frame left or above in same parent, NULL
|
||||
for last */
|
||||
/* fr_child and fr_win are mutually exclusive */
|
||||
frame_T *fr_child; /* first contained frame */
|
||||
win_T *fr_win; /* window that fills this frame */
|
||||
int fr_newheight; // new height used in win_equal_rec()
|
||||
frame_T *fr_parent; // containing frame or NULL
|
||||
frame_T *fr_next; // frame right or below in same parent, NULL
|
||||
// for last
|
||||
frame_T *fr_prev; // frame left or above in same parent, NULL
|
||||
// for first
|
||||
// fr_child and fr_win are mutually exclusive
|
||||
frame_T *fr_child; // first contained frame
|
||||
win_T *fr_win; // window that fills this frame
|
||||
};
|
||||
|
||||
#define FR_LEAF 0 /* frame is a leaf */
|
||||
|
Reference in New Issue
Block a user