Writing language definition files

From Bluefish Wiki
Revision as of 20:56, 11 March 2014 by OlivierSessink (talk | contribs) (Created page with "= Bluefish language definition files = All syntax highlighting and autocompletion is defined in bluefish language definition files, saved in .bflang2 files. In the source cod...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Bluefish language definition files

All syntax highlighting and autocompletion is defined in bluefish language definition files, saved in .bflang2 files. In the source code they can be found in data/bflang/

On Linux they are installed in /usr/share/bluefish/bflang/

If you store a bflang2 file in your bluefish settings directory ~/.bluefish/ it has higher priority than the system wide installed files. So if you are going to change a bflang2 file, just copy it into ~/.bluefish/

The format of the file

The file format is XML.

It starts with a root tag <bflang>:

<bflang name="Shell" version="2.0" > </bflang>