TTMSFNCMemoLanguageFileExtensionMapItem Class
Maps a file extension to a language mode so the editor can automatically select the correct syntax highlighting when loading a file.
API unit family: TMSFNCMemo
Inherits from: TCollectionItem
Syntax
TTMSFNCMemoLanguageFileExtensionMapItem = class(TCollectionItem)
Properties
| Name | Description |
|---|---|
| Extension | The file extension (without a leading dot, e.g. pas, ts, json) that triggers this language mapping. |
| Language | The language mode applied when a file with the associated extension is opened. |