[Konsole-devel] [Bug 188528] konsole's history adds spaces to end of lines when copying text
Orion Poplawski
orion at cora.nwra.com
Mon Jul 19 17:39:59 UTC 2010
https://bugs.kde.org/show_bug.cgi?id=188528
--- Comment #53 from Orion Poplawski <orion cora nwra com> 2010-07-19 19:37:16 ---
I'm sorry. This part of the patch was clearly wrong and needed in certain
situations:
@@ -1230,19 +1223,6 @@
Character* data = screenLines[screenLine].data();
int length = screenLines[screenLine].count();
- // Don't remove end spaces in lines that wrap
- if (!(lineProperties[screenLine] & LINE_WRAPPED))
- {
- // ignore trailing white space at the end of the line
- for (int i = length-1; i >= 0; i--)
- {
- if (data[i].character == ' ')
- length--;
- else
- break;
- }
- }
-
//retrieve line from screen image
for (int i=start;i < qMin(start+count,length);i++)
{
Please restore.
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the konsole-devel
mailing list