

This sets the default character encoding for your files.
Select an item from the drop down box, either to disable autodetection or use Universal to enable autodetection for all encodings. But as this may probably only detect utf-8/utf-16, selecting a region will use custom heuristics for better results.
Choose your preferred end of line mode for your active document. You have the choice between UNIX®, DOS/Windows® or Macintosh.
Check this if you want the editor to autodetect the end of line type. The first found end of line type will be used for the whole file.
The editor will automatically eliminate extra spaces at the ends of lines of text while loading/saving the file.
The editor will search the given number of folder levels upwards for KWrite config file and load the settings line from it.
Backing up on save will cause KWrite to copy the disk file to <prefix><filename><suffix> before saving changes. The suffix defaults to ~ and prefix is empty by default.
Check this if you want backups of local files when saving.
Check this if you want backups of remote files when saving.
Enter the prefix to prepend to the backup file names.
Enter the suffix to add to the backup file names.
This page allows you to override the default configuration for documents of specified mimetypes. When the editor loads a document, it will try if it matches the file masks or mimetypes for one of the defined filetypes, and if so apply the variables defined. If more filetypes match, the one with the highest priority will be used.
The filetype with the highest priority is the one displayed in the first drop down box. If more filetypes were found, they are also listed.
This is used to create a new filetype. After you click on this button, the fields below get empty and you can fill the properties you want for the new filetype.
To remove an existing filetype, select it from the drop down box and press the Delete button.
The filetype with the highest priority is the one displayed in the first drop down box. If more filetypes were found, they are also listed.
The name of the filetype will be the text of the corresponding menu item. This name is displayed in the ->
The section name is used to organize the file types in menus. This is also used in the -> menu.
This string allows you to configure KWrite's settings for the files selected by this mimetype using KWrite variables. You can set almost any configuration option, such as highlight, indent-mode, encoding, etc.
For a full list of known variables, see the manual.
If you create a new file type, this drop down box allows you to select a filetype for highlighting.
The wildcards mask allows you to select files by filename. A
typical mask uses an asterisk and the file extension, for example
*.txt; *.text. The string is a semicolon-separated list of
masks.
Displays a wizard that helps you easily select mimetypes.
Sets a priority for this file type. If more than one file type selects the same file, the one with the highest priority will be used.
Click this button to download new or updated syntax highlight descriptions from the Kate website.