but there seems to be a bug related with the underlined text
I see it in Laz/main, too. Would you mind to report this? I don't think that it's a bug in FPDoc since it does insert the < u > tags (but see below), it's also not a bug in the html viewer since I know that the TIpHtmlPanel does handle this correctly. Maybe in the converter from xml to html (fpdoc?).
@dsiders: In your own xml files did you ever notice that underlined text portions were not handled correctly (dropped)?
Anyway, the FPDocEditor is quite buggy. The most annoying feature to me is that it always reformats the files written, even without any changes made. This adds endless changes to version control. It's not a good idea to have it open for a long time.
Or, I saw this just now: Double-click on a word in a paragraph that you want to highlight as bold - but FPDocEditor highlights the entire line. When you now click on the B button (bold) the < b > tag is not applied correctly. This is because of that strange formatting concept which puts the < p > tag in a separate line before the paragraph text and the </ p> tag at the end of the same line. Therefore the xml text is
initial text:
<p>
The help text.</p>
after double-click on "help" and "B" click
<p>
<b>The help text.</p></b> // Note: The terminating </b> should be before the terminating </p>!
after saving
<p>
<b/>The help text.</p>
</b>For FPSpreadsheet I wrote the help text using PasDoc, based on the inline comments of the source files. I am not happy with that either because I do not like to have too much documentation in the interface part of a unit. And the PasDoc-generated help files look very crowded to me...
If I'd return to FPDoc for FPSpreadsheet, I think I'd use the
makeskel utility (in FPC folder) to create the frame of empty keywords in the xml, and then use an ordinary text editor for adding the text itself. There is a quite nice articel by Michael Van Canneyt about FPDoc:
https://www.freepascal.org/~michael/articles/fpdoc/fpdoc.pdfI will try to add this info in the Wiki until the end of the next week.
There is already a wiki article at
https://wiki.freepascal.org/FPDoc_Editor, I don't know whether it needs a brush-up.
BTW, there is also a large editor, LazDE (
https://wiki.freepascal.org/Lazarus_Documentation_Editor, source in folder doceditor of Lazarus installation), but I never got into how to use it.