[MonoDevelop] About MIME types

Federico Di Gregorio fog at initd.org
Fri Sep 17 04:27:29 EDT 2010


Hi,

I have a little question about how MD editor uses MIME types. Lately
I've noted that my CSS files are not highlighted and I started to write
a syntax file only to discover that a syntax files already exists. The
only problem is that it specifies "text/x-css" as MIME type. I don't
know from where text/x-css comes but just appending ";text/css" (i.e.,
the correct MIME type) made the editor correctly highlight CSS files.

So, here are the questions:

1) From where does text/x-css comes?
2) It is file to send a patch that adds the correct MIME type to make
   sure the editor highlighting always work?

federico

-- 
Federico Di Gregorio                                       fog at initd.org
 There's no greys, only white that's got grubby. I'm surprised you
  don't know that. And sin, young man, is when you treat people as
  things. Including yourself.                       -- Granny Weatherwax

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
Url : http://lists.ximian.com/pipermail/monodevelop-list/attachments/20100917/7e8594c1/attachment.bin 


More information about the Monodevelop-list mailing list