Mercurial > vim
comparison src/structs.h @ 15973:393a9a3a2da2 v8.1.0992
patch 8.1.0992: a :normal command resets the reg_executing() result
commit https://github.com/vim/vim/commit/cce713ddcc0c9ab29926c28e287cbb587a959b08
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Mar 4 11:40:12 2019 +0100
patch 8.1.0992: a :normal command resets the reg_executing() result
Problem: A :normal command while executing a register resets the
reg_executing() result.
Solution: Save and restore reg_executing. (closes #4066)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 04 Mar 2019 11:45:07 +0100 |
parents | 7fad90423bd2 |
children | 570a296aa0b4 |
comparison
equal
deleted
inserted
replaced
15972:1b570dab3589 | 15973:393a9a3a2da2 |
---|---|
2623 * Windows are kept in a tree of frames. Each frame has a column (FR_COL) | 2623 * Windows are kept in a tree of frames. Each frame has a column (FR_COL) |
2624 * or row (FR_ROW) layout or is a leaf, which has a window. | 2624 * or row (FR_ROW) layout or is a leaf, which has a window. |
2625 */ | 2625 */ |
2626 struct frame_S | 2626 struct frame_S |
2627 { | 2627 { |
2628 char fr_layout; /* FR_LEAF, FR_COL or FR_ROW */ | 2628 char fr_layout; // FR_LEAF, FR_COL or FR_ROW |
2629 int fr_width; | 2629 int fr_width; |
2630 int fr_newwidth; /* new width used in win_equal_rec() */ | 2630 int fr_newwidth; // new width used in win_equal_rec() |
2631 int fr_height; | 2631 int fr_height; |
2632 int fr_newheight; /* new height used in win_equal_rec() */ | 2632 int fr_newheight; // new height used in win_equal_rec() |
2633 frame_T *fr_parent; /* containing frame or NULL */ | 2633 frame_T *fr_parent; // containing frame or NULL |
2634 frame_T *fr_next; /* frame right or below in same parent, NULL | 2634 frame_T *fr_next; // frame right or below in same parent, NULL |
2635 for first */ | 2635 // for last |
2636 frame_T *fr_prev; /* frame left or above in same parent, NULL | 2636 frame_T *fr_prev; // frame left or above in same parent, NULL |
2637 for last */ | 2637 // for first |
2638 /* fr_child and fr_win are mutually exclusive */ | 2638 // fr_child and fr_win are mutually exclusive |
2639 frame_T *fr_child; /* first contained frame */ | 2639 frame_T *fr_child; // first contained frame |
2640 win_T *fr_win; /* window that fills this frame */ | 2640 win_T *fr_win; // window that fills this frame |
2641 }; | 2641 }; |
2642 | 2642 |
2643 #define FR_LEAF 0 /* frame is a leaf */ | 2643 #define FR_LEAF 0 /* frame is a leaf */ |
2644 #define FR_ROW 1 /* frame with a row of windows */ | 2644 #define FR_ROW 1 /* frame with a row of windows */ |
2645 #define FR_COL 2 /* frame with a column of windows */ | 2645 #define FR_COL 2 /* frame with a column of windows */ |
3525 int save_msg_didout; | 3525 int save_msg_didout; |
3526 int save_State; | 3526 int save_State; |
3527 int save_insertmode; | 3527 int save_insertmode; |
3528 int save_finish_op; | 3528 int save_finish_op; |
3529 int save_opcount; | 3529 int save_opcount; |
3530 int save_reg_executing; | |
3530 tasave_T tabuf; | 3531 tasave_T tabuf; |
3531 } save_state_T; | 3532 } save_state_T; |
3532 | 3533 |
3533 typedef struct { | 3534 typedef struct { |
3534 varnumber_T vv_prevcount; | 3535 varnumber_T vv_prevcount; |