[ 
https://issues.apache.org/jira/browse/GROOVY-9895?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17264875#comment-17264875
 ] 

Paul King commented on GROOVY-9895:
-----------------------------------

Have you tried the {{Grape.grab()}} method[1] or using the {{:grab}} groovysh 
command[2]?

 [1] 
[http://docs.groovy-lang.org/latest/html/documentation/grape.html#Grape-UsingGrapeFromtheGroovyShell]
 
 [2] [https://groovy-lang.org/groovysh.html#GroovyShell-grab]

 

> Groovy Shell - Multi-line not working properly
> ----------------------------------------------
>
>                 Key: GROOVY-9895
>                 URL: https://issues.apache.org/jira/browse/GROOVY-9895
>             Project: Groovy
>          Issue Type: Bug
>          Components: Groovysh
>    Affects Versions: 3.0.7
>         Environment: Windows 10,
> Groovy 3.0.7
> CMD.EXE (and also under a ConEmu)
>            Reporter: Sam Benson
>            Priority: Major
>              Labels: groovy, multi-line, shell, windows
>         Attachments: groovyerror.png
>
>
> My understanding is that groovy shell should reset the line counter back to 
> zero when a muli-line entry has been succesfully enter.
>  
> However a copy and pasted with correct matching brackets does not end 
> multi-line mode. Stuck entering code with no evaluation, no errors and the 
> only options are either :clear or Ctrl-C.
>  
> See attached screenshot.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to