Code Snippet functionality ignoring indents for code bits?

This forum is for all Flare issues not related to any of the other categories.

Code Snippet functionality ignoring indents for code bits?

Postby bunnycat on Wed Jan 13, 2021 1:40 pm

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
bunnycat
Propeller Head
 
Posts: 66
Joined: Tue Nov 03, 2015 6:44 am

Re: Code Snippet functionality ignoring indents for code bit

Postby Vibeke B on Wed Jan 20, 2021 3:25 am

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
Vibeke B
Propeller Head
 
Posts: 59
Joined: Thu Mar 15, 2018 7:14 am
Location: Denmark


Return to Flare's General Discussion

Who is online

Users browsing this forum: Google [Bot] and 16 guests