A mode system is implemented in the editor with the possibility to change key bindings and fonts. The files suffixes can be used to automatically select a specific mode when a file is loaded. Some modes are built-in (default, C-mode, C++mode, Latex, shell, etc).
For more details, see mode.sc (§5.24 page ).