[Github-comments] [geany/geany] Different colors for objects, methods and attributes? (#2441)

Matthew Brush notifications at xxxxx
Wed Feb 19 01:27:31 UTC 2020


It would be possible to have separate lexer styles for function calls, distinguished when they are part of an attribute access expression, as well as field/property accessors. But for the reasons @elextr mentioned, there's no way to really be sure (semantically) what those things are/refer to, it would literally just be based on the tokens in the file and looking for a sequence like `IDENT DOT IDENT LPAREN arguments_list* RPAREN` or whatever.

That said, any work on the lexer/highlighting needs to first be done in [Scintilla](https://www.scintilla.org/) (where the lexer comes from), and should be opened as a [feature request](https://sourceforge.net/p/scintilla/feature-requests/) there, assuming none such exists. For this reason combined with what @elextr said, I'm going to close this Issue.

-- 
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/2441#issuecomment-587988458
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20200218/34fd8f1e/attachment.htm>


More information about the Github-comments mailing list