<table><tr><td style="">loh.tar 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/D19785">View Revision</a></tr></table><br /><div><div><p>That may fix it.</p>
<div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="diff" data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; padding: 12px; margin: 0; background: rgba(71, 87, 120, 0.08);"><span style="color: #000080">diff --git a/src/document/katedocument.cpp b/src/document/katedocument.cpp</span>
<span style="color: #000080">index e365c380..7c24f67f 100644</span>
<span style="color: #a00000">--- a/src/document/katedocument.cpp</span>
<span style="color: #00a000">+++ b/src/document/katedocument.cpp</span>
<span style="color: #800080">@@ -3350,7 +3350,9 @@ void KTextEditor::DocumentPrivate::backspace(KTextEditor::ViewPrivate *view, con</span>
} else {
// col == 0: wrap to previous line
<span style="color: #a00000">- if (line > 0) {</span>
<span style="color: #00a000">+ const Kate::TextLine textLine = m_buffer->plainLine(line - 1);</span>
<span style="color: #00a000">+</span>
<span style="color: #00a000">+ if (line > 0 && textLine) {</span>
if (config()->wordWrap() && textLine->endsWith(QLatin1String(" "))) {
// gg: in hard wordwrap mode, backspace must also eat the trailing space
removeText(KTextEditor::Range(line - 1, textLine->length() - 1, line, 0));</pre></div></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/D19785">https://phabricator.kde.org/D19785</a></div></div><br /><div><strong>To: </strong>loh.tar, KTextEditor, cullmann<br /><strong>Cc: </strong>safaalfulaij, kwrite-devel, kde-frameworks-devel, KTextEditor, domson, michaelh, ngraham, bruns, demsking, cullmann, sars, dhaumann<br /></div>