mirror of https://gitlab.com/basile.b/dexed.git
fix, caret position lost when finding call tip after after left paren failed
This commit is contained in:
parent
e35b4a672a
commit
be41ff25e5
|
@ -2583,14 +2583,15 @@ begin
|
|||
for lne in fCallTipStrings do
|
||||
if lne.isNotEmpty then
|
||||
str += lne + LineEnding;
|
||||
if str.isEmpty then
|
||||
exit;
|
||||
{$IFDEF WINDOWS}
|
||||
str := str[1..str.length-2];
|
||||
{$ELSE}
|
||||
str := str[1..str.length-1];
|
||||
{$ENDIF}
|
||||
showCallTips(str);
|
||||
if str.isNotEmpty then
|
||||
begin
|
||||
{$IFDEF WINDOWS}
|
||||
str := str[1..str.length-2];
|
||||
{$ELSE}
|
||||
str := str[1..str.length-1];
|
||||
{$ENDIF}
|
||||
showCallTips(str);
|
||||
end;
|
||||
end;
|
||||
if findOpenParen then
|
||||
CaretX:=x;
|
||||
|
|
Loading…
Reference in New Issue