getting code indents correctly on import or paste

This forum is for all Flare issues not related to any of the other categories.
Post Reply
cayennep
Sr. Propeller Head
Posts: 394
Joined: Mon Jul 26, 2010 3:42 pm

getting code indents correctly on import or paste

Post by cayennep »

I've gotten this to work in the past, but now it's not - in the imported docs, nor via copy and paste using 'paste inline text'

Wonder if it's that the code uses spaces instead of tabs, but thought even this version worked previously.

Any tips appreciated, thanks
Nita Beck
Senior Propellus Maximus
Posts: 3672
Joined: Thu Feb 02, 2006 9:57 am
Location: Pittsford, NY

Re: getting code indents correctly on import or paste

Post by Nita Beck »

If you paste within a <pre> tag, the spaces should be preserved. But outside of a pre tag, Flare will ignore extra spaces. If you don't want to paste within a pre tag but still want the content to be indented by spaces, you'll have to make them into non-breaking spaces.
Nita
Image
RETIRED, but still fond of all the Flare friends I've made. See you around now and then!
cayennep
Sr. Propeller Head
Posts: 394
Joined: Mon Jul 26, 2010 3:42 pm

Re: getting code indents correctly on import or paste

Post by cayennep »

ah, yes, forgot to mention I'm doing that as well - pre tag, paste, choose 'inline text' option

nada. and this has worked in the past, not sure the diff - tried from word and pdf
Nita Beck
Senior Propellus Maximus
Posts: 3672
Joined: Thu Feb 02, 2006 9:57 am
Location: Pittsford, NY

Re: getting code indents correctly on import or paste

Post by Nita Beck »

<graspAtStraw>Try pasting in as paragraphs instead of inline, but still within the pre tag.</graspAtStraw>
Nita
Image
RETIRED, but still fond of all the Flare friends I've made. See you around now and then!
Post Reply