News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Editor lexer support for keywords

Started by takeshimiya, February 17, 2006, 06:09:39 PM

Previous topic - Next topic

takeshimiya

I've made a lexer for FreeBasic, but in the road I
found that C::B doesn't supports more than one
"Language Keyword".

Currently it supports three Keyword groups: Language,
User, and Documentation.

Scintilla haves 4 Language Keyword groups for Basic, so
the lexer doesn't take in account all the keyword groups.

It would be good if new "Language" or any other Keyword
could be specified from the XML files.
So the groups would be added dinamically, and you could
have more groups than Language, User, and Documentation.

And it could lead to better separation of keywords (ie.
I could separate the C keywords from the C++ keywords).
They could use the same coloring or not, that's up to
the XML lexer.

Note: I've submitted also to berlios tracker.

What do you think?