Highlight Patterns Modification
this page is updated for Manual 2. It needs to be verified! once you have verified this page (and corrected if necessary) please modify the status to v (verified), i.e. st=v (see Guidelines for Writing this Manual)
The language syntax is defined in *.bflang2 files, e.g. php.bflang2 defines the syntax for the PHP language.
The format of these files is explained in sample.bflang2.
You can install a bflang2 file in ~/.bluefish/ to test it, for example ~/.bluefish/php.bflang2 will override the contents of /usr/share/bluefish/bflang2/php.bflang2. After a change of the bflang2 file bluefish needs to be restarted to see the effect. Many language files share contents: for example javascript is present in HTML, HTML5, XHTML, PHP, ASP and possibly more. The *.bfinc contain bits of language files that can be included in other language files. These files have to be available in the same directory.