diff options
author | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2012-11-26 14:15:20 +0000 |
---|---|---|
committer | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2012-11-26 14:15:20 +0000 |
commit | 753665acf0314f99ec1e48bff80c090e6bbee578 (patch) | |
tree | e0c1030fd921bb8893e7d4ac325044b14a358eed /docview/src | |
parent | b59245f0578c57300951d57015fd93f7b3e616d6 (diff) | |
download | fpGUI-753665acf0314f99ec1e48bff80c090e6bbee578.tar.xz |
Some docview IPF-to-RichTextView syntax changes.
Due to stricter syntax and other mark-up (tag) changes in RichTextView, we need to update
DocView accordingly. Not much was needed though.
Diffstat (limited to 'docview/src')
-rw-r--r-- | docview/src/HelpTopic.pas | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docview/src/HelpTopic.pas b/docview/src/HelpTopic.pas index 44f81a57..b6ba186d 100644 --- a/docview/src/HelpTopic.pas +++ b/docview/src/HelpTopic.pas @@ -1037,7 +1037,7 @@ begin begin State.FontState := fsFixed; State.InCharGraphics := true; - OutputString := RTF_NewLine + RTF_NewLine + '<tt><wrap no>'; + OutputString := RTF_NewLine + RTF_NewLine + '<tt><nowrap>'; State.Spacing := false; WordsOnLine := 0; end; @@ -1046,7 +1046,7 @@ begin begin State.FontState := fsNormal; State.InCharGraphics := false; - OutputString := '</tt><wrap yes>';// + RTF_NewLine; + OutputString := '</nowrap></tt>';// + RTF_NewLine; State.Spacing := true; end; @@ -1107,7 +1107,7 @@ begin State.Alignment := itaCenter; end; end; - OutputString := OutputString + '<wrap no>'; + OutputString := OutputString + '<nowrap>'; WordsOnLine := 0; end; @@ -1115,7 +1115,7 @@ begin begin CheckForAutoURL( AText, State ); // supposed to turn word wrap on, default font - OutputString := {'<align left>}'<wrap yes>'; // I guess... + OutputString := {'<align left>}'</nowrap>'; // I guess... State.Alignment := itaLeft; end; |