diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-06-10 13:55:55 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-06-10 13:55:55 +0200 |
commit | e950f9992b291a07e4fb41cb561156f5b382cd5d (patch) | |
tree | 48dad4b4725b9409dccc2e0654f4fb70c9699553 /src/if_py_both.h | |
parent | e31e256ba1769a3a3ed7840d5cc9a01ab058b8bc (diff) | |
download | vim-git-e950f9992b291a07e4fb41cb561156f5b382cd5d.tar.gz |
patch 8.1.0041: attribute "width" missing from python window attribute listv8.1.0041
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.
Diffstat (limited to 'src/if_py_both.h')
-rw-r--r-- | src/if_py_both.h | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/src/if_py_both.h b/src/if_py_both.h index 247fc9a08..526cbd784 100644 --- a/src/if_py_both.h +++ b/src/if_py_both.h @@ -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 }; |