mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 08:00:34 +02:00
SynEdit: Clean up
git-svn-id: trunk@27038 -
This commit is contained in:
parent
8dae7aa8b1
commit
ac930ac5a0
@ -1760,17 +1760,11 @@ begin
|
||||
end;
|
||||
|
||||
procedure TSynEditScreenCaret.HideCaret;
|
||||
var
|
||||
x, y: Integer;
|
||||
begin
|
||||
if FHandle = 0 then exit;
|
||||
if not FCurrentCreated then exit;
|
||||
x := FDisplayPos.x + FOffsetX;
|
||||
y := FDisplayPos.y + FOffsetY;
|
||||
if FCurrentVisible and LCLIntf.HideCaret(Handle) then
|
||||
FCurrentVisible := False;
|
||||
//if (x <> FCurrentPosX) or (y <> FCurrentPosY) then
|
||||
// SetCaretPosEx(FHandle, x, y);
|
||||
end;
|
||||
|
||||
end.
|
||||
|
Loading…
Reference in New Issue
Block a user