fix, caret position lost when finding call tip after after left paren failed

This commit is contained in:
Basile Burg 2018-07-09 01:27:49 +02:00
parent e35b4a672a
commit be41ff25e5
1 changed files with 9 additions and 8 deletions

View File

@ -2583,8 +2583,8 @@ begin
for lne in fCallTipStrings do
if lne.isNotEmpty then
str += lne + LineEnding;
if str.isEmpty then
exit;
if str.isNotEmpty then
begin
{$IFDEF WINDOWS}
str := str[1..str.length-2];
{$ELSE}
@ -2592,6 +2592,7 @@ begin
{$ENDIF}
showCallTips(str);
end;
end;
if findOpenParen then
CaretX:=x;
end;