summaryrefslogtreecommitdiff
path: root/docview/components/richtext/RichTextDocumentUnit.pas
AgeCommit message (Collapse)Author
2012-11-26More richtext color tag improvements.Michael van Canneyt
Attached is another patch I made for the richtext edit. Now the red/green/blue/black tags can/must be closed by a correct red/green/blue/black closing tag. That means that except for the margin tags, all tags can/must now be closed with a matching tag.
2012-11-26RichTextView syntax tag improvementsMichael van Canneyt
1) h1, h2 h3 are now ended by /h1 /h2 /h3 2) <wrap yes> and <wrap no> are changed to <nowrap> </nowrap> 3) The size part of the font tag is now optional. I suspect a small change is still needed in order to apply the font size if one is specified anyway. I put a comment in the text for that. 4) I adapted the sample01.txt so it reflects the 1. and 2. changes.
2011-08-11richview: ExtractNextTextElement() changed to support UTF-8 charactersGraeme Geldenhuys
- Ultimately this is so we can fix the Layout.Width problem when UTF-8 characters are used in INF documents. eg: the FPC ref.inf file. - UTF-8 characters can be greater than one byte, so we had to make some changes. - Changed some usages of Char to TfpgChar TODO: - CopyPlainTextToBuffer() implementation has been commented, until we can rewrite it for use with fpGUI. This is a big changes, but I tested DocView with numerous INF documents and all seems well.
2010-09-01docview: Removed unused or commented unitsGraeme Geldenhuys
2009-11-27Merged separate DocView project as our subdirectoryGraeme Geldenhuys