ModeBase::goToPos: Ensure jump target is valid
Summary:
BUG:377200
FIXED-IN: 5.56
Reviewers: KTextEditor, cullmann
Reviewed By: KTextEditor, cullmann
Subscribers: cullmann, dhaumann, kwrite-devel, kde-frameworks-devel, KTextEditor
Tags: Kate, Frameworks
Differential Revision: https://phabricator.kde.org/D19407