view src/typemap @ 17041:5ed4965ebc7b v8.1.1520

patch 8.1.1520: popup windows are ignored when dealing with mouse position commit https://github.com/vim/vim/commit/451d4b5b7c7262631cd1f5057c75d6f5f5772fb1 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Jun 12 20:22:27 2019 +0200 patch 8.1.1520: popup windows are ignored when dealing with mouse position Problem: Popup windows are ignored when dealing with mouse position Solution: Find the mouse position inside a popup window. Allow for modeless selection.
author Bram Moolenaar <Bram@vim.org>
date Wed, 12 Jun 2019 20:30:07 +0200
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}\")