summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graeme@mastermaths.co.za>2009-11-04 16:29:57 +0200
committerGraeme Geldenhuys <graeme@mastermaths.co.za>2009-11-04 16:29:57 +0200
commite67694e21edf780884bce97655c7552f21d4550b (patch)
treed9d680d49dcaa40e967cfbf1aad04f75deea42dd
parente1c53608a634751949304257fa948143388e3a42 (diff)
downloadfpGUI-e67694e21edf780884bce97655c7552f21d4550b.tar.xz
This will now make that unordered lists are displayed correctly with a bullet.
-rw-r--r--components/richtext/RichTextView.pas3
1 files changed, 2 insertions, 1 deletions
diff --git a/components/richtext/RichTextView.pas b/components/richtext/RichTextView.pas
index f0111a0d..390ac376 100644
--- a/components/richtext/RichTextView.pas
+++ b/components/richtext/RichTextView.pas
@@ -1633,7 +1633,8 @@ var
begin
s := Text;
// Warning: Hack Alert! replace some strange Bell character found in some INF files
- s := SubstituteChar(s, Chr($07), Chr($20) );
+// s := SubstituteChar(s, Chr($07), Chr($20) );
+ s := StringReplace(s, Chr($07), '•', [rfReplaceAll, rfIgnoreCase]);
//// Hack Alert #2: replace strange table chars with something we can actually see
// s := SubstituteChar(s, Chr(218), Char('+') ); // top-left corner