mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-10 16:37:49 +02:00
SynEdit: workaround for issue #0034563 / QT: does return false even if caret was created => causing ghost caret in synedit to show (during code completion, qt only). Commit can/should be undone when issue is fixed.
git-svn-id: trunk@59580 -
This commit is contained in:
parent
2cace808be
commit
2ff6995d1d
@ -2798,6 +2798,11 @@ begin
|
||||
exit;
|
||||
inherited ShowCaret;
|
||||
Result := LCLIntf.ShowCaret(Handle);
|
||||
{$IFDEF LCLQt}
|
||||
// workaround for issue: https://bugs.freepascal.org/view.php?id=34563
|
||||
// assume that if ShowCaret works, the cared has been created ok
|
||||
FCreated := FCreated or Result;
|
||||
{$ENDIF}
|
||||
end;
|
||||
|
||||
function TSynEditScreenCaretPainterSystem.SetCaretPosEx(x, y: Integer): Boolean;
|
||||
|
Loading…
Reference in New Issue
Block a user