CodeCompletion: Color for items is set wrong.
Original Reporter info from Mantis: PascalR @PascalRiekenberg
-
Reporter name: Pascal Riekenberg
Original Reporter info from Mantis: PascalR @PascalRiekenberg
- Reporter name: Pascal Riekenberg
Description:
The colors for the entries in the code completion window are set wrong.
The problem is the SetFontColor procedure in PaintCompletionItem in
unit ide\SourceEditProcs:
With Colors "Solarized Night" the funktion tries to invert
the color by InvertColor from unit Graphics which
returns $0000FF from $84806A!
2 problems here:
- for background $362800 and foreground $84806A SetFontColor thinks
that the contrast is to low
- InvertColor works wrong for RGB values between $80 an $A0
Mantis conversion info:
- Mantis ID: 33048
- OS: Windows 10 x64
- OS Build: 1709
- Platform: i386
- Version: 1.9 (SVN)