# Edit Fileytype

Write the name of the filetype in the first line.

1. Under it you see a list of the available actions:
   - Drag'n'Drop-Action
   - Doubleclick-Action
     The defined action will be executed on a doubleclick.
   - Display-Action
     The defined action will be executed in case of the usage of the show-function.
   - Raw Display-Action
     The defined action will be executed in case of the usage of the raw-show-function.
   - User-Action
     The defined action will be executed if the user-function with the corresponding number is used.

You find a list of the defined actions beneath it:

2. Add a command
   A list with all available Functions will appear
3. Remove the selected command from the list.
4. Edit the selected command
5. Move the selected command up. It will be executed before the other ones.
6. The same but moving down.

The settings for the filetype are in the lower part of the window divided into several tabs (7).

In the tab "Pattern" you can define a pattern which will be used for filetype recognition using the filename (e.g. *.html).

8. If set, the pattern will be used for recognition.
9. If set, the case of the characters is ignored
10. If set, the pattern is interpreted as an regular expression. A short introduction can be dispayed using the help button (button 12) or read the man page (man 7 regex).
11. It is possible to use the whole filename including the path for pattern matching if this option is set.
12. This button displays a short help about using the pattern and regular expressions.

The other tabs are described here: Filecontent, Extented test and Colors. "Flags" are currently not used.

Goto filetypes
Goto Configuration
Home