Hi guys I modified the XML lexer to look like Firefox's color scheme. Unfortunately C::B doesn't recognize the change!! I also started writing a CSS lexer...... When I open CSS files though C::B doesn't colorize it.... :( Help????
Here are the lexers. Rename to .xml. :)
EDIT:
CSS lexer seems to work. Now I need to fix it. :)
Those files are blank ;)
Quote from: 280Z28 on December 16, 2005, 03:44:44 AM
Those files are blank ;)
LOL :shock: Probably because I had C::B open at the time????
Ok here is the modified XML lexer. C::B doesn't recognize the changes though.... Why?????
Have you opened the editor options and clicked on "reload"?
Quote from: thomas on December 16, 2005, 06:06:09 PM
Have you opened the editor options and clicked on "reload"?
Where is that? I did Settings->Editor->Colors.
I have RC2.
Quote from: Seth Jackson on December 16, 2005, 06:13:48 PM
Quote from: thomas on December 16, 2005, 06:06:09 PM
Have you opened the editor options and clicked on "reload"?
Where is that? I did Settings->Editor->Colors.
I have RC2.
If I may, I suggest you update to one of the nightlies. Lots and lots of bugs have been patched, plus that could be the issue here. I only used RC2 for 30 minutes before I saw all the reports of fixes since then, so I don't know about this specific one. :)
Quote from: 280Z28 on December 16, 2005, 06:30:43 PM
Quote from: Seth Jackson on December 16, 2005, 06:13:48 PM
Quote from: thomas on December 16, 2005, 06:06:09 PM
Have you opened the editor options and clicked on "reload"?
Where is that? I did Settings->Editor->Colors.
I have RC2.
If I may, I suggest you update to one of the nightlies. Lots and lots of bugs have been patched, plus that could be the issue here. I only used RC2 for 30 minutes before I saw all the reports of fixes since then, so I don't know about this specific one. :)
I agree. It is sometime already that I use SVN versions and never had problems. Just in case, you can keep installed (as I do :)) the official RC2 version.
Michael
Quote from: Seth Jackson on December 16, 2005, 06:13:48 PM
Quote from: thomas on December 16, 2005, 06:06:09 PM
Have you opened the editor options and clicked on "reload"?
Where is that? I did Settings->Editor->Colors.
I have RC2.
"Settings->Editor->Colors->Reset defaults"
This asks C::B to reload from disk and forget all modifications.
Quote from: mandrav on December 16, 2005, 06:56:36 PM
Quote from: Seth Jackson on December 16, 2005, 06:13:48 PM
Quote from: thomas on December 16, 2005, 06:06:09 PM
Have you opened the editor options and clicked on "reload"?
Where is that? I did Settings->Editor->Colors.
I have RC2.
"Settings->Editor->Colors->Reset defaults"
This asks C::B to reload from disk and forget all modifications.
Ah I see. Thanks.
Another question.
what is
#define wxSTC_CSS_OPERATOR 5
I need to know so I can colorize it. I mean what CSS code does this colorize????
EDIT:
Yiannis could you replace the old XML lexer with my new one in SVN please?
As soon as I finish the CSS lexer I'll post it. :)
Ok my CSS lexer is finished. Unfortunately, all the CSS attributes are colourized as unknown. Is this a C::B error or what?
Could the new XML lexer and the CSS lexer be added to SVN??
EDIT:
The above problem is fixed in SVN HEAD. :) I am removing the CSS lexer from this post.