A document type is a file classification that is defined with the Document Options command. Source Insight uses each file's name to determine what document type it is. The Document Options command allows you to define new document types or change the built-in types.

A document type specifies editing and display options based on the file name or extension of the file you are currently editing. Options such as the tab width, word wrap, auto-indentation, display font, symbol parser, and others can be controlled per file name. For example, *.C files belong to the "C Source File" document type, while *.ASM files belong to the "Asm Source File" document type.
The Document Options command associates a document type with a filename wildcard. For any given file, Source Insight determines the document type by matching its name with the filename wildcards specified in all defined document types.
The union of all document types becomes Source Insight's file "vocabulary". That is, when Source Insight shows you the files in a directory, it will only display files that belong to currently defined document types. Also, when Source Insight automatically adds files to a project, it will only add files that belong to known document types. So, by adding a new document type, you are expanding Source Insight's knowledge of file types.
See Also: Document Options command.