fix: Copy in TextDiffView may lost the last line#1044
fix: Copy in TextDiffView may lost the last line#1044gadfly3173 wants to merge 1 commit intosourcegit-scm:developfrom
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 + AinTextDiffViewand copy