File tab
Prev | Chapter 1. Preferences | Next

## File tab

`Encodings to autodetect`

  This entry contains comma-separated list of encodings used when loading files if encoding is not specified in the Open. medit tries every encoding from the list one by one and stops when file content is valid text in this encoding. `LOCALE` denotes encoding from current locale.

`Encoding for new files`

  This is default encoding to save new files. For every document its encoding on disk can be changed using Encoding submenu of Document menu.

`Remove trailing spaces`

  If checked, trailing whitespace characters are removed from each line of the document on save.

`Ensure trailing newline`

  If checked, new line character will be added to document on save if it doesn't end with one.

`Make backups`

  If checked, old file contents will be moved to backup file on save.

`Enable session support`

  If checked, medit will remember open documents on exit and restore them next time it's launched.

`Open and Save As dialogs show current document folder`

  If checked, Open and Save As dialogs will show folder of the current document. Otherwise they will show last used folder.

Prev | Up | Next
General tab | Home | Languages tab