[Github-comments] [geany/geany] UTF keywords highlighting (#2504)

elextr notifications at xxxxx
Thu May 14 04:15:21 UTC 2020


@fuckgithubanyway by "filetype" I mean which filetype file did you add the keywords to?  

Filetypes are defined by the languages they represent.  For languages that have keywords defined in the language, the lists are just to allow new words added in new versions of the standard so the code doesn't have to be changed all the time.  

So using your example of C, identifiers (and therefore keywords which are reserved identifiers) are "an arbitrarily long sequence of digits, underscores, lowercase and uppercase Latin letters, and Unicode characters specified using \u and \U escape notation (since C99). A valid identifier must begin with a non-digit character".  Its implementation defined if Unicode encodings are allowed for those characters.  I suspect the C lexer implementation does not.



-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2504#issuecomment-628375782
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20200513/4c4a55b2/attachment-0001.htm>


More information about the Github-comments mailing list