SUMMARY Previously Ctrl+C&&Ctrl+V is supposed to copy the whole line including the new line character, but now it doesn't copy the new line character anymore. STEPS TO REPRODUCE 1. Type some text in Kate/KWrite/KDevelop 2. Ctrl+C&&Ctrl+V OBSERVED RESULT The current line is inserted in the cursor position, no new line is inserted. EXPECTED RESULT A new line is inserted SOFTWARE/OS VERSIONS Information for package ktexteditor: ------------------------------------ Repository : @System Name : ktexteditor Version : 5.95.0git.20220618T102210~994e846-ku.14.1 Arch : x86_64 Vendor : obs://build.opensuse.org/KDE:Unstable Installed Size : 3.6 MiB Installed : Yes Status : up-to-date Source package : ktexteditor-5.95.0git.20220618T102210~994e846-ku.14.1.src Upstream URL : https://www.kde.org Summary : Embeddable text editor component
Hmm, we did alter something with that, but for me still the line ending is copied. See https://invent.kde.org/frameworks/ktexteditor/-/merge_requests/377
I cannot reproduce this either.
I have X11 HiDPI enabled. Is that related?
Maybe there is some confusion, the comment says: > The current line is inserted in the cursor position I think it's not that "newline char(\n)" is not copied, rather that previously the copied line got inserted as a "new line" after the current one.
Thanks for clarifying, Waqar. I got indeed confused by this.
Git commit 83e90c5eefe7fb901ee6dd20af74846cac597060 by Christoph Cullmann, on behalf of Fushan Wen. Committed on 19/06/2022 at 21:51. Pushed by cullmann into branch 'master'. Revert "Do not move cursor when smart copying" This reverts commit 7ecb3f2ccf4eb67ad3e9e98b1746e738424f30a1 M +1 -1 src/view/kateview.cpp https://invent.kde.org/frameworks/ktexteditor/commit/83e90c5eefe7fb901ee6dd20af74846cac597060