From: Neil Puttock <n.puttock@gmail.com>
Date: Sat, 21 Aug 2010 16:23:43 +0000 (+0100)
Subject: Deprecate negative dash-period for hidden lines.
X-Git-Tag: release/2.13.31-1~5
X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=bb719a6345447f9b249b4f8e86b219cff94867ad;p=lilypond.git

Deprecate negative dash-period for hidden lines.
---

diff --git a/Documentation/snippets/hiding-the-extender-line-for-text-dynamics.ly b/Documentation/snippets/hiding-the-extender-line-for-text-dynamics.ly
index 46ecc30e2a..02a4049efd 100644
--- a/Documentation/snippets/hiding-the-extender-line-for-text-dynamics.ly
+++ b/Documentation/snippets/hiding-the-extender-line-for-text-dynamics.ly
@@ -1,7 +1,7 @@
 %% Do not edit this file; it is automatically
 %% generated from LSR http://lsr.dsi.unimi.it
 %% This file is in the public domain.
-\version "2.13.29"
+\version "2.13.31"
 
 \header {
   lsrtags = "expressive-marks"
@@ -45,7 +45,7 @@ following way:
 } % begin verbatim
 
 \relative c'' {
-  \override DynamicTextSpanner #'dash-period = #-1.0
+  \override DynamicTextSpanner #'style = #'none
   \crescTextCresc
   c1\< | d | b | c\!
 }
diff --git a/python/convertrules.py b/python/convertrules.py
index 1e2ce6752d..063da1f4f9 100644
--- a/python/convertrules.py
+++ b/python/convertrules.py
@@ -3045,12 +3045,16 @@ def conv(str):
     return str
 
 @rule ((2, 13, 31),
-    _ ("Woodwind diagrams: Move size, thickness, and graphic from argument list to properties."))
+    _ ("Woodwind diagrams: Move size, thickness, and graphic from argument list to properties.\n\
+Deprecate negative dash-period for hidden lines: use #'style = #'none instead."))
 def conv(str):
     if re.search(r'woodwind-diagram', str):
         stderr_write("\n")
         stderr_write(NOT_SMART % _("woodwind-diagrams.  Move size, thickness, and graphic to properties.  Argument should be just the key list.\n"))
         stderr_write(UPDATE_MANUALLY)
+    str = re.sub (r"dash-period\s+=\s*#\s*-[0-9.]+",
+                  r"style = #'none",
+                  str);
     return str
 # Guidelines to write rules (please keep this at the end of this file)
 #