Specifying Line Breaks Style

By default, Serna saves documents with LF on UNIX and Mac OS X, and with CR+LF on Windows. However, you can force saving XML documents with specific line breaks, regardless of the operating system that Serna is used on.

To specify a line breaks style, do the following:

  1. Call up the Preferences Dialog.

    To call up the Preferences Dialog, choose Tools > Preferences .

  2. Select the General tab.

    Figure 1. General tab.



  3. Select a line breaks style.
    • To make Serna save documents with UNIX line breaks, select the UNIX style (LF only) radio button on the Save document linebreaks pane.

    • To make Serna save documents with Windows line breaks, select the DOS/WIN32 style (CR+LF) radio button on the Save document linebreaks pane.

  4. Click the Apply button to apply the settings.
  5. Click the Close button to close the dialog.
Related tasks
Specifying Default Location for New Documents
Specifying Autosave Settings