summaryrefslogtreecommitdiff
path: root/docview/components/richtext/RichTextStyleUnit.pas
diff options
context:
space:
mode:
Diffstat (limited to 'docview/components/richtext/RichTextStyleUnit.pas')
-rw-r--r--docview/components/richtext/RichTextStyleUnit.pas10
1 files changed, 7 insertions, 3 deletions
diff --git a/docview/components/richtext/RichTextStyleUnit.pas b/docview/components/richtext/RichTextStyleUnit.pas
index 98f5adfa..57f904df 100644
--- a/docview/components/richtext/RichTextStyleUnit.pas
+++ b/docview/components/richtext/RichTextStyleUnit.pas
@@ -247,7 +247,11 @@ ProfileEvent('DEBUG: ApplyStyleTag >>>');
ttColor:
GetTagColor( Tag.Arguments, Style.Color );
- ttColorOff:
+ ttColorOff,
+ ttRedOff,
+ ttGreenOff,
+ ttBlackOff,
+ ttBlueOff:
Style.Color := ASettings.FDefaultColor;
ttBackgroundColor:
@@ -271,10 +275,10 @@ ProfileEvent('DEBUG: ApplyStyleTag >>>');
ttAlign:
Style.Alignment := GetTagTextAlignment( Tag.Arguments, ASettings.FDefaultAlignment );
- ttnoWrap:
+ ttNoWrap:
Style.Wrap := False;
- ttnoWrapOff:
+ ttNoWrapOff:
Style.Wrap := True;
ttSetLeftMargin,