Support multi-line scripts in console
-------------------------------------
Key: MGNLGROOVY-15
URL: http://jira.magnolia-cms.com/browse/MGNLGROOVY-15
Project: Magnolia Groovy Module
Issue Type: Improvement
Components: console
Affects Versions: 1.0 M1
Reporter: Grégory Joseph
Assignee: Federico Grilli
Fix For: 1.0
If I try to write a script such as
{code}
visitor = {node ->
println(node.handle)
}
ContentUtil.visit(root, visitor as ContentUtil.Visitor, new
NodeTypeFilter(ItemType.CONTENT))
{code}, it fails, because it tries to execute the script line by line. It would
be good if we supported multi-line, one way or another (shift-enter does not
submit, or defered execution, or...)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------