2 Jun 2011 11:46
Re: bfinc highlighting
On Tue, 31 May 2011 21:55:32 +0200 Olivier Sessink <olivier@...> wrote: > On 05/31/2011 05:09 PM, Olivier Sessink wrote: > > On 05/28/2011 12:23 PM, Daniel Leidert wrote: > >> Am Freitag, den 27.05.2011, 22:30 +0200 schrieb Olivier Sessink: > >>> On 05/27/2011 04:48 PM, clansco wrote: > >>>> Hi, > >>>> mime-type application/x-bluefish-language2 (bluefish.xml.in) is > >>>> for both *.bflang2 and *.bfinc > >>>> but bflang2.bflang2 is strict, all tags in<definition><context>. > >>>> Actually bfinc files are not highlighted. > >>>> I have split bluefish.xml in: > >>>> mime-type application/x-bluefish-language2 and > >>>> mime-type application/x-bluefish-language2-include > >>>> and create bfinc..bflang2. > >>>> > >>>> Can I commit ? > >>>> > >>> > >>> if it works good, go ahead and commit! > >> > >> I highly disagree. ".bfinc" files are just bflang snippets and not > >> separate files. They cannot have an own MIME type. (And JFTR: you > >> won't be able to create a pattern for file-type recognition.) > >> Better rename them to .bflang2 (like one would do with XML files) > >> and check, if that fixes the issue. One probably needs to relax > >> the bflang2 highlighting rules then. > > > > or: use "application/x-bluefish-language2" in the strict bflang(Continue reading)
RSS Feed