Console Plugin
  1. Console Plugin
  2. GPCONSOLE-3

Result does not overflow in Google Chrome

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: Grails-Console 1.0
    • Fix Version/s: Grails-Console 1.1
    • Environment:
      Debian unstable, Grails 2.0.0, Java Sun 6

      Description

      The result of the commands will not overflow horizontally when there are lots of results in Google Chrome.

      Try running this command for example: "(1..1000).collect

      {it}

      "

      I find it would be much more useful to look at the result if you changed the CSS rule "white-space: pre" to "white-space: pre-wrap" for .script-result.

      Also, take a look at the following article if you really prefer to avoid wrapping the results: http://doctype.com/pre-scrolling-way-make-respect-given-width-page

      In that case, you should set "overflow" and "width" directly to .script-result, that is the pre-like element instead of #result.

        Activity

        Hide
        Rodrigo Rosenfeld Rosas added a comment -

        If the source-code was hosted on GitHub I could send the pull requests for each case so that you could choose what approach you prefer.

        Show
        Rodrigo Rosenfeld Rosas added a comment - If the source-code was hosted on GitHub I could send the pull requests for each case so that you could choose what approach you prefer.
        Hide
        Burt Beckwith added a comment -

        A patch or just a description of what to change would be fine. I'll take a look at implementing the changes you described in the description.

        Show
        Burt Beckwith added a comment - A patch or just a description of what to change would be fine. I'll take a look at implementing the changes you described in the description.
        Hide
        Matt Sheehan added a comment -

        This is fixed in 1.1

        Show
        Matt Sheehan added a comment - This is fixed in 1.1
        Hide
        Rodrigo Rosenfeld Rosas added a comment -

        So, shouldn't the status be changed?

        Show
        Rodrigo Rosenfeld Rosas added a comment - So, shouldn't the status be changed?

          People

          • Assignee:
            Burt Beckwith
            Reporter:
            Rodrigo Rosenfeld Rosas
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: