@b4n commented on this pull request.
In data/geany.gtkrc:
> @@ -56,8 +56,8 @@ style "geany-compiler-error-style" { fg[ACTIVE] = "#ffff00000000" } style "geany-compiler-context-style" { - fg[NORMAL] = "#888800000000" - fg[ACTIVE] = "#888800000000" + fg[NORMAL] = "#7f7f00000000" + fg[ACTIVE] = "#7f7f00000000"
I just went in python and did
hex(int((0x7f/255.0)*65535))
to scale from 8-bit to 16-bit.
Hence the precision loss :)
>>> hex(int(0xff/2))
'0x7f'
>>> hex(int(0xffff/2))
'0x7fff'
>>> hex(int(int(0x7fff*0xff/0xffff)/0xff*0xffff))
'0x7f7f'
Would be better to use 8-bit HTML-style notation, if supported.
I think it is supported, just use "#7f0000"
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.