Hiding the extender line for text dynamics

Text-style dynamic changes (such as cresc. and dim.) are printed with a dashed line showing their extent. This line can be suppressed as follows.

\relative c'' {
  \override DynamicTextSpanner.style = #'none
  \crescTextCresc
  c1\< | d | b | c\!
}
[image of music]

LilyPond snippets v2.25.32 (development-branch).