Hi Pierre-Luc, > How could the editor know? > What if VariableA is used by two voices? Which one should it refer to?
The one you clicked on in the PDF. ;) I suppose in the *extremely rare* circumstance that a single grob is contained at exactly the same [physical] spot in the same parent (e.g., Staff) context in two or more different Voice contexts and the source of that grob is a variable… well, I guess the editor would have to give up or present multiple targets. But I've never had or seen that situation in my 16 years of using Lilypond — I can't even quite figure out how it could happen… > From what I understand, the editor would have to be at least as wise > as LilyPond to figure that out. No… it already has the PDF to work backwards from (which Lilypond doesn't). > Well, in most of my files, Frescobaldi fails to "Jump to [my] definition"s. > It just cannot look around in my whole project(computer) to know where > that definition is. > > % \begin{bogus example} : > definitions.ily : someCommand = {…} > music.ily : music = {…} > theContent.ily : <<\someCommand \music>> > engravePlease.ly = \include "music.ily" \include "definitions.ily" > \include "theContent.ily" I still don't see how that path can't be navigated in reverse (i.e., from the PDF back to the source locations): if you can do it manually (which I'm sure you can), then it almost certainly can be automated. Cheers, Kieren. ________________________________ Kieren MacMillan, composer ‣ website: www.kierenmacmillan.info ‣ email: i...@kierenmacmillan.info _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user