Re: [code] scintilla color issue

From: Mitchell <>
Date: Wed, 4 Jun 2014 09:01:20 -0400 (Eastern Daylight Time)

Hi Jason,

On Tue, 3 Jun 2014, Jason Haslam wrote:

> Im trying to embed scintillua in my application. Im linking LPegLexer
> statically and defining LPEG_LEXER and NO_SCITE. Everything seems to
> work, except that colors are incorrect. The red and blue components are
> swapped. I notice that the documentation says:
> Specify font colors in either "#RRGGBB" format, "0xBBGGRR format, or
> ...
> But the logic for parsing them is identical (using strtol). Im testing
> with the built-in themes, so its definitely the # format thats being
> used. I have fix for this, but Im curious how this works for others. Am
> I doing something different from the norm?

You've found a bug. The red and blue components are not being swapped
properly for the '#' format. You can use your workaround for now. I'll
have a fix committed in the next day or two. Thanks for the report!


You are subscribed to
To change subscription settings, send an e-mail to
To unsubscribe, send an e-mail to
Received on Wed 04 Jun 2014 - 09:01:20 EDT

This archive was generated by hypermail 2.2.0 : Thu 05 Jun 2014 - 06:33:27 EDT