loh.tar added a comment.
> Edit: The issue is located here... > > TextBlock::insertText(...) > ... > // special handling if cursor behind the real line, e.g. non-wrapping cursor in block selection mode > else if (cursor->m_column < textOfLine.size()) { > cursor->m_column = textOfLine.size(); > } > ... Removing these lines solve the issue surprising good. Test are passed too... But a full solution ist it not. Entering now a char after end of line did not move the cursor. F6754835: 1554469832.png <https://phabricator.kde.org/F6754835> REPOSITORY R39 KTextEditor REVISION DETAIL https://phabricator.kde.org/D19446 To: loh.tar, #ktexteditor, cullmann Cc: cullmann, kwrite-devel, kde-frameworks-devel, #ktexteditor, gennad, domson, michaelh, ngraham, bruns, demsking, sars, dhaumann