You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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. You may wish to post a feature request there since you can then discuss it with the Perl lexer maintainer directly.
In Perl, I define a module
M.pm
with a shared variable$foo
:which I then can use, with a full path, in some other file
f.pl
:In the print line, Geany syntax-highlights
$M
but it is supposed to highlight$M::foo
as that is the name of the symbol.The text was updated successfully, but these errors were encountered: