Joey: -------------------------------------------------------------------------------- However I would like to be able to get help while editing the body of ECHO. For example I write:
echo "<table id=\"...\""; and then only php help is activated whereas what I am really editing is xhtml. Is is possible to implement such a universal code assistant? -------------------------------------------------------------------------------- It sounds like you might be asking a bit much there - getting an editor to recognise languages inside strings would be very tough. For example, how would the editor know you are editing XHTML? It could be any XML language - or HTML 4, or a custom markup language, or anything else. I've wished for a similar feature when editing SQL strings in PHP, but again - how is the editor supposed to know that the string you are editing is supposed to be a piece of code? There was a tool I tried called 'LetMeType' (I think) which covered system-wide typing shortcuts. It didn't behave very well with PSPad (Clipboard issues, IIRC) and it got annoying anyway. You might want to give it a look though. -- <http://forum.pspad.com/read.php?2,41247,41319> PSPad freeware editor http://www.pspad.com
