Mercurial > vim
comparison src/normal.c @ 5365:22dfcd1494e4 v7.4.034
updated for version 7.4.034
Problem: Using "p" in Visual block mode only changes the first line.
Solution: Repeat the put in all text in the block. (Christian Brabandt)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sun, 22 Sep 2013 15:23:44 +0200 |
parents | c28202427d71 |
children | 6daa78b6b99a |
comparison
equal
deleted
inserted
replaced
5364:31cdaf292bbb | 5365:22dfcd1494e4 |
---|---|
9516 || (VIsual_mode == 'V' | 9516 || (VIsual_mode == 'V' |
9517 && curwin->w_cursor.lnum < curbuf->b_op_start.lnum)) | 9517 && curwin->w_cursor.lnum < curbuf->b_op_start.lnum)) |
9518 /* cursor is at the end of the line or end of file, put | 9518 /* cursor is at the end of the line or end of file, put |
9519 * forward. */ | 9519 * forward. */ |
9520 dir = FORWARD; | 9520 dir = FORWARD; |
9521 /* May have been reset in do_put(). */ | |
9522 VIsual_active = TRUE; | |
9521 } | 9523 } |
9522 #endif | 9524 #endif |
9523 do_put(cap->oap->regname, dir, cap->count1, flags); | 9525 do_put(cap->oap->regname, dir, cap->count1, flags); |
9524 | 9526 |
9525 #ifdef FEAT_VISUAL | 9527 #ifdef FEAT_VISUAL |