XVim2
XVim2 copied to clipboard
Deletion on vertical selecting would swallow characters
Given source code as follows:
titleLabel?.layer.borderColor = UIColor.yellow.cgColor
titleLabel?.layer.borderWidth = 1.0
ctrl-v and selecting "titleLabel?." , d (or x), it gives me
Color = UIColor.yellow.cgColor
layer.borderWidth = 1.0
What was actually deleted is "titleLabel?.layer.border" in the first line and "titleLabel?." in the second line.
I am experiencing this aswell.
I use this feature alot in vim when deleting comment symbols for commented out blocks of code. I would be willing to try and fix it when I have some time. Would you mind taking a brief look at he problem to see roughly where I should be looking? I dont know objective c but I know c, c++, java, rust, swift and more so I am fairly confident I can figure it out.
I can't reproduce it on Xcode10 macOS 10.13.6.
I can't reproduce it on Xcode10.1 macOS 10.13.6.
I can't reproduce it on Xcode10 (10A255), Mojave (10.14).
I can't reproduce it in Xcode10 macOS 10.13.6.
Using Xcode 10 (10A255) on macOS 10.14 should reproduce it
Can confirm. Happens to me on Xcode 10 (10A255) and Mojave (10.14) as well.
Yep - same here on Xcode 10 (10A255), High Sierra 10.13.6.
Same isse here. Good news is Xcode 10 supports multiple cursors. Only works with XVim2 in insert mode though.
Place additional cursors via ⌃+⇧+Click or with column select (⌥+Click+Drag), or using ⌃+⇧+Up/Down.” https://mjtsai.com/blog/2018/04/29/multiple-cursors-in-xcode/
Not that I expected it to work, but just an fyi:
Still happening with Xcode Version 10.1 (10B61)