Fix: When dragging a text in forward direction a selection is "dragged" by a double distance

Review Request #129758 - Created Jan. 3, 2017 and submitted

Information
Dominik Haumann
ktexteditor
374163
Reviewers
kate
cullmann

Drag and drop of selected text in forward direction sets wrong selection and cursor afterwards, see bug #374163.
This patch fixes this.

Added unit test (a bit ugly due to bugs in QTest: drag and drop blocks, so a singleShot timer as workaround is added).

Issues

  • 0
  • 1
  • 0
  • 1
Description From Last Updated
Christoph Cullmann
Kevin Funk
Dominik Haumann
Dominik Haumann
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit a4ad36c174f498cc884acaefe01b8443f69f1d79 by Dominik Haumann to branch master.
Loading...