Re: [gedit-list] creating a new snippet language file



--- Steve Frécinaux <nudrema gmail com> wrote:

> Joachim Noreiko wrote:
> > I can't see what's wrong with the file, so all I
> can
> > think of is that it's not working because Gedit
> > doesn't recognize docbook as a filetype (eg for
> syntax
> > highlighting).
> 
> Yes, that's it. You might solve it by creating a
> .lang for docbook (or 
> just simply copy the XML one) and link it to the
> docbook mimetype (I 
> suppose there is one)

Yes, there is -- Nautilus opens Docbook files in Yelp
by default (though the creative things we do at the
documentation project with Xincludes confuse it
sometimes... ;)
 
> Otherwise, you can just put your new snippets in the
> XML group ;-)

I'm doing this with a view to submitting a small
collection docbook snippets for inclusion in gedit --
so it's up to you, what do you prefer?


		
___________________________________________________________ 
Does your mail provider give you FREE antivirus protection? 
Get Yahoo! Mail http://uk.mail.yahoo.com



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]