Automatic completion: Gambas keywords are now automatically inserted with a space after them.

[DEVELOPMENT ENVIRONMENT]
* NEW: Automatic completion: Gambas keywords are now automatically inserted with a space after them.
This commit is contained in:
gambas 2021-03-05 17:13:19 +01:00 committed by Christof Thalhofer
parent 321809c4c7
commit c5ae34e661

View file

@ -638,7 +638,7 @@ Private Sub FillWithIdent(sWord As String)
If cKey.Exist(sCar) Then Continue
If sCar Ends "$" And If cKey.Exist(Left(sCar, -1)) Then Continue
cKey[sCar] = True
If sCar = UCase(sCar) Then sCar &= " "
If $bGambas And If System.Keywords.Exist(sCar) Then sCar &= " "
aResult.Add(sCar & " " & MHelp.TYPE_KEYWORD)
Endif
Next