Fix crash: Make sure the display cursor is in the display range
ClosedPublic

Authored by dhaumann on Sep 8 2016, 1:07 PM.

Details

Reviewers
mwolff
cullmann
Summary

The display cursor was not adapted, if text was folded. This patch fixes it.

Test Plan

Unit Test

Diff Detail

Lint
Lint Skipped
Unit
Unit Tests Skipped
dhaumann updated this revision to Diff 6546.Sep 8 2016, 1:07 PM
dhaumann retitled this revision from to Fix crash: Make sure the display cursor is in the display range.
dhaumann updated this object.
dhaumann edited the test plan for this revision. (Show Details)
dhaumann set the repository for this revision to R39 KTextEditor.
Restricted Application added a subscriber: kwrite-devel. · View Herald TranscriptSep 8 2016, 1:07 PM
dhaumann updated this revision to Diff 6551.Sep 8 2016, 1:25 PM
dhaumann removed R39 KTextEditor as the repository for this revision.

Fixed unit test.

cullmann accepted this revision.Sep 8 2016, 1:31 PM
cullmann edited edge metadata.

Looks ok, seems I missed that case :(

This revision is now accepted and ready to land.Sep 8 2016, 1:31 PM
mwolff accepted this revision.Sep 8 2016, 1:32 PM
mwolff edited edge metadata.

thanks!

dhaumann closed this revision.Sep 8 2016, 1:34 PM

Commited, thanks for the reviews.