Page 2 of 2

Re: PHP bbcode

Posted: Tue Jan 17, 2017 11:53 pm
by JoshyPHP
It can, it just isn't.

If the argument is that it is possible then we're in agreement: it is indeed possible to support server-side syntax highlighting for PHP sources. Or for any language, for that matter. It's not implemented because it's clunky and a bit slow, and it's better implemented as an extension.

Re: PHP bbcode

Posted: Tue Jan 17, 2017 11:59 pm
by LavIgor
JoshyPHP wrote:
Tue Jan 17, 2017 11:53 pm
It's not implemented because it's clunky and a bit slow, and it's better implemented as an extension.
Why wasn't your extension integrated into phpBB core then (it is in fact just one line, but a helpful one)?
Maybe with a config setting for it to be optional (I do not find any reasons for it to be switched off, however).
Because highlighting really improves readability.

Re: PHP bbcode

Posted: Wed Jan 18, 2017 12:02 am
by JoshyPHP
I don't know, maybe it's not deemed important enough. I think we simply never discussed it. You can try opening a feature request on the tracker.