mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-31 20:00:26 +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;
|
end;
|
||||||
|
|
||||||
procedure TSynEditScreenCaret.HideCaret;
|
procedure TSynEditScreenCaret.HideCaret;
|
||||||
var
|
|
||||||
x, y: Integer;
|
|
||||||
begin
|
begin
|
||||||
if FHandle = 0 then exit;
|
if FHandle = 0 then exit;
|
||||||
if not FCurrentCreated then exit;
|
if not FCurrentCreated then exit;
|
||||||
x := FDisplayPos.x + FOffsetX;
|
|
||||||
y := FDisplayPos.y + FOffsetY;
|
|
||||||
if FCurrentVisible and LCLIntf.HideCaret(Handle) then
|
if FCurrentVisible and LCLIntf.HideCaret(Handle) then
|
||||||
FCurrentVisible := False;
|
FCurrentVisible := False;
|
||||||
//if (x <> FCurrentPosX) or (y <> FCurrentPosY) then
|
|
||||||
// SetCaretPosEx(FHandle, x, y);
|
|
||||||
end;
|
end;
|
||||||
|
|
||||||
end.
|
end.
|
||||||
|
Loading…
Reference in New Issue
Block a user