Page 1 of 1
Lexer CSS
Posted: Wed Dec 02, 2009 7:41 pm
by Amanita
There was no lexer for CSS, not that I could find, so I made one and if anyone has any need for it I'd like to share it
Just download and place in the lexers map. On Linux it's "~/.codelite/lexers/Default/".
I'm not entirely sure the keyword's are actually used by scintilla, but just in case I'll keep them in the file anyway.
Regards,
Amanita
Re: Lexer CSS
Posted: Wed Dec 02, 2009 7:42 pm
by eranif
thanks,
I will look at it later tonight
Eran
Re: Lexer CSS
Posted: Wed Dec 02, 2009 7:53 pm
by Amanita
eranif wrote:thanks,
I will look at it later tonight
Eran
Yes, I noticed I did a bad naming "CSS Cascading Stylesheets" and changed to "CSS" and updated the file, so it should be ok now. Didn't put so much effort into the coloring or fontstyles because I figure everyone have their own familiar style they'd like to configure into anyway. I do at least.
Re: Lexer CSS
Posted: Wed Oct 10, 2012 9:07 pm
by underdoeg
I tried to add this lexer to new newest version (r5770) but it doesn't appear anywhere. Has the behaviour of lexers changed? I noticed that all of them are in one file now and according to this wiki page
http://codelite.org/LiteEditor/AddingNewLexer there should already be some lexers in ~/.codelite/lexers/Default. But the Default folder didn't exist there. I'm on ubuntu 12.04 64bits.
Re: Lexer CSS
Posted: Wed Oct 10, 2012 11:06 pm
by eranif
underdoeg wrote:I tried to add this lexer to new newest version (r5770) but it doesn't appear anywhere. Has the behaviour of lexers changed? I noticed that all of them are in one file now and according to this wiki page
http://codelite.org/LiteEditor/AddingNewLexer there should already be some lexers in ~/.codelite/lexers/Default. But the Default folder didn't exist there. I'm on ubuntu 12.04 64bits.
I have updated
http://www.codelite.org/LiteEditor/AddingNewLexer to describe how to add a new lexer with the recent codelite versions
Eran