view src/typemap @ 11002:35d4975a5bb5 v8.0.0390

patch 8.0.0390: when the window scrolls the popup menu may be garbled commit https://github.com/vim/vim/commit/cb03642399ae4f3c47a006f608a6b912f9d98b5f Author: Bram Moolenaar <Bram@vim.org> Date: Wed Mar 1 12:29:10 2017 +0100 patch 8.0.0390: when the window scrolls the popup menu may be garbled Problem: When the window scrolls horizontally when the popup menu is displayed part of it may not be cleared. (Neovim issue https://github.com/vim/vim/issues/6184) Solution: Remove the menu when the windows scrolled. (closes #1524)
author Christian Brabandt <cb@256bit.org>
date Wed, 01 Mar 2017 12:30:03 +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}\")