Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Syntax Hightlighting WITHIN php Quoted Strings?

0 views
Skip to first unread message

vaskoiii

unread,
Dec 13, 2009, 4:31:25 PM12/13/09
to
Is there text editor that supports syntax highlighting WITHIN php
quoted strings with the following syntax or a similar syntax:

/*FILETYPE*/'
'/*FILETYPE*/
"/*FILETYPE*/
"/*FILETYPE*/

where FILETYPE is the extension on the file.

ie) php_css.php
<?
$dark = true;
echo /*CSS*/'
font {
'/*CSS*/ . $dark ? /*CSS*/'color: black;'/*CSS*/ : /
*CSS*/'color: white;'/*CSS*/ . '
size: 20px;
margin-top: 40px;
}
'/*CSS*/;
?>

Text Editor NOTES:
- You can NOT really see the code style in this post so let me
explain.
- All code SHOULD have php code style by default.
- All code in between the /*CSS*/' and '/*CSS*/ SHOULD have css code
style. (NOT a single solid color for a quoted string.)

I have also posted this question at:
http://www.experts-exchange.com/Programming/Editors_IDEs/Q_24963912.html

0 new messages