Ah. I had assumed that the chord detection paid attention to whitespace/punctuation. So I thought if the backtick detection logic was changed, a word like "sample" wouldn't be misrecognized as containing "Am" as a chord.
But I just tried it in ST3, and was surprised that it recognizes a run-on string like "ambmc7defg" as a series of chords. But if I add commas ("am, bm, c, d") or anything other than whitespace, it fails to recognize the chords...
So I guess the only solution for now will be to take more vertical space in the lyrics, separating any instructions/comments on a separate backtick line after the chords, with no transposition in the comments. For example:
instead of
C F G (change to G on the and of 4)
it would have to be
C F G
`(change to G on the and of 4)
and if when transposed, the "change to G" instruction would not be correct...
Thanks for your quick replies. Maybe add this to your lower priority "would be nice some day" list, to think about further if you have time/bandwidth?
-John