mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-11 09:28:07 +02:00
IDE: editor completion dropdown - fix painting. Some chars where "chopped off". Proportional fonts can overlap into the next cell, therefore when continuing to paint, the next token must not clear the background.
This commit is contained in:
parent
1cc6cfaaf2
commit
60c4e28fd7
@ -38,7 +38,7 @@ interface
|
||||
uses
|
||||
Classes, SysUtils, RegExpr,
|
||||
// LCL
|
||||
LCLType, Graphics, Controls,
|
||||
LCLType, Graphics, Controls, LCLIntf,
|
||||
// LazUtils
|
||||
LazFileUtils, LazStringUtils,
|
||||
// SynEdit
|
||||
@ -303,6 +303,7 @@ var
|
||||
HintModifier: TPascalHintModifier;
|
||||
HelperForNode: TCodeTreeNode;
|
||||
begin
|
||||
SetBkMode(ACanvas.Handle, TRANSPARENT);
|
||||
if Colors<>nil then
|
||||
begin
|
||||
if ItemSelected then
|
||||
|
Loading…
Reference in New Issue
Block a user