vim-patch:7.4.1557 (#5117)

Problem:    Windows cannot be identified.
Solution:   Add a unique window number to each window and functions to use it.

86edef664e
This commit is contained in:
prollings
2016-08-04 14:22:45 +10:00
committed by Justin M. Keyes
parent 08d11bd42f
commit 0d93cd6c46
7 changed files with 242 additions and 9 deletions

View File

@@ -937,8 +937,9 @@ struct matchitem {
*/
struct window_S {
uint64_t handle;
buf_T *w_buffer; /* buffer we are a window into (used
often, keep it the first item!) */
int w_id; ///< unique window ID
buf_T *w_buffer; ///< buffer we are a window into (used
///< often, keep it the first item!)
synblock_T *w_s; /* for :ownsyntax */