comparison src/if_py_both.h @ 14047:30a0068f6167 v8.1.0041

patch 8.1.0041: attribute "width" missing from python window attribute list commit https://github.com/vim/vim/commit/e950f9992b291a07e4fb41cb561156f5b382cd5d Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jun 10 13:55:55 2018 +0200 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.
author Christian Brabandt <cb@256bit.org>
date Sun, 10 Jun 2018 14:00:07 +0200
parents 76a65058766f
children f761a55a8aed
comparison
equal deleted inserted replaced
14046:3ac575aaff49 14047:30a0068f6167
3834 return tabObject->tab->tp_firstwin; 3834 return tabObject->tab->tp_firstwin;
3835 } 3835 }
3836 else 3836 else
3837 return firstwin; 3837 return firstwin;
3838 } 3838 }
3839
3840 // Use the same order as in the WindowAttr() function.
3839 static char *WindowAttrs[] = { 3841 static char *WindowAttrs[] = {
3840 "buffer", "cursor", "height", "vars", "options", "number", "row", "col", 3842 "buffer",
3841 "tabpage", "valid", 3843 "cursor",
3844 "height",
3845 "row",
3846 "width",
3847 "col",
3848 "vars",
3849 "options",
3850 "number",
3851 "tabpage",
3852 "valid",
3842 NULL 3853 NULL
3843 }; 3854 };
3844 3855
3845 static PyObject * 3856 static PyObject *
3846 WindowDir(PyObject *self) 3857 WindowDir(PyObject *self)