view src/typemap @ 28201:bdd6df4832ba v8.2.4626

patch 8.2.4626: Visual area not updated when removing sign in Visual mode Commit: https://github.com/vim/vim/commit/abb6fbd14d985b9b36a4e336d6edaf9853888ac1 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Mar 25 15:42:27 2022 +0000 patch 8.2.4626: Visual area not updated when removing sign in Visual mode Problem: Visual area not fully updated when removing sign in Visual mode while scrolling. Solution: Adjust check for topline. (closes #10017)
author Bram Moolenaar <Bram@vim.org>
date Fri, 25 Mar 2022 16:45: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}\")