Page 1 of 1
PHP syntax highlighting?
Posted: Tue Feb 22, 2005 1:25 pm
by windwaker
It's built into the language. Perhaps there could be a tag [phpcode] that highlights php.
This is the PHP DN, after all. ;D
Posted: Tue Feb 22, 2005 1:28 pm
by feyd
It's already in the system. If you read through the Posting Code thread, you may have seen parts of it. The problem right now is that it was destroyed when we upgraded forum versions. We're waiting on getting IE to display them right again before adding them back in....
Firefox works perfectly though

Posted: Tue Feb 22, 2005 5:29 pm
by pickle
Does IE at least display code wrapped in
Posted: Tue Feb 22, 2005 6:10 pm
by feyd
it displays the highlighting fine, but with the CSS implementation being funky such that the settings for overflow aren't being read, so the page display blows out. It is not possible to add artificial wrapping of the text (without consequences, which I really don't want to hear people bitch about.)
On the last version (before the break) I had phpBB adding custom CSS for IE and everyone else got a slightly different set. I'd like to avoid that now, but it's not playing nice.. so several of us are screwing around with it.. off and on..
Posted: Tue Feb 22, 2005 11:27 pm
by windwaker
Oh, so that's why I see weird "[php247320asdf:43]" everywhere.
Posted: Tue Feb 22, 2005 11:37 pm
by feyd
yep.