Bug 473042 - In composer Delete Line deletes from cursor to end-of-line
Summary: In composer Delete Line deletes from cursor to end-of-line
Status: ASSIGNED
Alias: None
Product: kmail2
Classification: Applications
Component: composer (show other bugs)
Version: Git (master)
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-05 14:11 UTC by Allen Winter
Modified: 2023-08-05 15:40 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 Allen Winter 2023-08-05 14:11:49 UTC
STEPS TO REPRODUCE
1.  reply to a message
2. in composer window put your cursor in the somewhere on any text line (except the first character of that line)
3. type ctrl-k (the shortcut for Delete line)

OBSERVED RESULT
the current line is deleted from the cursor position until the end of the line

EXPECTED RESULT
the entire line is deleted, regardless of where your cursor is positioned

ADDITIONAL INFORMATION
this is how Kate works and it would be nice to have consistency
from my Emacs days I do like  "delete from point to end-of-line"  but that's not the same as "Delete line"
Comment 1 Laurent Montel 2023-08-05 15:40:07 UTC
So at the moment it's more as "from my Emacs days I do like  "delete from point to end-of-line"  but that's not the same as "Delete line"" :)

Ok indeed it can be better to delete all lines

I will fix it