view src/typemap @ 26044:2e8226c03007 v8.2.3556

patch 8.2.3556: filler lines are incorrect for other window in diff mode Commit: https://github.com/vim/vim/commit/841c225b9ef8c5bdf5e02968a0bd62521fff6ca8 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Oct 22 20:56:55 2021 +0100 patch 8.2.3556: filler lines are incorrect for other window in diff mode Problem: Filler lines are incorrect for other window in diff mode after making a change. Solution: Copy filler lines from the current window. (closes #8809)
author Bram Moolenaar <Bram@vim.org>
date Fri, 22 Oct 2021 22:00:05 +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}\")