You are here: PSPad forum > English discussion forum > Re: Perl sntax highlighter problem
Posted by: John Huijsing | Date: 2021-04-20 03:32 | IP: IP Logged
Hi
I am seeing a problem with the perl syntax highlighting
ok
my $native =qq{
lines of text
};
not ok the "q" and left brace are not displayed
my $native= q{
more lines of text
}
Posted by: pspad | Date: 2021-04-20 06:47 | IP: IP Logged
Hello
I agree there is a bug in drawing.
I don't know Perl, so I made change to q and qq function and I was told that there can be ( as well as { bracket. Is it true?
q(string)
q{string}
Posted by: pspad | Date: 2021-04-20 07:23 | IP: IP Logged
I fixed problem above
Posted by: massimobalestra | Date: 2021-04-20 19:45 | IP: IP Logged
Yes now it works.
I already reported this problem in the past.
forum.pspad.com
While you don't know perl: after the q and the qq you can use any special character.
You can use (), {} [], but also / !
perldoc.perl.org
the stange thing was atht before with {} the whole line disappeared. Now it is ok, the line does not disappear even using () ;
Thank you
Editor PSPad - freeware editor, © 2001 - 2023 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR