mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -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:
@@ -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
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user