Proper comment highlighting
Posted: Wed Mar 25, 2009 9:00 pm
With the following PHP code, incorrect comment coloring occurs. Only comment tags WITHIN the SyntaxStart/SyntaxEnd tags should be colored. There currently seems to be no method of writing a syn file to correct this.
Code: Select all
<?php
// in somefile.php
// some php here
?>
<style>
/* some css comments here
this should NOT be colored, because the comment tags are not within the <?php ?> tags
<?php
echo "this entire php block will appear as a comment, incorrectly.";
?>
*/