h_east unread, Jan 26, 2015, 5:37:49 PM 1/26/15
Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to vim...@googlegroups.com
Hi Bram and Vim developers,
How to reproduce:
---- Pattern#1 ----
:set breakindent
:30vnew
:normal! 3a1234567890
:normal! a abcde
:exec "normal! 0\<C-V>te"
x
Expected behavior:
- displayed "e"
Actual behavior:
- displayed "abcde"
---- Pattern#2 ----
:set breakindent
:30vnew
:normal! 4a1234567890
:exec "normal! >>\<C-V>3f0"
x
Expected behavior:
- displayed "1234567890"
Actual behavior:
- displayed "90"
Investigation result:
The first argument of lbr_chartabsize_ad() should always be the beginning of the line address.
If you do not, Trouble comes into judgment of 'breakindent'.
Yes, it is written in the comments, I think you had maybe noticed :-)
I wrote a patch. Please check this.
Best regards,
Hirohito Higashi (a.k.a h_east)
visual_block_del_with_bri_bugfix.patch