view src/typemap @ 17155:da2bb80cd838 v8.1.1577

patch 8.1.1577: command line redrawn for +arabic without Arabic characters commit https://github.com/vim/vim/commit/693f7dc818bc116e997aff5ba8ebc2d555aa41dc Author: Bram Moolenaar <Bram@vim.org> Date: Fri Jun 21 02:30:38 2019 +0200 patch 8.1.1577: command line redrawn for +arabic without Arabic characters Problem: Command line redrawn for +arabic without Arabic characters. (Dominique Pelle) Solution: Check if there actually are any Arabic characters. Do redraw after displaying incsearch. (closes #4569)
author Bram Moolenaar <Bram@vim.org>
date Fri, 21 Jun 2019 02:45: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}\")