-
-
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
Can't interact with more than 32660 characters #1726
Comments
Huh. wtf. That's almost 2^15 |
I can't replicate this though. |
I don't have another PC to try it on, but I did disable everything except for Vim with nothing else open except that line and it happens to me every time. I first noticed it while removing some old legacy code from a project I was working on and reduced it down to that example. Not sure what else could be causing it as VSCode itself works fine when cutting or deleting it. |
Could you try opening developer tools and seeing if you have an error? I would think it was an integer overflow or something, but we're using javascript lol :) |
|
Hmm, what if you tried deleting with the blackhole register. Like, |
That works as well as disabling system clipboard in settings. |
This could be an issue with the clipboard library, but there's also a small chance we might be calling it incorrectly. |
Hi, just ran into this problem too! The problem is the new clipboard library Before the change to |
@Platzer Great job figuring out the issue! We may want to switch back to copy-paste instead. Any thoughts on this @xconverge |
Yep, I will file an issue over at clipboardy, they were pretty responsive last time |
@Chillee please do not switch back to copy-paste. I switched for a reason. UTF8 was not handled correctly on all platforms. This meant any non latin characters (korean, chinese etc) were copied as garbage on macos and windows. The dev of that plugin was mia for months, clipboardy they address my issues within a few days :) |
@Platzer great research, it seems very likely you found the root of the issue |
Ok it is fixed in clipboardy, just waiting on the new release from them and we should be good to go with this! |
New release of clipboardy, will fix this tonight! |
The VSCodeVim team prioritizes issues based on reaction count.
Is this a BUG REPORT or FEATURE REQUEST? (choose one):
Environment:
What happened:
Tried to delete more than 32660 characters. Nothing happened. Yank doesn't work.
dd
doesn't work. Right clicking and doing cut works fine.What did you expect to happen:
Selected text to be deleted.
How to reproduce it:
Select more than 32660 characters with
V
Try to yank with
y
or delete withd
.Link to premade file with exactly 32660 characters. Add one more character to trigger the issue.
https://gist.github.com/silentdragonz/ec940015743309ce082de580deca763b
The text was updated successfully, but these errors were encountered: