[Konsole-devel] Review Request: Do not join multiple lines seamlessly. Instead, use SPACE as delimiter when joining them
Jekyll Wu
adaptee at gmail.com
Sat Jul 23 18:09:34 UTC 2011
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/102060/
-----------------------------------------------------------
Review request for Konsole.
Summary
-------
Currently, when users use ctrl+mouse to select and copy multiple lines , those lines are joined into single line in a seamless way(LINEBREAK is simply removed, thus the first character of second line will be positioned right after the last character of the first line ).
One example of copying the output of apt-get:
libmyth mythbrowser mythcontrols mythdvd mythflix mythgallery mythgame
mythmusic mythnews mythphone mythplugins mythtv mythtv-backend
That two lines will be joined into one line:
libmyth mythbrowser mythcontrols mythdvd mythflix mythgallery mythgamemythmusic mythnews mythphone mythplugins mythtv mythtv-backend
That result is not of much use to users because that line will cause error when used in another apt-get command. More often than not, they want to join multiple lines by substituting LINEBREAK with SPACE, as 'J' does in VIM. In this case, they want this line:
libmyth mythbrowser mythcontrols mythdvd mythflix mythgallery mythgame mythmusic mythnews mythphone mythplugins mythtv mythtv-backend
This addresses bug 136730.
http://bugs.kde.org/show_bug.cgi?id=136730
Diffs
-----
src/Screen.cpp cedad2d
Diff: http://git.reviewboard.kde.org/r/102060/diff
Testing
-------
Have not noticed bad result.
Thanks,
Jekyll
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/konsole-devel/attachments/20110723/948e852e/attachment.html>
More information about the konsole-devel
mailing list