Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: comsytec on March 26, 2013, 03:56:59 pm

Title: Lexer how to
Post by: comsytec on March 26, 2013, 03:56:59 pm
Is there some guide about how to create lexer file(s) ?
Title: Re: Lexer how to
Post by: Folco on March 26, 2013, 04:00:25 pm
The simplest way is to look at the scintilla code of other lexers, and to search fot the used class. Perhaps you could find any doc on the Scintilla site.
Title: Re: Lexer how to
Post by: Jenna on March 26, 2013, 08:00:33 pm
You can also look into these wiki-article
http://wiki.codeblocks.org/index.php?title=Creating_a_custom_lexer_for_Code::Blocks_editor (http://wiki.codeblocks.org/index.php?title=Creating_a_custom_lexer_for_Code::Blocks_editor)
and the link to the patch-tracker you find here:
http://wiki.codeblocks.org/index.php?title=Java_lexer (http://wiki.codeblocks.org/index.php?title=Java_lexer)