commit | 48fc322e6aa7a015966b3712110546ed73622be9 | [log] [tgz] |
---|---|---|
author | David Ostrovsky <david@ostrovsky.org> | Fri Jan 16 08:21:01 2015 +0100 |
committer | David Pursehouse <david.pursehouse@sonymobile.com> | Fri Jan 16 08:47:55 2015 +0000 |
tree | 04b6939a2af7a3abb37578e1e9c466ea76ee23d0 | |
parent | 0aaa5d4a4a2e5daf1b51253a4865ab01cb8854af [diff] |
InlineEdit: Fix jumping to specific line in editor Inline edit token can contain ,edit@42 as panel. Trim line number from the panel and append it to rest of the token to match existing parsing code. The line number starts from 0 in CodeMirror, but is passed as real line number in the constructor. Subtract 1 to compute the line number used by CodeMirror. Change-Id: Ib623a04c95479f5255eed34ec2a178abfdf57aa0