Skip to content
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

Characters are sometimes inserted instead of overtyped #23

Closed
pewscorner opened this issue Sep 29, 2021 · 4 comments
Closed

Characters are sometimes inserted instead of overtyped #23

pewscorner opened this issue Sep 29, 2021 · 4 comments

Comments

@pewscorner
Copy link

Steps to reproduce
Open a fresh editor and enter 2 identical lines of text, e.g.:

012345678901234567890123456789012345678901234567890123456789
012345678901234567890123456789012345678901234567890123456789

Now switch to overtype mode, place the cursor at the start of the second line, and start typing rapidly. The following shows the result of one such test where the problem occurred after typing only 4 characters ("asdf"):

012345678901234567890123456789012345678901234567890123456789
asdf345678901234567890123456789012345678901234567890123456789

As shown, the 4 new characters replaced only 3 old ones, so the line length was increased by 1. This ought not to happen in overtype mode.

Versions
VS Code 1.60.2 on Windows 10
Overtype v0.4.0

Tested with all other extensions disabled.

@DominoPivot
Copy link

To clarify, if multiple characters are typed in a very short timespan, all typed characters are inserted behind the caret but only one character is removed after the caret.

@pewscorner
Copy link
Author

I can't reproduce this anymore with Overtype v0.4.0 (or the newer Overtype v0.4.7). VS Code version is now 1.73.1.

@GitMensch
Copy link
Collaborator

Can anyone still reproduce that with recent vscode and overtype or should this be closed?

@pewscorner
Copy link
Author

I still can't reproduce it with Overtype v0.5.0 and VS Code 1.77.0 - and I've tried really hard.

@GitMensch GitMensch closed this as not planned Won't fix, can't repro, duplicate, stale Apr 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants