I don't know if this has been brought up before--I did a quick search of the
forums and didn't find anything.

There is a review of several text editors at
[url]http://planetozh.com/blog/2007/06/text-editors-for-coders-deathmatch-review
/[/url]
in which PSPad fails a syntax highlighting test for the following PHP document:


<?php
$pattern = '(<body[^>]*?>';
/*  abcdef
        multi-line
*/
$hello = <<<HELLO
        <<<<--! jk -->
        >>>
        /*
        abcdef
HELLO;
function echoit($pattern) {
        echo "123 456 $pattern";
        echo '123 456 $pattern';
        foreach (array(1,2,3) as $val) {
                echo $val;
        }
}
echo "/*";
echo '//';echoit($pattern);
?>


-- 
<http://forum.pspad.com/read.php?4,44619,44619>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem