mirror of
https://github.com/KDE/konsole.git
synced 2026-05-18 19:47:16 -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:
@@ -806,6 +806,7 @@ void ViewManager::applyProfileToView(TerminalDisplay* view , const Profile::Ptr
|
||||
view->setControlDrag(profile->property<bool>(Profile::CtrlRequiredForDrag));
|
||||
view->setBidiEnabled(profile->bidiRenderingEnabled());
|
||||
view->setLineSpacing(profile->lineSpacing());
|
||||
view->setTrimTrailingSpaces(profile->property<bool>(Profile::TrimTrailingSpacesInSelectedText));
|
||||
|
||||
view->setOpenLinksByDirectClick(profile->property<bool>(Profile::OpenLinksByDirectClickEnabled));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user