Re: [gedit-list] eRuby plugin available?



Op wo, 09-08-2006 te 13:28 -0400, schreef John Gabriele:
> Jesse van den Kieboom wrote:
> > Op do, 20-07-2006 te 15:43 +0200, schreef David B\ufffd
> > > Hello
> > > I am using gedit for *.rhtml documents. For that type of document i am
> > > missing syntax highlighting. Is there an plugin available?
> >
> > No there is not. But it's not a plugin doing the highlighting. The rhtml
> > hihglighting issue has come up a couple of times if I recall correctly.
> > The highlighting works by inspecting the mime type of the document and
> > having language spec files which specify to which mime types they
> > apply.
> 
> How is a text file's mime type determined?

I _think_ it's a mix of inspecting the file header and extensions, but
it's a bit fuzzy. You can define mimetypes in /usr/share/mime

> When you say "new highlighting engine", do you mean a newer version of
> GtkSourceView? Or are you switching to something else?

Yes gtksourceview. It's being worked on at the moment.


-- 
Jesse van den Kieboom

Visit: http://www.icecrew.nl




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