Changeset View
Changeset View
Standalone View
Standalone View
src/ViewManager.cpp
Show First 20 Lines • Show All 924 Lines • ▼ Show 20 Line(s) | 869 | { | |||
---|---|---|---|---|---|
925 | 925 | | |||
926 | int middleClickPasteMode = profile->property<int>(Profile::MiddleClickPasteMode); | 926 | int middleClickPasteMode = profile->property<int>(Profile::MiddleClickPasteMode); | ||
927 | if (middleClickPasteMode == Enum::PasteFromX11Selection) { | 927 | if (middleClickPasteMode == Enum::PasteFromX11Selection) { | ||
928 | view->setMiddleClickPasteMode(Enum::PasteFromX11Selection); | 928 | view->setMiddleClickPasteMode(Enum::PasteFromX11Selection); | ||
929 | } else if (middleClickPasteMode == Enum::PasteFromClipboard) { | 929 | } else if (middleClickPasteMode == Enum::PasteFromClipboard) { | ||
930 | view->setMiddleClickPasteMode(Enum::PasteFromClipboard); | 930 | view->setMiddleClickPasteMode(Enum::PasteFromClipboard); | ||
931 | } | 931 | } | ||
932 | 932 | | |||
933 | view->setCopyTextAsHTML(profile->property<bool>(Profile::CopyTextAsHTML)); | ||||
934 | | ||||
933 | // margin/center | 935 | // margin/center | ||
934 | view->setMargin(profile->property<int>(Profile::TerminalMargin)); | 936 | view->setMargin(profile->property<int>(Profile::TerminalMargin)); | ||
935 | view->setCenterContents(profile->property<bool>(Profile::TerminalCenter)); | 937 | view->setCenterContents(profile->property<bool>(Profile::TerminalCenter)); | ||
936 | 938 | | |||
937 | // cursor shape | 939 | // cursor shape | ||
938 | int cursorShape = profile->property<int>(Profile::CursorShape); | 940 | int cursorShape = profile->property<int>(Profile::CursorShape); | ||
939 | 941 | | |||
940 | if (cursorShape == Enum::BlockCursor) { | 942 | if (cursorShape == Enum::BlockCursor) { | ||
▲ Show 20 Lines • Show All 354 Lines • Show Last 20 Lines |