view src/typemap @ 30029:d03ee646c9ec v9.0.0352

patch 9.0.0352: using :echowindow in a timer clears part of message Commit: https://github.com/vim/vim/commit/3b474dcd30ea188124f5ad766f5096f9a0cef895 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Sep 1 17:01:32 2022 +0100 patch 9.0.0352: using :echowindow in a timer clears part of message Problem: using :echowindow in a timer clears part of message Solution: Do not use msg_clr_eos().
author Bram Moolenaar <Bram@vim.org>
date Thu, 01 Sep 2022 18: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}\")