You are here: PSPad forum > Bug report / Hlášení chyb > PHP - String and PHP

PHP - String and PHP

#1 PHP - String and PHP

Posted by: Zebra Sin | Date: 2013-12-22 12:24 | IP: IP Logged

Hello, I founded a bug in PSPad and his syntaxic coloration for PHP String.
I can't write a php end tag in a php string. The problem is gone with a new php file Inside pspad editor, but it still here when I open a php file or a project from Windows Explorer.

Example:

echo '<?php tests ?>';

I must code this in this to avoid the problem.
echo '<?php tests ?' . '>';

Well, this is problematic, I must use a concat operator, and a problem to reread my code.

PS: My apologizes for my bad English, I'm french.

Edited 1 time(s). Last edit at 2013-12-22 12:25 by Zebra Sin.

Options: Reply | Quote | Up ^


#2 Re: PHP - String and PHP

Posted by: carbonize | Date: 2013-12-24 10:37 | IP: IP Logged

This has been mentioned repeatedly. It is an issue when usingHTML Multihighlighter only. Switch highlighter to PHP.

--
Carbonize

Options: Reply | Quote | Up ^


#3 Re: PHP - String and PHP

Posted by: Zebra Sin | Date: 2013-12-25 08:49 | IP: IP Logged

Thanks you, but how can I do that please ? smiling smiley

Options: Reply | Quote | Up ^


#4 Re: PHP - String and PHP

Posted by: pspad | Date: 2013-12-25 09:20 | IP: IP Logged

Menu View / Change syntax
or toolbar button
or click on the syntax name in Statusbar

If you don't want to open PHP files in HTML multihighlighter, go to program settings / Multihighlighter and uncheck <? ?>

Options: Reply | Quote | Up ^


#5 Re: PHP - String and PHP

Posted by: Zebra Sin | Date: 2013-12-26 08:26 | IP: IP Logged

Thanks you, it works correctly now smiling smiley

Options: Reply | Quote | Up ^






Editor PSPad - freeware editor, © 2001 - 2024 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR