cmds: add a separate LaunchEditorAtLine command
commitc712f66eddda3a658f8a3c75eebad99ff1e8584e
authorDavid Aguilar <davvid@gmail.com>
Sat, 20 Oct 2018 22:59:20 +0000 (20 15:59 -0700)
committerDavid Aguilar <davvid@gmail.com>
Sat, 20 Oct 2018 22:59:27 +0000 (20 15:59 -0700)
tree326a7d2d9fb947bbac6c05399426d30ed095d3f4
parentdf7c2efa9d6326f5679bd0c10f480b22a7e896c0
cmds: add a separate LaunchEditorAtLine command

Separate out the logic for launching with a specified line number so
that we can use it from the diff editor context only.

Related-to: #898
Signed-off-by: David Aguilar <davvid@gmail.com>
cola/actions.py
cola/cmds.py
cola/widgets/diff.py