Flare wrapping lines in unusual places

This forum is for all Flare issues related to styles, stylesheets and XML.
Post Reply
joy
Propeller Head
Posts: 68
Joined: Thu Feb 02, 2006 4:29 pm
Location: Surrey, BC, Canada

Flare wrapping lines in unusual places

Post by joy »

I have seen a few similar topics to this (under "short lines" posts) but nothing exactly like what we are seeing.

One of our company partners uses Flare/Lingo to translate our documentation for each release. They noticed that some lines in quite a few topics were wrapping in strange places. This, in turn, was interfering with their change tracking.

Changing "Short Line" settings in the style sheet properties did not fix the problem. The Flare topic looks fine (output looks fine too), but if if you open the topic in Flare's text editor, it looks like what I've included below (red arrows show where the lines are ending). Any ideas?
shortline.png
Regards,
Joy
You do not have the required permissions to view the files attached to this post.
SteveS
Senior Propellus Maximus
Posts: 2090
Joined: Tue Mar 07, 2006 5:06 pm
Location: Adelaide, far side of the world ( 34°56'0.78\"S 138°46'44.28\"E).
Contact:

Re: Flare wrapping lines in unusual places

Post by SteveS »

Their change tracking? How do they track changes?

I notice each of the lines after an unexpected break have their own line number, as if something is adding a carriage return/ line feed.

I would try opening the topic in another text editor (notepad or similar, not Word) to see if the line is breaking in the same place. If so, something is adding a return command...

HTH
Image
Steve
Life's too short for bad coffee, bad chocolate, and bad red wine.
joy
Propeller Head
Posts: 68
Joined: Thu Feb 02, 2006 4:29 pm
Location: Surrey, BC, Canada

Re: Flare wrapping lines in unusual places

Post by joy »

Thanks for your response. Yes, the lines appear the same in both UltraEdit and Notepad.

I believe the Lingo "lingo" is differences, although I don't use the product. Our translators compare projects from version to version of our software. These short lines register as a "change".
GregStenhouse
Sr. Propeller Head
Posts: 330
Joined: Tue May 13, 2008 3:27 pm
Location: Christchurch, New Zealand

Re: Flare wrapping lines in unusual places

Post by GregStenhouse »

Short Lines I think is just for the output (e.g. PDF) only.
I don't think it is the internal text editor's word wrapping (although you might want to disable the "Word Wrapping" button above the internal text editor and see if it makes a difference.
I don't think it is hard returns, as viewing a topic in the XML editor and then again in the internal text editor will remove all of those.
I suspect those are 'soft' returns (i.e. line breaks), as they are maintained when opening via the xml editor then back to text again. Is there a chance the topics were opened in another text editor (or compare tool) that entered those breaks (perhaps via it's own word wrap feature)?
joy
Propeller Head
Posts: 68
Joined: Thu Feb 02, 2006 4:29 pm
Location: Surrey, BC, Canada

Re: Flare wrapping lines in unusual places

Post by joy »

Thanks Greg, for your suggestions. I did try the word wrap button and it only affects the "normal" lines.

Good thought: I'm now wondering whether the affected topics were ones that were reviewed/changed using Flare's X-Edit tool. If so, I guess that could be the culprit if the topics are not properly reintegrating?
LTinker68
Master Propellus Maximus
Posts: 7247
Joined: Thu Feb 16, 2006 9:38 pm

Re: Flare wrapping lines in unusual places

Post by LTinker68 »

You might also see that behavior if you copy and paste from an outside source. Extra spaces are removed from the output, but they're kind of remembered in the page code. If you did copy-and-paste from Word, for instance, then you might want to take an intermediate step and paste into Notepad to get rid of those extra code line breaks, then copy-and-paste from Notepad into Flare.
Image

Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
Post Reply