15499Re: virtualedit cursor movement and 'x' bug
- Oct 2, 2000Matthias Kramm wrote:
> This would mean we hunk some code where x is translated into dl, because thisWhat should "x" really do in virtual-edit mode? Nothing, probably.
> is the reason of failure when x get's pressed in virtual-mode at the end of
> a line: d? deletes text of the motion ?, which is zero here (only coladd
> get's modified) Something like
> if(ve-is-on and end-of-line) then
> don't translate x into dl but into... [?]
Doesn't the problem exist because coladvance_force() adds spaces, even though
we don't need them, since nothing is going to be deleted? Perhaps the spaces
should not be added when the operator is a no-op (or will fail).
hundred-and-one symptoms of being an internet addict:
133. You communicate with people on other continents more than you
do with your own neighbors.
/// Bram Moolenaar Bram@... http://www.moolenaar.net \\\
\\\ Vim: http://www.vim.org ICCF Holland: http://iccf-holland.org ///
- << Previous post in topic Next post in topic >>