4D language support for TextMate 2
This bundle brings syntax highlighting for 4D method and class files (.4dm) to TextMate 2. It covers 4D's core syntax — control-flow keywords (both English and French forms), variables (local, interprocess, parameters), literals (dates, times, strings, hex and decimal numbers), ORDA class syntax (Class extends, Class constructor, computed-attribute accessors), tokenized commands and constants (:C/:K suffixes), database table and field references, embedded Begin SQL/End SQL blocks, and 4D's full operator set.
Install by placing 4D.tmLanguage in TextMate 2's Bundles/4D.tmbundle/Syntaxes/ folder (or via Bundle Editor → Show Bundle Editor → drag in the file), then select 4D from the language grammar picker for .4dm files.