Bug 286262 - kate - delete/erase line shortcut -> delete all lines that are selected
Summary: kate - delete/erase line shortcut -> delete all lines that are selected
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: part (show other bugs)
Version: 3.12.0
Platform: Gentoo Packages Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-10 12:34 UTC by Till Schäfer
Modified: 2014-03-25 18:08 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 4.13


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Till Schäfer 2011-11-10 12:34:04 UTC
Version:           unspecified (using KDE 4.7.3) 
OS:                Linux

When using the shortcut for deleting a line, it does not recognize that multiple lines are selected. The line with the cursor is deleted only. 


Reproducible: Always



Expected Results:  
It would be nice to make it possible to delete multiple lines at once by selecting them and pressing the shortcut afterwards. (This is the same behaviour as in Eclipse).
Comment 1 Michal Humpula 2014-01-11 20:07:07 UTC
Git commit d60c5d01d5b02603beb481cd4156c7be5bb52acf by Michal Humpula.
Committed on 11/01/2014 at 18:23.
Pushed by michalhumpula into branch 'master'.

make killline work with current selection too

REVIEW: 114968
FIXED-IN: 4.13

M  +9    -1    part/view/kateview.cpp
M  +33   -0    tests/kateview_test.cpp
M  +1    -0    tests/kateview_test.h

http://commits.kde.org/kate/d60c5d01d5b02603beb481cd4156c7be5bb52acf
Comment 2 Till Schäfer 2014-01-11 20:10:11 UTC
thx a lot!
Comment 3 Till Schäfer 2014-03-25 18:08:04 UTC
maybe this feature should be mentioned in the feature plan: 

http://techbase.kde.org/Schedules/KDE4/4.13_Feature_Plan
Comment 4 Till Schäfer 2014-03-25 18:08:41 UTC
this feature introduces a small bug: Bug 332597