Bertalan Fodor writes:

> I copy this to lilypond-devel as well, because I'm interested in the
> developers' opinion, especially about the third step.

Thanks for looking into this, but actually, I do not like this
solution very much.

The lilypond-invoke-editor script parses the textedit url and creates
a command line, something like

    editor +LINE:COLUMN FILE

It (or actuall scm/editor.scm) constructs command lines for different
editors to place the cursor at the right position.

As jEdit only supports jumping to a line, lilypond can only support
that ootb.  So, now we have

    ("jedit" . "jedit %(file)s +line:%(line)s")

The right solution would be for jEdit to accept a jump-to-column
command line switch, ie: submit your column placment code to jEdit.
That would also help with placement of the cursor for error messages.

Jan.

-- 
Jan Nieuwenhuizen <[EMAIL PROTECTED]> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien       | http://www.lilypond.org


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to