dance
dance copied to clipboard
incorrect character highlight during selection
There is a dark highlight incorrectly highlighting one character before the end of the selection when the cursor is at the end of a selection but when the cursor is to the start of a selection the highlight is in the correct place on the first character of the selection.
Character mode is enabled.
https://user-images.githubusercontent.com/50090107/122505305-12c25080-cfca-11eb-85eb-8756a69192c8.mp4
probably related and also an issue - entering insert mode with "a" is one character earlier than it should be when selecting something when in character mode.
Strangely, I can neither replicate the issue with the dark highlight, nor the insertion with a
being on the left of where it should be. If you want to debug things yourself and tell me what's wrong, the code for the highlighting is here and the code a
is here.
Just in case, are you running Dance 0.5.1?
I also witnessed this dark highlight as shown in the video. I was able to pinpoint its apparition from having "selectionBehavior": "character"
option in normal mode.
Also occurs with me.