view src/typemap @ 13296:67345bc7fe31 v8.0.1522

patch 8.0.1522: popup menu is positioned in the wrong place commit https://github.com/vim/vim/commit/4287ed33ddc324d26dd05d3e19596dd74cf479d6 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Feb 17 20:35:29 2018 +0100 patch 8.0.1522: popup menu is positioned in the wrong place Problem: Popup menu is positioned in the wrong place. (Davit Samvelyan, Boris Staletic) Solution: Correct computation of the column and the conditions for that. (Hirohito Higashi, closes #2640)
author Christian Brabandt <cb@256bit.org>
date Sat, 17 Feb 2018 20:45:05 +0100
parents dec4338a7da2
children
line wrap: on
line source

TYPEMAP
VIWIN	T_VIOBJNOMUNGE
VIBUF	T_VIOBJNOMUNGE

INPUT
T_VIOBJNOMUNGE
	if (sv_isa($arg, \"${ntype}\")) {
	    IV tmp = SvIV((SV*)SvRV($arg));
	    $var = INT2PTR($type, tmp);
	    if (!tmp)
		croak(\"$ntype no longer exists\");
	}
	else
	    croak(\"$var is not of type ${ntype}\")