From c5ae34e66194fe7aaede681ac6b09a530d6316c3 Mon Sep 17 00:00:00 2001 From: gambas Date: Fri, 5 Mar 2021 17:13:19 +0100 Subject: [PATCH] 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. --- app/src/gambas3/.src/Editor/Code/FCompletion.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/gambas3/.src/Editor/Code/FCompletion.class b/app/src/gambas3/.src/Editor/Code/FCompletion.class index 6638c61aa..e8bfb280e 100644 --- a/app/src/gambas3/.src/Editor/Code/FCompletion.class +++ b/app/src/gambas3/.src/Editor/Code/FCompletion.class @@ -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