mirror of
https://github.com/KDE/konsole.git
synced 2026-05-08 06:35:07 -04:00
Allow option to trim spaces at end of line
In the ongoing issue with spaces at the end of lines, this allows for an option to trim the spaces. By default, it is disabled so only people who need this will be affected. Many thanks to David Smid <david@smidovi.eu> CCBUG: 188528
This commit is contained in:
@@ -117,9 +117,9 @@ QVector<LineProperty> ScreenWindow::getLineProperties()
|
||||
return result;
|
||||
}
|
||||
|
||||
QString ScreenWindow::selectedText(bool preserveLineBreaks) const
|
||||
QString ScreenWindow::selectedText(bool preserveLineBreaks, bool trimTrailingSpaces) const
|
||||
{
|
||||
return _screen->selectedText(preserveLineBreaks);
|
||||
return _screen->selectedText(preserveLineBreaks, trimTrailingSpaces);
|
||||
}
|
||||
|
||||
void ScreenWindow::getSelectionStart(int& column , int& line)
|
||||
|
||||
Reference in New Issue
Block a user