mirror of https://gitlab.com/basile.b/dexed.git
fix #10 - calltip window position is incorrect when the argument is located on another line thant the call
This commit is contained in:
parent
2f2792fd7d
commit
5b137657dd
|
@ -2739,13 +2739,13 @@ begin
|
||||||
CaretXY := p;
|
CaretXY := p;
|
||||||
end;
|
end;
|
||||||
DcdWrapper.getCallTip(s);
|
DcdWrapper.getCallTip(s);
|
||||||
if s.isNotEmpty then
|
|
||||||
showCallTipsString(s, i);
|
|
||||||
if findOpenParen then
|
if findOpenParen then
|
||||||
begin
|
begin
|
||||||
CaretXY := o;
|
CaretXY := o;
|
||||||
EndUpdate();
|
EndUpdate();
|
||||||
end;
|
end;
|
||||||
|
if s.isNotEmpty then
|
||||||
|
showCallTipsString(s, i);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TDexedMemo.showCallTipsString(const tips: string; indexOfExpected: integer);
|
procedure TDexedMemo.showCallTipsString(const tips: string; indexOfExpected: integer);
|
||||||
|
|
Loading…
Reference in New Issue