Currently, moving whole lines with the mouse is a bit difficult, as the text must be dropped exactly in front of the first letter of the destination line. Dropping the text on the line number would be easier. But this copies the text to a new document.
I am used to drop onto line numbers from another text editor. An older Kate (KDE 4), Notepad++, or Atmel Studio, not sure which.
STEPS TO REPRODUCE
1. Open a file with many lines of text
2. Select some lines and drag them with the mouse
3. Drop them on a line number
The lines should be moved to the line on which'es number* they were dropped.
The lines are copied to a new document. You have to do undo, close, and try it again.
Is there a purpose of the current functionality? If yes, could this be configurable?
KDE Neon 5.15
KDE Plasma Version: 5.15.2
KDE Frameworks Version: 5.55.0
Qt Version: 5.12.0
Additionally, Windows 7 with Kate version shortly before centered "Search wrapped" message.
Git commit aa574ba2dac1ddbc8ba2816b5c3f202b3993adc1 by Nate Graham, on behalf of loh tar.
Committed on 12/03/2019 at 15:36.
Pushed by ngraham into branch 'master'.
IconBorder: Accept drag&drop events
..and forward them to KateViewInternal. This way is dropping text to
column 1 of the view much less cumbersome
Reviewers: #ktexteditor, dhaumann
Reviewed By: #ktexteditor, dhaumann
Subscribers: dhaumann, kwrite-devel, kde-frameworks-devel, #ktexteditor
Tags: #kate, #frameworks
Differential Revision: https://phabricator.kde.org/D19681
M +17 -0 src/view/kateviewhelpers.cpp
M +2 -0 src/view/kateviewhelpers.h