Mercurial > vim
view src/typemap @ 24192:dced82a0e5b2 v8.2.2637
patch 8.2.2637: prop_remove() causes a redraw even when nothing changed
Commit: https://github.com/vim/vim/commit/09f8b3a02200a1900a8bb41d7436f9d17ebd2d1b
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Mar 21 22:29:54 2021 +0100
patch 8.2.2637: prop_remove() causes a redraw even when nothing changed
Problem: prop_remove() causes a redraw even when nothing changed.
Solution: Only redraw if a property was removed.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 21 Mar 2021 22:30:03 +0100 |
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}\")