View Issue Details

IDProjectCategoryView StatusLast Update
0003731JEDI VCL00 JVCL Componentspublic2006-05-30 13:58
ReporterJeff CookAssigned ToAHUser 
Status resolvedResolutionfixed 
Product VersionDaily / GIT 
Target VersionFixed in Version3.30 
Summary0003731: TJvRichEditToHtml still not formatting correctly
DescriptionTJvRichEditToHtml was reported in Issue 0003706 to generate partially incorrect HTML.

I updoaded a demo project on issue 0003706. Using the same project, the HTML generated from the version downloaded from SVN today:-

// $Id: JvRichEditToHtml.pas 10621 2006-05-27 08:53:30Z ahuser $

is also incorrect - in fact it seems to be much worse.

In addition, AV's now occur in the System.pas unit when running in the IDE (Delphi 6) on the first call of JvRichEditToHtml - second and subsequent calls there is no AV.

Also when running the .exe outside the IDE I have once received an error message "External error 000080" - but I'm not sure of the "00080" as I didn't record it and it was not reproducible.

The generated HTML file seems to have non text characters and what might be a colour code e.g 000080 and 000000, in incorrect positions overwriting parts of valid HTML.
Additional InformationI have uploaded the demo project with test input and output files.

P.S. I should have attached this to the issue 0003706 report but couldn't see how to do so - so have created another report.
TagsNo tags attached.


2006-05-28 16:15 (4,553 bytes)


2006-05-30 11:58

developer   ~0009364

I use this function in production code and it works. But your test case shows that the function does not work with the default memory manager. FastMM4 has no problems with the code. So it's the "St := St + ch;" code that causes the default memory manager to get out of memory. I'll try to optimize this.


2006-05-30 13:58

developer   ~0009365

Fixed in SVN.
I have rewritten the function again. But this time you must also use the SVN version of the JCL, because I have introduces TStringBuilder in JclStrings which is now used by JvRichEditToHtml

Issue History

Date Modified Username Field Change
2006-05-28 16:15 Jeff Cook New Issue
2006-05-28 16:15 Jeff Cook File Added:
2006-05-30 11:58 AHUser Note Added: 0009364
2006-05-30 13:58 AHUser Status new => resolved
2006-05-30 13:58 AHUser Resolution open => fixed
2006-05-30 13:58 AHUser Assigned To => AHUser
2006-05-30 13:58 AHUser Note Added: 0009365