You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "stephen mallette (JIRA)" <ji...@apache.org> on 2016/08/27 11:18:20 UTC

[jira] [Closed] (TINKERPOP-1285) Gremline console does not differentiate between multi-line and single-line input

     [ https://issues.apache.org/jira/browse/TINKERPOP-1285?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stephen mallette closed TINKERPOP-1285.
---------------------------------------
       Resolution: Done
         Assignee: stephen mallette
    Fix Version/s: 3.2.2

Line numbers now clearly show when the console goes multi-line.

> Gremline console does not differentiate between multi-line and single-line input
> --------------------------------------------------------------------------------
>
>                 Key: TINKERPOP-1285
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1285
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: console
>    Affects Versions: 3.2.0-incubating
>            Reporter: Rocco Varela
>            Assignee: stephen mallette
>            Priority: Minor
>             Fix For: 3.2.2
>
>
> When entering input, say into a script variable, that extends over multiple lines the gremlin console does not provide the user with any indication that they are in a multi-line input mode. Here is an example.
> Notice the 'gremline>' prompts are presented within the triple-quotes.
> {code}
> gremlin> script = '''
> gremlin> line1_command
> gremlin> line2_command
> gremlin> '''
> {code}
> Ideally we would like something like this, showing the user that they are still in multi-line input mode.
> {code}
> gremlin> script = '''
> ... line1_command
> ... line2_command
> ... '''
> gremlin>
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)