mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-11 19:28:58 +02:00
SynEdit: Syncro edit: fixed wrong type cast
This commit is contained in:
parent
51d2468af3
commit
3caf5b699b
@ -951,7 +951,7 @@ function TSynPluginSyncroEdit.GetContextAt(APos: TPoint): String;
|
||||
var
|
||||
Ctx: Integer;
|
||||
begin
|
||||
TSynEdit(FriendEdit).GetHighlighterAttriAtRowColEx(APos, Ctx, FLastContextLine = APos.Y);
|
||||
TCustomSynEdit(FriendEdit).GetHighlighterAttriAtRowColEx(APos, Ctx, FLastContextLine = APos.Y);
|
||||
FLastContextLine := APos.Y;
|
||||
SetLength(Result, SizeOf(Integer));
|
||||
PInteger(@Result[1])^ := Ctx;
|
||||
|
Loading…
Reference in New Issue
Block a user