mirror of https://gitlab.com/basile.b/dexed.git
fix range error when finding call tip origin
This commit is contained in:
parent
5df4b21165
commit
52ff281c9f
|
|
@ -2647,9 +2647,13 @@ begin
|
|||
i -= TabWidth
|
||||
else
|
||||
i -= 1;
|
||||
if i <= 0 then
|
||||
break;
|
||||
end;
|
||||
DcdWrapper.getCallTip(str);
|
||||
|
||||
if i > 0 then
|
||||
begin
|
||||
DcdWrapper.getCallTip(str);
|
||||
i := fCallTipStrings.Count;
|
||||
if (fCallTipStrings.Count <> 0) and str.isNotEmpty then
|
||||
fCallTipStrings.Insert(0, '---');
|
||||
|
|
@ -2672,6 +2676,7 @@ begin
|
|||
{$ENDIF}
|
||||
showCallTipsString(str, j);
|
||||
end;
|
||||
end;
|
||||
|
||||
if findOpenParen then
|
||||
CaretX:=x;
|
||||
|
|
|
|||
Loading…
Reference in New Issue