view src/typemap @ 20421:8590a462ad46 v8.2.0765

patch 8.2.0765: In the GUI can't use all the modifiers. Commit: https://github.com/vim/vim/commit/fd615a3c901f59abddca27c6a09940be552c0f4d Author: Bram Moolenaar <Bram@vim.org> Date: Sat May 16 14:01:51 2020 +0200 patch 8.2.0765: In the GUI can't use all the modifiers. Problem: In the GUI can't use all the modifiers. (Andri M?ll) Solution: Do not apply Alt/Meta early, do it later like with the terminal. Avoid the Motif test from crashing.
author Bram Moolenaar <Bram@vim.org>
date Sat, 16 May 2020 14:15: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}\")