mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-27 10:20:19 +02:00
SynEdit: Fix painting user defined colors (missed update, if editor is hidden)
git-svn-id: trunk@42509 -
This commit is contained in:
parent
1396a95a14
commit
c0948b5372
@ -155,7 +155,6 @@ type
|
||||
public
|
||||
constructor Create(ASynEdit : TSynEditBase);
|
||||
destructor Destroy; override;
|
||||
procedure IncPaintLock; override;
|
||||
procedure DecPaintLock; override;
|
||||
|
||||
// AFirst/ ALast are 1 based
|
||||
@ -1853,15 +1852,6 @@ begin
|
||||
inherited Destroy;
|
||||
end;
|
||||
|
||||
procedure TSynEditMarkupHighlightAllBase.IncPaintLock;
|
||||
begin
|
||||
if FPaintLock = 0 then begin
|
||||
FNeedValidatePaint := False;
|
||||
FNeedValidate := False;
|
||||
end;
|
||||
inherited IncPaintLock;
|
||||
end;
|
||||
|
||||
procedure TSynEditMarkupHighlightAllBase.DecPaintLock;
|
||||
begin
|
||||
inherited DecPaintLock;
|
||||
|
Loading…
Reference in New Issue
Block a user