On Sat, 13 Apr 2024 at 20:15, Fulvio via Users users@lists.geany.org wrote:
Il giorno sab, 13/04/2024 alle 16.41 +1000, Lex Trotman via Users ha scritto:
The name of your language is Pbasic but the entry in filetype_extensions.conf uses PBasic, they must be identical.
I spotted this previously, but I think I published an old file. I've seen a better results after correcting. I should look for a disctintion because it seems that not all the keywords are highlighted.
Many of the words in your wordlists contain characters that the freebasic lexer may not accept as part of an identifier.
AFAICT as a regex its [#a-zA-Z][a-zA-Z0-9_]* so if any of those words you have that start with $ or _ etc occur in the file they will be recognised as an operator followed by an identifier.
Since only the identifier part is compared to the words list the list members with errant characters will never be found. This appears to be a limitation of the freebasic lexer.
Cheers Lex
Fulvio
PS. Sorry about confusing the mailist and the private emails. I correct mi mailer.
Users mailing list -- users@lists.geany.org To unsubscribe send an email to users-leave@lists.geany.org