Bug 383442 - vimode clipboard copy/paste line is not correct
Summary: vimode clipboard copy/paste line is not correct
Status: RESOLVED WORKSFORME
Alias: None
Product: frameworks-ktexteditor
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.73.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-13 02:32 UTC by Amos Bird
Modified: 2022-01-30 09:50 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Amos Bird 2017-08-13 02:32:01 UTC
copy this line :            for (;i<v.size()-1;i++) {

and paste it at the same position generates : 

            for (;i<v.s            for (;i<v.size()-1;i++) {
ize()-1;i++) {

while in vim it pastes to a new line
Comment 1 Jan Paul Batrina 2020-08-16 12:03:43 UTC
Seems to be fixed on 5.73.0 (I don't know on which specific version it was fixed)
Comment 2 Jan Paul Batrina 2020-08-16 14:09:24 UTC
Upon further inspection, this seems to work for the normal delete line and yank line (dd, yy), but the behavior you describe appears when using (numbered) registers.
Comment 3 Jan Paul Batrina 2022-01-30 09:50:11 UTC
Pasting the given line in normal (non-vi) mode and in vimode results to the same output in the lates dev version of kate.

Please feel free to reopen if you still experience the bug, preferrably with another example.