Categories


Popular topics

(Created page with "Category:Settings:File handlingThe '''File handling » DOS/Unix/Mac handling''' branch of Settings has the following options. <h2 class="se...")
 
(No difference)

Latest revision as of 21:51, 16 January 2018

The File handling » DOS/Unix/Mac handling branch of Settings has the following options.

Default file type for new files

  • DOS
  • Unix
  • Mac

This setting determines the default line terminator type for new files created within the editor; DOS (CR/LF, or hex 0D 0A) is the default. You can optionally set this to Unix (LF only, or hex 0A) or Mac legacy (CR only, or hex 0D).

Unix/Mac file detection/conversion

  • Never prompt to convert files to DOS format
    If selected, the editor will never prompt you to convert line terminators to DOS (Windows standard) format. This is the default setting.
  • Prompt to convert if file is not DOS format
    If selected, the editor will prompt you on file open to convert Unix or Mac line terminators to DOS format. You can choose whether or not to convert them on a per-file basis.
  • Automatically convert to DOS format
    If selected, the editor will automatically convert non-DOS line endings to DOS format silently and automatically on open, without any prompt to you.

Only recognize DOS terminated lines (CR/LF) as new lines for editing

By default the editor automatically detect and handles Unix/Mac line endings as new lines. This setting will force the editor to only recognize DOS terminated lines (CR/LF) as new lines. In this case, the Unix or Mac line endings are displayed as a space.

If this feature is used with a file that has mixed line terminators (and they must be maintained), it should be used without enabling automatic conversion to DOS format (above). If automatic conversion is set when editing such files, any occurrences of CR-only or LF-only will be converted automatically to CR/LF.

Save file as input format (Unix/Mac/DOS)

This option instructs the editor to automatically save the file as the original format (Unix/Mac) when saved unless you manually converted the file after opening.

Status bar shows original line terminator format (on disk)

If this option is selected and the file is automatically converted to DOS format when opened, the status bar will still indicate the file's original format (Unix or Mac) when the file is loaded.

MediaWiki spam blocked by CleanTalk.