Admittedly, as opposed to other Grob.padding settings no object is
moved, instead the TextSpanner itself changes its appearance.
I think you nailed the root of why I think the naming is confusing. Funnily enough I do think that the name "padding" is appropriate for Glissandos, where it is a measure of how much white-space there is between the end of the glissando and it's notehead. I just don't find it intuitive for TextSpanners in particular. I agree however that this ship has sailed.
Werner, I looked at the documentation trying to see what I would have needed to be different in order to be able to find this knowledge on my own. For me personally it would have been to have the Internals Reference offer a very concise yet detailed description of the sub-properties of the bound-details property of the line-spanner-interface
This is because my workflow in these scenarios is to go to the description of the object which is giving me trouble, see what interfaces and properties it has, and from there work out what I need to do. This is also what the Lilypond manuals suggest
. So, if the purpose of the Internals Reference is "to present information precisely and concisely", for me a precise description would be at the very least to have a list of it's sub-properties.
I think someone explained to me some time ago (in a similar situation with an alist of properties although I don't remember specifically with what) that this is not possible because of the way the documentation is automatically generated. If this is not possible then a visual example in this verbose description
of the line-spanner-interface would be my next bet: a short snippet that shows it's effect in a few different grobs would probably be enough to be able to find it when hunting for a solution.
Do any of the above seem feasible?