D19446: DocumentPrivate: Support auto bracket in block selection mode

loh tar noreply at phabricator.kde.org
Fri Apr 5 14:20:41 BST 2019


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190405/f79c6329/attachment.html>


More information about the Kde-frameworks-devel mailing list