view src/typemap @ 15738:56be1282994f v8.1.0876

patch 8.1.0876: completion match not displayed when popup menu is not shown commit https://github.com/vim/vim/commit/2a78b7c70471527d83adef6b147dbfb6c9f838f7 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Feb 5 20:12:06 2019 +0100 patch 8.1.0876: completion match not displayed when popup menu is not shown Problem: Completion match not displayed when popup menu is not shown. Solution: Call update_screen() when not displaying the popup menu to show the inserted match. (Ken Takata, Hirohito Higashi)
author Bram Moolenaar <Bram@vim.org>
date Tue, 05 Feb 2019 20:15: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}\")