Re: [code] scintilla color issue

From: Mitchell <>
Date: Thu, 5 Jun 2014 08:35:54 -0400 (Eastern Daylight Time)


On Wed, 4 Jun 2014, Mitchell wrote:

> 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!

I committed a fix yesterday that is in the current nightly build.


You are subscribed to
To change subscription settings, send an e-mail to
To unsubscribe, send an e-mail to
Received on Thu 05 Jun 2014 - 08:35:54 EDT

This archive was generated by hypermail 2.2.0 : Fri 06 Jun 2014 - 06:33:21 EDT