Where you insert hidden a CR/LF, if the user expands their window, the break is maintained.
Where you insert a visible <CR><LF> (just for example) and the user expands their window, the wrapped line rejoins the previous line and includes the visible line break indicator, which is not part of the code. -----Original Message----- From: Neil Tubb [mailto:neil.t...@solacesystems.com] Sent: Thursday, November 29, 2007 2:10 PM To: Kelly McDaniel; framers at frameusers.com Subject: RE: Indicating Code Sample Line Breaks Thanks for the replies everyone! All I was asking about was lines that wrapped...sounds like most think that simply indenting will cover it off. It was a developer that told me to put in a visual indicator...why would this "bite me"? Very odd. -----Original Message----- From: framers-boun...@lists.frameusers.com [mailto:framers-bounces at lists.frameusers.com] On Behalf Of Kelly McDaniel Sent: Thursday, November 29, 2007 3:05 PM To: framers at frameusers.com Subject: RE: Indicating Code Sample Line Breaks Put the code in a cell or leave it in the body, makes no difference to the user. Code in the body of the text is easier to maintain in docs. Indent the line continuation. Do not put any character at the end of a broken line. Coders know that lines break. Non-code characters intended to visually indicate a line break will bite you. If the first word of a following line tries to jump back up to the end of the previous line, force it to the following line with invisible space(s) as needed. The point of the code sample is to present it in a manner that's acceptable to coders. -----Original Message----- From: framers-boun...@lists.frameusers.com [mailto:framers-bounces at lists.frameusers.com] On Behalf Of Art Campbell Sent: Thursday, November 29, 2007 1:13 PM To: Neil Tubb Cc: framers at frameusers.com Subject: Re: Indicating Code Sample Line Breaks I put each line of code into a single cell -- if you're doing that, just set an indent for the subsequent lines. I've never put anything at the end of the line and never had anyone fail to understand that a hanging first line and indented following lines indicated that the line wrapped. Manually adding a special character would be possible, but a real PITA to maintain... If you had to do it, you could create a second column to the right of the code sample just wide enough for a character or two and create a paragraph tag that would generate the symbol. And then only use that character format in the cell for lines that wrap. That would still allow you to cut and paste freely in the "code" column. Art On Nov 29, 2007 1:59 PM, Neil Tubb <neil.tubb at solacesystems.com> wrote: > Hi all, > > > > Please help me...I'm working on an SDK programming guide, and I have > some sample code lines that are just too long. I am told I need to > indicate that the lines are breaking with some kind of an carriage > return arrow icon, and then indent the following line. > > > > Does anyone have any good ideas on how to do this in FrameMaker? I'm > using Frame 7.1 on Windows XP. My code samples are done in a single > table cell. > > -- Art Campbell art.campbell at gmail.com "... In my opinion, there's nothing in this world beats a '52 Vincent and a redheaded girl." -- Richard Thompson No disclaimers apply. DoD 358 _______________________________________________ You are currently subscribed to Framers as kmcdaniel at pavtech.com. Send list messages to framers at lists.frameusers.com. To unsubscribe send a blank email to framers-unsubscribe at lists.frameusers.com or visit http://lists.frameusers.com/mailman/options/framers/kmcdaniel%40pavtech. com Send administrative questions to listadmin at frameusers.com. Visit http://www.frameusers.com/ for more resources and info. _______________________________________________ You are currently subscribed to Framers as neil.tubb at solacesystems.com. Send list messages to framers at lists.frameusers.com. To unsubscribe send a blank email to framers-unsubscribe at lists.frameusers.com or visit http://lists.frameusers.com/mailman/options/framers/neil.tubb%40solacesy stems.com Send administrative questions to listadmin at frameusers.com. Visit http://www.frameusers.com/ for more resources and info.