view src/typemap @ 30491:729e2305f4b2 v9.0.0581

patch 9.0.0581: adding a character for incsearch fails at end of line Commit: https://github.com/vim/vim/commit/d4566c14e71c55dcef05fb34ea94eba835831527 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Sep 24 21:06:39 2022 +0100 patch 9.0.0581: adding a character for incsearch fails at end of line Problem: Adding a character for incsearch fails at end of line. Solution: Only check cursor line number.
author Bram Moolenaar <Bram@vim.org>
date Sat, 24 Sep 2022 22:15:03 +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}\")