Merged revision(s) 55941 #7e8132a70d from trunk:

SynEdit: Paint Caret in paint-event (except win32) / some very few gtk may have issues
........

git-svn-id: branches/fixes_1_8@55961 -
This commit is contained in:
maxim 2017-10-02 22:43:28 +00:00
parent 23e65f4d21
commit afe7bb4b26

View File

@ -2882,14 +2882,10 @@ end;
procedure TSynEditScreenCaretPainterInternal.Init;
begin
{$IFDEF LCLCarbon}
FForcePaintEvents := True;
{$ELSE}
{$IF DEFINED(LCLQt) OR DEFINED(LCLQt5)}
FForcePaintEvents := True;
{$ELSE}
{$IFDEF LCLWin32}
FForcePaintEvents := False;
{$ENDIF}
{$ELSE}
FForcePaintEvents := True;
{$ENDIF}
FSavePen := TPen.Create;
FColor := clBlack;