Support selection clipboard in linux via mouse wheel
katlyn-edwards opened this issue · 3 comments
monaco-editor version: 0.17.0
Browser: Chrome
OS: LInux
Steps or JS usage snippet reproducing the issue:
Select a nontrivial amount (>40 lines) of text in a monaco editor.
Press the wheel button on a standard mouse
Expectation: Copy + Paste entire selection.
Reality: Copies + Pastes some of the selection, but with an ellipses between major chunks.
I think this might be in vs-code?
https://github.com/microsoft/vscode/blob/master/src/vs/editor/browser/controller/textAreaInput.ts#L311
Hmm, maybe not, this doesn't repro at all in vs-code.
Note that this is easily reproducible via selecting text, and then calling document.getSelection() which will return truncated text.
As explained in #1540 (comment) I cannot reproduce this issue in Chrome. I have this issue in Firefox though, so I am not sure this is the same problem.