Hi, On Sun, May 30, 2021 at 9:50 AM Yegappan Lakshmanan < vim-dev-git...@256bit.org> wrote:
> *Describe the bug* > When appending text in visual block mode, if the cursor is moved before the > start of the visual block, then incorrect text is inserted. > > *To Reproduce* > Detailed steps to reproduce the behavior: > > 1. Run vim --clean > 2. Add the following text to an empty buffer. > aaa > bbb > ccc > 3. Execute the following commands: > gg$2jAx > > As I didn't use the proper Github markdown, the special characters are not shown here. The command to reproduce the bug is "gg$<C-V>2jA<Left>x<Esc>" I have updated the issue in Github with the proper markdown now. - Yegappan > > > *Expected behavior* > The following lines are expected after the edit: > aaxa > bbxb > ccxc > > But the following lines are present after the edit: > aaxa > bbba > ccca > > The second and third lines are not correct. > > *Environment (please complete the following information):* > > - Vim version 8.2.2911 > - OS: Ubuntu 21.04 > - Terminal: Gnome-terminal > > Additional details: > A test for this is already added to the Test_visual_block_mode() function > in test_visual.vim. > > > -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/CAAW7x7%3D%3D%3DCfgT7n1F0HoPyXPd6Y--rK7pB9SD_KWMTwO-VB6bQ%40mail.gmail.com.