D6473: Crash when replacing new lines with spaces

Dominik Haumann noreply at phabricator.kde.org
Tue Jul 11 21:41:01 UTC 2017


dhaumann added a comment.


  ...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.
  
  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...

REPOSITORY
  R39 KTextEditor

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

To: jsalatas, #ktexteditor
Cc: dhaumann, kfunk, ltoscano, kwrite-devel, #frameworks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20170711/d26ea5af/attachment.html>


More information about the Kde-frameworks-devel mailing list