-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[End of line] - mouse selection skip last character #1034
Comments
Yeah, I think this may be a bug with PR #1006. It looks like it was intended to fix an issue with the Vim commands to move to the end of the line, but it seems to have an issue when selecting with the mouse. I encountered this double-clicking the last word on a line to replace it. The selection omitted the last character of the word, so my replacement left that last stray character on the line. I have Vim |
By any chance was there a reversion to this behavior? I'm seeing it now with: VSCode 1.37.1 |
@uglyboxer I'm not seeing it. Could you tell me what platform you're on and maybe show a video of the bug you're seeing? |
@J-Fields I'm on MacOSX 10.14.6 (Mojave) I just noticed it only behaves this way if the cursor is already at the last character. If the cursor is sitting elsewhere, everything is cozy. |
@uglyboxer Thanks, I'm able to repro. Rather than re-opening this (as it'll probably get buried) could you open a new issue and link to this one? |
Will do! |
Since 4.0.1 when I select a block or just a line with the mouse, last character is skipped from selection (both visually and in clipboard).
Before 4.0.0 and for me, the end of line behavior (clicking with the mouse randonly at the end of a line) would select an inexistant space character and I thought the problem was solved with the new version 4, but I've just read that only 4.0.1 solved the problem. Perhaps it was due to my settings.json options :
Thanks for great work, I'm almost using vscode 100% of time now!
The text was updated successfully, but these errors were encountered: