Add support for strike through attribute to markup spans

It can be handled in exactly the same way as underlining, so just do it
instead of leaving a "TODO" comment about it.
This commit is contained in:
Vadim Zeitlin
2018-09-15 12:39:58 +02:00
parent ea00b0b603
commit 5d4ca0dbbe

View File

@@ -135,7 +135,9 @@ public:
font, &wxFont::SetUnderlined,
false, true);
// TODO: No support for strike-through yet.
FontModifier<bool>()(spanAttr.m_isStrikethrough,
font, &wxFont::SetStrikethrough,
false, true);
switch ( spanAttr.m_sizeKind )
{