Closed jmborer closed 5 years ago
I am developping a LaF that is Synth based. The color plugin would become very handy in this context to see the colors defined.
The definition of the colors are similar not to say identical to the CSS syntax. Example
So I tried to add the xml mime-type:
^text/(x-)?(css|less|sass|scss|java|XML)$
It doesn't work. By the way I have no idea to determine the exact mime-type of a file in the editor... Any idea?
I'll attach the xml file so that you can have a look.
carbonite.zip
After checking the source code, the answer is: not yet. It needs improvement.
Please add |.*xml. i.e. ^text/(x-)?(css|less|sass|scss|java|.*xml)$ .
|.*xml
^text/(x-)?(css|less|sass|scss|java|.*xml)$
It works. Well done!
I am developping a LaF that is Synth based. The color plugin would become very handy in this context to see the colors defined.
The definition of the colors are similar not to say identical to the CSS syntax. Example
So I tried to add the xml mime-type:
^text/(x-)?(css|less|sass|scss|java|XML)$
It doesn't work. By the way I have no idea to determine the exact mime-type of a file in the editor... Any idea?
I'll attach the xml file so that you can have a look.
carbonite.zip