mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
updated for version 7.2-203
This commit is contained in:
@@ -1621,6 +1621,14 @@ struct diffblock_S
|
||||
};
|
||||
#endif
|
||||
|
||||
#define SNAP_HELP_IDX 0
|
||||
#ifdef FEAT_AUTOCMD
|
||||
# define SNAP_AUCMD_IDX 1
|
||||
# define SNAP_COUNT 2
|
||||
#else
|
||||
# define SNAP_COUNT 1
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Tab pages point to the top frame of each tab page.
|
||||
* Note: Most values are NOT valid for the current tab page! Use "curwin",
|
||||
@@ -1649,7 +1657,7 @@ struct tabpage_S
|
||||
buf_T *(tp_diffbuf[DB_COUNT]);
|
||||
int tp_diff_invalid; /* list of diffs is outdated */
|
||||
#endif
|
||||
frame_T *tp_snapshot; /* window layout snapshot */
|
||||
frame_T *(tp_snapshot[SNAP_COUNT]); /* window layout snapshots */
|
||||
#ifdef FEAT_EVAL
|
||||
dictitem_T tp_winvar; /* variable for "t:" Dictionary */
|
||||
dict_T tp_vars; /* internal variables, local to tab page */
|
||||
@@ -2276,16 +2284,11 @@ typedef int vimmenu_T;
|
||||
*/
|
||||
typedef struct
|
||||
{
|
||||
buf_T *save_buf; /* saved curbuf */
|
||||
buf_T *save_curbuf; /* saved curbuf */
|
||||
#ifdef FEAT_AUTOCMD
|
||||
buf_T *new_curbuf; /* buffer to be used */
|
||||
win_T *save_curwin; /* saved curwin, NULL if it didn't change */
|
||||
win_T *new_curwin; /* new curwin if save_curwin != NULL */
|
||||
pos_T save_cursor; /* saved cursor pos of save_curwin */
|
||||
linenr_T save_topline; /* saved topline of save_curwin */
|
||||
# ifdef FEAT_DIFF
|
||||
int save_topfill; /* saved topfill of save_curwin */
|
||||
# endif
|
||||
win_T *save_curwin; /* saved curwin */
|
||||
win_T *new_curwin; /* new curwin */
|
||||
buf_T *new_curbuf; /* new curbuf */
|
||||
#endif
|
||||
} aco_save_T;
|
||||
|
||||
|
Reference in New Issue
Block a user