D17128: DocumentPrivate: Remove comment mark when joining lines

loh tar noreply at phabricator.kde.org
Sat Dec 8 10:49:08 GMT 2018


loh.tar added a comment.


  Thanks for your input Dominik. 
  In the meanwhile I noticed (again) these "Smart-Return" function (I noticed, and used that a couple of years for a short time period, but forgot that somehow) A reverse version of that should be nice. And somehow the possibility to use that automatically without to todo some special key-stroke when join lines by simple remove the newline character by Del-Key.
  
  But how that all could be done in sane way I have no idea. Currently I tend to make a new "Smart-Wrap-Paragraph" function, as suggested by Christoph. Because that's new, I can try to be as smart as I like without to change old behaviour.
  
  As said is from my point of view the existing wrap function broken, not only due to the behavior described in that bug report 135737 but also because the whole file is wrapped when no selection is done. That's not handy. This way you can't wrap quickly only a paragraph by shortcut without to select them previous. I have often scrambled a code file when I only want to warp some comment block.

REPOSITORY
  R39 KTextEditor

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

To: loh.tar, #ktexteditor
Cc: dhaumann, cullmann, kwrite-devel, kde-frameworks-devel, #ktexteditor, hase, michaelh, ngraham, bruns, demsking, head7, kfunk, sars
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20181208/b991c1ba/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list