view src/typemap @ 28980:42e3dfd5b2d6 v8.2.5012

patch 8.2.5012: cannot select one character inside () Commit: https://github.com/vim/vim/commit/53737b5eeeab1f95964f78b055d6094fab559533 Author: LemonBoy <thatlemon@gmail.com> Date: Tue May 24 11:49:31 2022 +0100 patch 8.2.5012: cannot select one character inside () Problem: Cannot select one character inside (). Solution: Do not try to extend the area if it is empty. (closes https://github.com/vim/vim/issues/10472, closes #6616)
author Bram Moolenaar <Bram@vim.org>
date Tue, 24 May 2022 13: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}\")