GitHub user robertdale opened a pull request:
https://github.com/apache/tinkerpop/pull/385
TINKERPOP-1285 added multi-line line number support
Looks like:
```
gremlin>
gremlin> 1 +
001 2 +
002 3 +
003 x
No such property: x for class: groovysh_evaluate
Display stack trace? [yN]
003 4
==>10
```
Note that the line number remained the same for the correction.
Example from the jira ticket:
```
gremlin> script = """line1
001 line2
002 line3
003 ...
004 """
==>line1
line2
line3
...
gremlin>
```
Multi-line query:
```
gremlin>
gremlin> g.V().has(
001 'name',
002 'marko')
==>v[1]
gremlin>
```
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/robertdale/tinkerpop TINKERPOP-1285
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/tinkerpop/pull/385.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #385
----
commit 96537e40844731ad7efd0e513fac15b13dae16d7
Author: Robert Dale <[email protected]>
Date: 2016-08-18T19:18:31Z
added multi-line line number support
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---