Released CodeSnip v4.21.1 (bug fix)
Back in December 2022 I was quite pleased with myself for releasing the v4.21.0 update to CodeSnip.
The main feature that was added in v4.21.0 work fine - automatically detecting un-registered Delphi compilers at start up - worked fine. But, oh dear, the more obscure new feature that lets you use lists in snippet descriptions was a bit of a disaster.
The main implementation of lists was a bit flaky, but the main problem is that I forgot to add the implementation of lists in snippets reports and in source code comments in generated units. This pretty much trashed the reports and comments.
It's taken a lot of coding to fix these bugs, hence the 4 month delay before this bug fix materialised. But I think I've managed it, although whether the new feature was worth the effort is debatable.
⏬Get the new release from the v4.21.1 release page on GitHub.
Here's what a snippet looks like in the UI when it's description contains an unordered list:
Here's how the same snippet appears in a generated unit or in annotated source code:
And in RTF (top) and plain text (bottom) reports look like this:
These reports were generated by doing Edit | Copy Information and pasting first into WordPad and then into Notepad++.
There was another bug that affected reports that got fixed. This one went back before v4.21.0 and it related to the table of compiler results having misaligned comments. Anyhow, they're now aligned once again in both text and RTF reports, as can be seen below:
There were several other bugs squashed. For details see the change log.
Comments
Post a Comment