Code editor: Identifiers can now include the "-" character for autocompletion.

[DEVELOPMENT ENVIRONMENT]
* NEW: Code editor: Identifiers can now include the "-" character for autocompletion.
This commit is contained in:
gambas 2022-03-24 23:28:35 +01:00
parent b86b94c6df
commit 09a2dc5aa0

View file

@ -40,7 +40,7 @@ Static Public Sub _init()
For I = 0 To 127
sCar = Chr$(I)
If IsDigit(sCar) Or If IsLetter(sCar) Or If sCar = "_" Or If sCar = "$" Then Continue
If IsDigit(sCar) Or If IsLetter(sCar) Or If InStr("_$-", sCar) Then Continue
$sWordSeparators &= sCar
Next