[Github-comments] [geany/geany] Perl syntax highlight does not understand $package::var syntax (#1679)

elextr notifications at xxxxx
Wed Nov 8 01:33:30 UTC 2017


Confirmed, note that the `$M` is highlighted because it is _syntax_ not because the name is known, you can remove the `use M` and it still highlights.

I don't know Perl much, and its possible that `$M::anything` is the appropriate syntax to highlight, but it won't depend on the package contents.  The syntax highlighting is supplied by the Scintilla lexer Geany uses, which is a separate project [here](www.scintilla.org).  You may wish to post a feature request there since you can then discuss it with the Perl lexer maintainer directly.

-- 
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/1679#issuecomment-342680888
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20171108/362743ff/attachment.html>


More information about the Github-comments mailing list