Bug: Syntax highlighting gets confused with < operator

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
Raven
Posts: 10
Joined: Tue Nov 18, 2003 4:58 pm
Contact:

Bug: Syntax highlighting gets confused with < operator

Post by Raven »

TextPad v4.7.3 32 bit

Place the following PHP code in TextPad and you would expect to see this:

echo " x < y ";
echo " Hello ";
echo " y > x ";



Instead you will see this:

<?php
echo " x
< y ";
echo "
Hello ";
echo "
y > x ";

?>

TextPad appears to be mistaking the < (less than operator) for an opening HTML tag. You will see the color coding corrects itself as soon as it sees the > (greater than operator).
Those who hear not the music think the dancers mad.
Raven Web Hosting|My Scripts & Stuff
Post Reply