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);
|
fTempLines.Delete(0);
|
||||||
tips := fTempLines.Text;
|
tips := fTempLines.Text;
|
||||||
|
{$IFDEF WINDOWS}
|
||||||
|
tips := tips[1..tips.length-2];
|
||||||
|
{$ELSE}
|
||||||
tips := tips[1..tips.length-1];
|
tips := tips[1..tips.length-1];
|
||||||
|
{$ENDIF}
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TCEDcdWrapper.getComplAtCursor(aList: TStrings);
|
procedure TCEDcdWrapper.getComplAtCursor(aList: TStrings);
|
||||||
|
|
|
@ -1029,6 +1029,11 @@ begin
|
||||||
fCallTipStrings.Objects[0] := TObject(pointer(i));
|
fCallTipStrings.Objects[0] := TObject(pointer(i));
|
||||||
{$POP}
|
{$POP}
|
||||||
str := fCallTipStrings.Text;
|
str := fCallTipStrings.Text;
|
||||||
|
{$IFDEF WINDOWS}
|
||||||
|
str := str[1..str.length-2];
|
||||||
|
{$ELSE}
|
||||||
|
str := str[1..str.length-1];
|
||||||
|
{$ENDIF}
|
||||||
showCallTips(str);
|
showCallTips(str);
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
Loading…
Reference in New Issue