mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 8.1.0041: attribute "width" missing from python window attribute list
Problem: Attribute "width" missing from python window attribute list. Solution: Add the item. (Ken Takata) Order the list like the items are used in the WindowAttr() function.
This commit is contained in:
parent
e31e256ba1
commit
e950f9992b
@ -3836,9 +3836,20 @@ get_firstwin(TabPageObject *tabObject)
|
||||
else
|
||||
return firstwin;
|
||||
}
|
||||
|
||||
// Use the same order as in the WindowAttr() function.
|
||||
static char *WindowAttrs[] = {
|
||||
"buffer", "cursor", "height", "vars", "options", "number", "row", "col",
|
||||
"tabpage", "valid",
|
||||
"buffer",
|
||||
"cursor",
|
||||
"height",
|
||||
"row",
|
||||
"width",
|
||||
"col",
|
||||
"vars",
|
||||
"options",
|
||||
"number",
|
||||
"tabpage",
|
||||
"valid",
|
||||
NULL
|
||||
};
|
||||
|
||||
|
@ -443,7 +443,7 @@ vim.current.window:Window:True
|
||||
vim.current.tabpage:TabPage:True
|
||||
current:__dir__,__members__,buffer,line,range,tabpage,window
|
||||
buffer:__dir__,__members__,append,mark,name,number,options,range,valid,vars
|
||||
window:__dir__,__members__,buffer,col,cursor,height,number,options,row,tabpage,valid,vars
|
||||
window:__dir__,__members__,buffer,col,cursor,height,number,options,row,tabpage,valid,vars,width
|
||||
tabpage:__dir__,__members__,number,valid,vars,window,windows
|
||||
range:__dir__,__members__,append,end,start
|
||||
dictionary:__dir__,__members__,get,has_key,items,keys,locked,pop,popitem,scope,update,values
|
||||
|
@ -443,7 +443,7 @@ vim.current.window:Window:True
|
||||
vim.current.tabpage:TabPage:True
|
||||
current:__dir__,buffer,line,range,tabpage,window
|
||||
buffer:__dir__,append,mark,name,number,options,range,valid,vars
|
||||
window:__dir__,buffer,col,cursor,height,number,options,row,tabpage,valid,vars
|
||||
window:__dir__,buffer,col,cursor,height,number,options,row,tabpage,valid,vars,width
|
||||
tabpage:__dir__,number,valid,vars,window,windows
|
||||
range:__dir__,append,end,start
|
||||
dictionary:__dir__,get,has_key,items,keys,locked,pop,popitem,scope,update,values
|
||||
|
@ -761,6 +761,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
41,
|
||||
/**/
|
||||
40,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user