Mercurial > vim
view src/typemap @ 10670:bce3eccea39a v8.0.0225
patch 8.0.0225: put in Visual block mode terminates early
commit https://github.com/vim/vim/commit/9957a10d0f0c34d8083af6ed66e198e4796038e0
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jan 23 21:53:53 2017 +0100
patch 8.0.0225: put in Visual block mode terminates early
Problem: When a block is visually selected and put is used on the end of
the selection only one line is changed.
Solution: Check for the end properly. (Christian Brabandt, neovim issue
5781)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 23 Jan 2017 22:00:04 +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}\")