Search

This is something that i'm thinking since Symphony 2 Sneak Peak, but I waited for the Beta to com out. Is it possible in the debug page to have 'align wrapped lines' or something?

I picture is worth a thousand words...

Of course, we'd like to do this, but it's just not possible. Either:

  1. we have a fixed line length and assume everyone's browser windows are wide enough to display it
  2. disable line wrapping and instead set overflow: auto to add scrollbars where appropriate
  3. make use of available width and use white-space: pre-wrap (no soft-wrap indentation)

You might have seen #1 before in emails; it will look broken when the available width is less than the line length, and will cause a big empty wasted space in the middle of the page when there is lots of available width. #2 is a bad idea because often the code being viewed is longer than the page height, making the scrollbar out of view. So that's why we chose #3.

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details