# Preferences

Editor settings
Display settings
Ascii view settings (1)
Ascii view settings (2)
Hex view settings
Misc settings

## Editor settings

Persistent selection | When checked, block selections will not be reset when the cursor is moved.
Use tab | When checked, a tab characters (0x09) is inserted when the tab key is pressed, otherwise spaces are inserted until the next tab stop.
Optimal fill | When checked, indenting will use tab characters (0x09) whenever it is possible.
Enable virtual space | When checked, it is possible to move the cursor beyond the end of a line.
Tab size | The tab size in characters.
Word separators | A list of characters which is used to separate words. These may be overrided by the current syntax definition.
Max undo size | The maximum number of bytes the undo buffer may use. One byte is roughly equal to one character.
Line ending | The character sequence used for ending a line. Note that the loaded file will NOT have it's line endings modified. This setting only affects new line endings inserted in the text..

## Display settings

Syntax highlighting | Check to enable syntax highlighting.
Show right margin | Show the right margin as a thin line. Note that Kon does not support on the fly word wrapping. The right margin is only used as an indicator.
Right margin | The right margin (in characters).

## Ascii view (1)

Font | Select the font you wish to use.
Font size | Select the font size. For bitmapped fonts in OS/2, the size is displayed in width and height of the character box.
Fixed width only | Check to use fixed width fonts only. This is the recommended setting.
Bitmapped fonts only | Check to use bitmapped fonts only. This is the recommended setting for OS/2.
Font and colors | Select the item you wish to change the color or font for.

## Ascii view (2)

Show line numbers | When checked, the line numbers are shown in the left margin.
Show saved positions | When checked, saved positions are shown in the left margin.
Characters | Width of the left margin in characters.

## Hex view

Same as for Ascii view (1).

## Misc settings

Backup files | When checked, when saving a file, the file to be overwritten is saved with a .BAK extension.
Use system file dialog | When checked, the system file dialog is used. For Windows this should normally be checked, but in OS/2 Kon's replacement dialog may be a better choice.
Use alternate fonts in GUI | Check to use a larger font for the GUI than the system fonts.
Autosave | When checked, unsaved files will be automatically saved to <KON HOMEDIR>\ASV at the specified intervals. When the file is closed, the autosaved file is removed. Note that the original file is never overwritten! The autosaved file is stored in a separate directory, as above.
Autoclose main window | When checked, Kon will close the application when the last file is closed. Otherwise, a new scratch window will be opened.
Show command field | When checked, a command field for entering K commands will be shown at the bottom of the Kon editor window.
Reuse existing control | If a file is to be loaded which already has been loaded into Kon, focus is switched to that control instead of opening a new one.
Query before loading Unicode file | Ask whether a unicode file should be converted from Unicode into Ansi when loaded or be kept as binary.