D19407: ModeBase::goToPos: Ensure jump target is valid

loh tar noreply at phabricator.kde.org
Fri Mar 1 19:27:10 GMT 2019


loh.tar added a comment.


  Ah, `r.toEditorRange().isValid()` is the trick, yes, would work.

REPOSITORY
  R39 KTextEditor

REVISION DETAIL
  https://phabricator.kde.org/D19407

To: loh.tar, #ktexteditor
Cc: dhaumann, kwrite-devel, kde-frameworks-devel, #ktexteditor, domson, michaelh, ngraham, bruns, demsking, cullmann, sars
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwrite-devel/attachments/20190301/a76ea5e2/attachment.html>


More information about the KWrite-Devel mailing list