SynEdit: Clean up

git-svn-id: trunk@27038 -
This commit is contained in:
martin 2010-08-08 15:58:07 +00:00
parent 8dae7aa8b1
commit ac930ac5a0

View File

@ -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.