Commit 630d2f4f authored by Benoît Minisini's avatar Benoît Minisini

Automatic completion: Don't crash when displaying the signature of '_new'.

[DEVELOPMENT ENVIRONMENT]
* BUG: Automatic completion: Don't crash when displaying the signature of '_new'.
* NEW: Update Gambas 16 fonts.
parent dbdb10f3
......@@ -436,8 +436,11 @@ Public Function GetSignature(bBalise As Boolean, Optional iShowArg As Integer =
hClass = Documentation.GetClassDescription(hClass.ParentComponent &/ hClass.Parent)
'hClass = CComponent.Classes[hClass.ParentComponent &/ hClass.Parent]
hSym = hClass.Symbols["_new"]
If hSym.Class <> hClass.Name Then Continue
If hSym Then sSign = MergeSignature(sSign, hClass.Symbols["_new"].GetNativeSignature())
If hSym Then
If hSym.Class = hClass.Name Then
sSign = MergeSignature(sSign, hClass.Symbols["_new"].GetNativeSignature())
Endif
Endif
Loop
Endif
......
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment