<table><tr><td style="">dhaumann added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D6473" rel="noreferrer">View Revision</a></tr></table><br /><div><div><p>...thining a bit more about this: What I dislike is the fact that we don't seem to understand why it crashes in the first place, right? The problem is that the cursor of the view is not updated, so it is behind the document end in an invalid line. And moving the cursor up will again put it into an invalid line, which crashes.</p>
<p>So the question is: Why is the cursor not updated? If we can answer this, we may be able to either find that this patch is correct, or that the root of the real issue lies somewhere else...</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R39 KTextEditor</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D6473" rel="noreferrer">https://phabricator.kde.org/D6473</a></div></div><br /><div><strong>To: </strong>jsalatas, KTextEditor<br /><strong>Cc: </strong>dhaumann, kfunk, ltoscano, kwrite-devel, Frameworks<br /></div>