SynEdit: Caret, removed QT workarounds

git-svn-id: trunk@27201 -
This commit is contained in:
martin 2010-08-26 19:33:23 +00:00
parent 987280bfe5
commit 254183e65e

View File

@ -1777,11 +1777,7 @@ begin
FCurrentVisible := False;
FCurrentClippedWidth := w;
FCurrentPosX := x - 1;
{$IFDEF LCLQT}
SetCaretRespondToFocus(Handle, True); // See bug 17173
{$ELSE}
SetCaretRespondToFocus(Handle, False); // Only for GTK
{$ENDIF}
end;
if (x <> FCurrentPosX) or (y <> FCurrentPosY) then begin
{$IFDeF SynCaretDebug}
@ -1798,9 +1794,6 @@ begin
{$ENDIF}
if LCLIntf.ShowCaret(Handle) then
FCurrentVisible := True;
{$IFDEF LCLQT}
SetCaretPosEx(Handle, x, y);
{$ENDIF}
end;
end;