Code Snippet functionality ignoring indents for code bits?

This forum is for all Flare issues not related to any of the other categories.
Post Reply
bunnycat
Propeller Head
Posts: 70
Joined: Tue Nov 03, 2015 6:44 am

Code Snippet functionality ignoring indents for code bits?

Post by bunnycat »

Anybody notice that the code snippet feature in 2020R3 Flare just seems to bail on indenting your code snippets properly?

I copied an XML snippet from Notepad++, where it was formatted to indent a property. Notepad++ had the indent properly.
Flare's Code Snippet dialog box showed it indented when I copied it in and selected XML language.
Flare's XML editor does not display it indented.
Built topic in PDF/TopNav does not have indented.

It worked in previous 2020 service packs, I swear it did. Am I hallucinating?
Code snippet feature was nice, now I may go back to using PrismJS for my syntax highlighting needs.

CAT
Vibeke B
Propeller Head
Posts: 73
Joined: Thu Mar 15, 2018 7:14 am
Location: Denmark

Re: Code Snippet functionality ignoring indents for code bit

Post by Vibeke B »

Hi!
I have just discovered this feature and wanted to use it instead of the the <pre> style. I thought I was doing something wrong until I saw your post.
I'm eager to hear about a fix before I convert loads of code samples to snippets that don't work.

Regards,
Vibeke
Post Reply