Hi,

is there any chance to have two style bytes for one character? One style for backColor and one for other style properties. The purpose is to easily distinguish embedded languages by backColor independently on "fore" style.

It would be nice to have styles set to few general types like "string", "comment", "keyword" (etc) independently on language (common for all lexers). For embedded languages user will be able to define "background color" per language.

Or other solution:

struct CharStyle {
        int backColor;
        int foreColor;
        int fontIndex;
        int fontSize;
        bool fontBold;
        // etc...
} for each character (Am I insane? ;) )

I'm working on universal lexer which can work with any (external) language grammar. The grammar itself can include other grammar in recursive call. And so on... So it will be nice to have more powerful control of each character (or region?) appearance.

Best regards,

Martin
_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to