[PATCH] Re: Small bug in mcedit
Leonard den Ottolander
leonard at den.ottolander.nl
Sun Jul 16 11:17:26 UTC 2006
Hello Florin,
On Mon, 2006-07-03 at 13:42 +0300, Florin Asavoaie wrote:
> <form name="<?= ?>"><?php echo "this code is not highlighted correctly"; ?>
> <form name="<?= ?> "><?php echo "This code is highlighted perfectly."; ?>
This can be sort of fixed by using "context exclusive" for quotes. See
the attached patch.
However, because the default context is not exclusive the stickiness
still remains in this case:
<form name="<?= ?>"<?php echo " this code is not highlighted
correctly"; ?>>
But as you probably want to embed a space after the quote in such cases
I suppose this fix is still rather useful.
Leonard.
--
mount -t life -o ro /dev/dna /genetic/research
-------------- next part --------------
A non-text attachment was scrubbed...
Name: php.syntax.diff
Type: text/x-patch
Size: 777 bytes
Desc: not available
URL: <http://lists.midnight-commander.org/pipermail/mc-devel/attachments/20060716/c42dbf13/attachment.bin>
More information about the mc-devel
mailing list