I don't know if that's a bug, but I would qualify it of
a feature request.
The php language propose the // and # comments.
But, the php lexer, will accept this :
// a comment
// a comment ?> some markup
Which woud lead to those tokens :
The eol_span is rather good for than, but this will not
work with ?>.
This could be done with a regexp :
And, because we don't want the ?>, this is needed :
Currently jEdit will stop the comment mode after ?>, so
it's good. But it will continue in php mode, while I
wanted it to exit php mode and come back to html mode.
My feature is simple : support look behind and look
This could also be done using SEQ:
<SEQ TYPE="MARKUP" DELEGATE="MAIN">?></SEQ>
But I don't know if I can match the end of line (but I
guess I could use EOL_SPAN in conjuction with the SEQ)
|Submitted||myshforum - 2006-08-17 - 21:28:55z||Assigned||nobody|