mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-16 19:09:19 +02:00
Fix the problem that TSynMemo reports an error when the input method is enabled on Windows.
This commit is contained in:
parent
9bb3e76ac7
commit
4fd606cdfd
@ -513,7 +513,7 @@ begin
|
|||||||
dec(i);
|
dec(i);
|
||||||
end;
|
end;
|
||||||
p1.x := x + i + 1;
|
p1.x := x + i + 1;
|
||||||
p1 := FriendEdit.ClientToScreen(TSynEdit(FriendEdit).ScreenXYToPixels(
|
p1 := FriendEdit.ClientToScreen(TCustomSynEdit(FriendEdit).ScreenXYToPixels(
|
||||||
FriendEdit.TextXYToScreenXY(p1)));
|
FriendEdit.TextXYToScreenXY(p1)));
|
||||||
|
|
||||||
cp^.pt.y := p1.y;
|
cp^.pt.y := p1.y;
|
||||||
|
Loading…
Reference in New Issue
Block a user