https://bugs.kde.org/show_bug.cgi?id=419580
Bug ID: 419580
Summary: Multiline text incorrectly pasted in comment blocks
Product: frameworks-ktexteditor
Version: 5.68.0
Platform: Archlinux Packages
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
SUMMARY
Multiline text pasted inside comment blocks are incorrectly pasted. I mainly
observe this with languages using the C syntax for comment blocks (between "/*"
and "*/")
STEPS TO REPRODUCE
1. Open KWrite
2. Write a few line of text and copy them.
3. Set mode to "Sources/C" (or any other using the same style of comment
blocks)
4. Open a block of comment by inputing "/*"
5. Paste the text just afer the "/*" (on the same line).
OBSERVED RESULT
The second line of the pasted text is not correctly pasted: a " " and a "*" are
inserted inside the text instead of being inserted at the beginning of the
line. Furthermore, the line following the second are not prefixed with " *".
EXPECTED RESULT
A " *" (or no text) is inserted at the beggining of the line before each pasted
line (starting from the second).
SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux (kernel 5.5.13-arch2-1, 64-bit)
(available in About System)
KDE Plasma Version: 5.18.4
KDE Frameworks Version: 5.68.0
Qt Version: 5.14.2
ADDITIONAL INFORMATION
I don't always reproduce the problem, however, I rarely observe the correct
behaviour.
An example of what I observe (copied text then the same pasted inside a
comment) :
pzeirjk
rmoifdk
mzeikd
/*pzeirjk
r moifd*k
mzeikd
--
You are receiving this mail because:
You are watching all bug changes.