Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
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.
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.