<div dir="ltr"><div><div><div><div>Hi all!<br></div><div><br></div>While playing with colors for pairtaghighlighter plugin, I saw that Scintilla is using BGR instead of normal RGB. I found existing code in Geany source to use it in my plugin.<br>
<br>utils_invert_color from utils.c deals with replacing blue with red, but with mistake.<br></div><br></div>Below are results of my testing with random color:<br></div>11111111 11001100 10011001 - input color <br><div>10011001 11001100 11111111 - result of my function (rgb2bgr)<br>
</div><div>00000000 00110011 01100110 - result of utils_invert_color<br><br></div><div>A little source file is attached.<br></div><div>If it is really mistake (maybe I don't know something), I will do commit and pull request.<br>
<br>Any comments about this?<br></div><div><br></div><div><div><div><div><div><br>-- <br>Best regards,<br>Volodymyr Kononenko<br><a href="http://kononenko.ws" target="_blank">http://kononenko.ws</a><br>
</div></div></div></div></div></div>