Come to think of it, I've come up with a better workaround - I've stopped writing PHP code! :P
After all these years writing in Python, PHP feels like a sewer anyway. Cheers David On Jul 4, 8:28 pm, Dave <[email protected]> wrote: > Hi again Ed et al, > > There's another bug, this one of much less severity but somewhat > tormenting nonetheless. > > In PHP mode, syntax colouring works correctly as long as the entire > file contents are at the root node. Outside of '<?php ... ?>' groups, > HTML colouring is (appropriately) used, and within '<?php ... ?>' > groups, colouring correctly switches to PHP syntax. > > However - consider the following: > > @language php > <?php > @others > ?> > > Child nodes should be coloured to php syntax, but instead, they are > being coloured in HTML mode. > > The excruciating workaround would be to abstain from having child > nodes within '<?php ... ?>' segments, but this is pretty unacceptable, > since it eliminates the ability to benefit from Leo's features with > PHP code. > > Cheers > David --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/leo-editor?hl=en -~----------~----~----~----~------~----~------~--~---
