view src/typemap @ 18319:4cc8a1a134fc v8.1.2154

patch 8.1.2154: quickfix window height wrong when there is a tabline Commit: https://github.com/vim/vim/commit/1142a31b8c44c4e7dbf28a83ae52995113b37917 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Oct 16 14:51:39 2019 +0200 patch 8.1.2154: quickfix window height wrong when there is a tabline Problem: Quickfix window height wrong when there is a tabline. (Daniel Hahler) Solution: Take the tabline height into account. (closes #5058)
author Bram Moolenaar <Bram@vim.org>
date Wed, 16 Oct 2019 15:00:04 +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}\")