TSynExporterHTML does not correctly calculate HTML Format information for Windows ClipBoard
Original Reporter info from Mantis: Bart @flyingsheep
-
Reporter name: Bart Broersma
Original Reporter info from Mantis: Bart @flyingsheep
- Reporter name: Bart Broersma
Description:
When exporting (and ExportAsText = False) the exporter inserts a header into the exported text, containing some information that the Windows clipboard needs (when you copy to it).
This info looks like:
Version:0.9
StartHTML:0000000105
EndHTML:0000001952
StartFragment:0000000152
EndFragment:0000001918
However, when you change the value of CreateHTMLFragment, the position of StartFragment, and the position of EndFragment change, but this is not reflected in the computed information.
Steps to reproduce:
Build and run attached sample.
Check or uncheck the appropriate checkbox, then click Button1.
Observe the output.
Note: you need to run the program from withing the folder where it's sourcecode is located.
Mantis conversion info:
- Mantis ID: 28633
- OS: Window
- OS Build: Win7
- Build: r49759
- Platform: i386
- Version: 1.5 (SVN)
- Fixed in version: 1.6
- Fixed in revision: r49820 (#9c3d4cb5)
- Target version: 1.6