Hi and thanks for your awesome editor. Two minor highlighting issues I'd like to
point out:

1) The
PHP heredoc syntax (viz 
http://us2.php.net/manual/en/language.types.string.php#language.types.strin
g.syntax.heredoc ) has not been implemented and performs
very odd when it includes single or double quotes.

Example:


<?php
$text = <<<text
I'm a full time coder...
text;
die();
?>


The correct syntax is that cite:
--------------------------------------------------------------------------------
[color=#008000]I'm a full time
coder...[/color]--------------------------------------------------------------------------------
 should be green (variable). However, PSPad sees the
single quote as a start and has no end. All subsequent lines are highlighted as
part of the variable. cite:
--------------------------------------------------------------------------------
[color=#008000]m a full time coder...
text;
die();[/color]--------------------------------------------------------------------------------
 is all considered part of the variable, incorrectly.

2) Strings that contain the PHP end tag ?> are treated as ending the PHP syntax.


Example:
<?php
$xml = '<?xml version="1.0" encoding="UTF-8"?>';
die();
?>

PHP code highlighting stops by the cite:
--------------------------------------------------------------------------------
?>--------------------------------------------------------------------------------
 contained within the
variable. cite:
--------------------------------------------------------------------------------
die();--------------------------------------------------------------------------------
 is considered as HTML code, incorrectly.

Thanks alot and much luck in all you do ;)

-- 
<http://forum.pspad.com/read.php?6,42042,42101>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem