-
Notifications
You must be signed in to change notification settings - Fork 234
fix: Copy in TextDiffView may lost the last line #1044
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
Conversation
…lines in text diff view (#1044) Signed-off-by: leo <longshuang@msn.cn>
I've pushed another fix for this issue. See commit 35ee4a4 |
The reason of this issue is: When clamp |
I can not re-produce the issue shows in your picture. |
Run from the code is fine, but the artifacts in CI seems not right. |
Try to use |
With the CI artifacts, the copy in context menu also not right, that's weird. I'm using Deepin 23 with linux-x64 |
I'll download it and try |
Strange. The |
I am sure that I downloaded linux-x64 from https://github.com/sourcegit-scm/sourcegit/actions/runs/13625760977, and run |
Can you debug this project now? |
After I reinstalled the deb/copied the locally packaged files several times, it finally worked, and I had no idea what the problem was. |
Currently, copy would append an extra empty line if more than one line is selected. |
It's because that for multiple lines selection, we use |
I made #1049 to fix this. |
Reproduce: Press
Ctrl + A
inTextDiffView
and copy