Highlighting Start/End-Tags inside PHP-Code



  • In an earlier Version - maybe with a plugin - i got much help from npp by highlighting the end-tag. Currently this now only works in plain HTML but no longer in PHP commangs (neither in quotes or multiline Strings=.

    Example working:

    ?>
    <script>
    </script>
    <?php
    

    If you place the cursor withing “<SCRIPT>” the “</SCRIPT>” is highlighted, too.

    Example NOT working (but somehow i saw it working before i reinstalled my computer)

    echo <<<TEST
    	<script>
    	</script>
    TEST;
    

    No idea if i had a plugin installed or changed the language-files…


Log in to reply