diff options
-rw-r--r-- | docview/components/richtext/RichTextView.pas | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/docview/components/richtext/RichTextView.pas b/docview/components/richtext/RichTextView.pas index 49ea97c4..116b72b5 100644 --- a/docview/components/richtext/RichTextView.pas +++ b/docview/components/richtext/RichTextView.pas @@ -395,9 +395,6 @@ Type //Property OnSetupShow; //Property OnScan; - Protected - //Property Font; - End; @@ -1629,7 +1626,7 @@ begin s := Text; // Warning: Hack Alert! replace some strange Bell character found in some INF files // s := SubstituteChar(s, Chr($07), Chr($20) ); - s := StringReplace(s, Chr($07), '•', [rfReplaceAll, rfIgnoreCase]); + s := StringReplace(s, Chr($07), #$E2#$80#$A2, [rfReplaceAll, rfIgnoreCase]); // u+2022 small bullet //// Hack Alert #2: replace strange table chars with something we can actually see // s := SubstituteChar(s, Chr(218), Char('+') ); // top-left corner |