mirror of https://gitlab.com/basile.b/dexed.git
fix, windows, empty line in call tips
This commit is contained in:
parent
f7cb97831c
commit
1ff8b9e878
|
@ -390,7 +390,11 @@ begin
|
|||
//
|
||||
fTempLines.Delete(0);
|
||||
tips := fTempLines.Text;
|
||||
{$IFDEF WINDOWS}
|
||||
tips := tips[1..tips.length-2];
|
||||
{$ELSE}
|
||||
tips := tips[1..tips.length-1];
|
||||
{$ENDIF}
|
||||
end;
|
||||
|
||||
procedure TCEDcdWrapper.getComplAtCursor(aList: TStrings);
|
||||
|
|
|
@ -1029,6 +1029,11 @@ begin
|
|||
fCallTipStrings.Objects[0] := TObject(pointer(i));
|
||||
{$POP}
|
||||
str := fCallTipStrings.Text;
|
||||
{$IFDEF WINDOWS}
|
||||
str := str[1..str.length-2];
|
||||
{$ELSE}
|
||||
str := str[1..str.length-1];
|
||||
{$ENDIF}
|
||||
showCallTips(str);
|
||||
end;
|
||||
end;
|
||||
|
|
Loading…
Reference in New Issue