[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
AW: add editor support to lilypond-invoke-editor
From: |
Aljoscha Meyer |
Subject: |
AW: add editor support to lilypond-invoke-editor |
Date: |
Fri, 8 Jul 2016 15:18:29 +0000 |
Looks like I misunderstood what the script does, I thought it would check the
EDITOR environment variable and then run the appropriate, editor-specific
command. But this behaviour actually makes more sense. And yes, it worked.
Thanks a lot!
________________________________________
Von: Masamichi Hosoda address@hidden
Gesendet: Freitag, 8. Juli 2016 16:59
An: Aljoscha Meyer
Cc: address@hidden
Betreff: Re: add editor support to lilypond-invoke-editor
> could you point me to the right direction for adding support for the atom
> text editor to the lilypond-invoke-editor script?
>
> The syntax of the command to invoke is simply 'atom file:line:column', e.g.
> atom text.ly:42:7
>
> This should be a very small addition to a single script (I'd assume), but
> I'm somewhat intimidated by the entry barrier for contributing
> http://lilypond.org/doc/v2.19/Documentation/contributor/
How about the follwing commands?
$ export LYEDITOR="atom %(file)s:%(line)s:%(column)s"
$ lilypond-invoke-editor textedit://path/to/test.ly:1:1:1