Missing example code syntax highlighting wrong indentation after help page updates

Hello all,

I've updated two BASIC help pages (Rnd and Randomize) and now noticed (on master) that the code examples on those pages lack syntax highlighting, and all examples have wrong indentation throughout BASIC help.

Further details in https://bugs.documentfoundation.org/show_bug.cgi?id=99809#c4

Does anybody know what the problem could be? Does anything else need to be updated?

Thanks in advance,

Johnny_M

Hi Johnny,

klasse@partyheld.de schrieb:

Hello all,

I've updated two BASIC help pages (Rnd and Randomize) and now noticed
(on master) that the code examples on those pages lack syntax
highlighting, and all examples have wrong indentation throughout BASIC
help.

Further details in
https://bugs.documentfoundation.org/show_bug.cgi?id=99809#c4

Does anybody know what the problem could be? Does anything else need to
be updated?

Thanks in advance,

Christian Lohmaier has updated the xsl filter to preserve the bascode-tags (2016-04-12). Do you have already got the current filters? Compare your versions with the versions in https://cgit.freedesktop.org/libreoffice/contrib/dev-tools/tree/helpauthoring/filter. It might be, that the current version is not yet included in the extension. But you can manually exchange the files if needed.

If the bascode tags got lost, please open the help file in a text editor and add them. The extension has yet no UI to newly add the tags. The transformation for syntax-highlighting is then done while compiling.

Kind regards
Regina

Hi Regina,

The auto-removed "bascode" tags were the issue, thanks! It's been fixed and confirmed (latest daily) on master.

The current "HelpAuthoring-3.1.4.oxt" extension doesn't have those latest filters. It would be great if it could be updated.

The changed (wrong? - just two spaces, no sub-indentation for statements) indentation in all code examples throughout BASIC help is an independent and pre-existing issue.

Best,

Johnny_M

I've submitted https://bugs.documentfoundation.org/show_bug.cgi?id=99861 for the seemingly broken BASIC code example indentation throughout the documentation.

Johnny_M