Menu

#66 Multiple languages in one?

open
nobody
Interface (41)
5
2014-07-14
2007-12-29
Anonymous
No

Hello everyone at CodePress,

This would literally be the best program for editing client-side scripts through the browser if you could add all the available languages into the textarea at once, for example:

Everything between <?php or <? and ?> is PHP, therefore only PHP colouring will occur. Everything between <html> and </html> will be HTML coding unless of course a PHP or whatever other language opens inside.

For example, this is what I mean:

<html>
<!--HTML COLOURING-->
<head>
<title></title>
<script type="text/javascript">
function helloThere() {
alert("Hello there! This is secretly Javascript coloured!");
}
</script>
</head>

<body>
<?php

//PHP COLOURING

?>
<!--HTML COLOURING AGAIN-->
</body>
</html>

Then comes no colouring.

I know how hard it is to make all this possible, but it would be some magnificent program if it could be done by the next few releases or so.

Thank you all for this wonderful javascript application that I came across today!

Regards,

Milos

Discussion


Log in to post a comment.