Line Break Dialog

The Line Break dialog is available from the Commands menu (main window). 

Add the files you want to change to the FAR file list, select the required line break system and press OK. The files will be changed to the selected line break system. On completion the Matches Column (FAR file list) will show number of line breaks found in each file, while the Replacements Column will show the number of changes made to each file.

Warning: Be careful to check the file list carefully before starting. Only change text files (EG. .html, .txt, .xml). Modifying a binary file will simply corrupt the file.

About Line Breaks

Line breaks are encoded differently on Windows, Mac and Unix systems.

When you "view source" on a web document you may see an endless text line with no breaks. The breaks are there, but the document was probably formatted on a different operating system (although sometimes files are obfuscated by ripping out white space and line break chars).

Commands
MS Windows CR/LF line breaks Ensure that all files contain CR/LF line breaks.
Apple Mac CR line breaks Ensure that all files contain CR line breaks.
Unix LF line breaks Ensure that all files contain LF line breaks.
Report only (files not modified) Report on text lines found in each file, including blank lines (lines containing only whitespace).
Remove CR, LF, Tabs FAR searches for all CR, LF and Tab (0x09) characters and replaces them, and all surrounding whitespace, with a single space character. Why would you want to do this? Possibly to obfuscate and protect your code by making it less readable.
Add Line Breaks Some HTML files have been stripped of line breaks. This command attempts to add line breaks and indents at logical locations by examining HTML or XML tags. The command has no effect on non-tagged files such as .txt files. No attempt is made to format script.

Whitespace =  Space character and all low ASCII characters (eg. CR, LF, Tab).


http://www.HelpwareGroup.com/