]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/lyric-extender.cc
Add cautionary-style to interface.
[lilypond.git] / lily / lyric-extender.cc
index 9fc7f8a7a46dd0ed157bf0e04208f142d2e4767d..0c7bb4ec448b3ec143f642b437a5c871ad522023 100644 (file)
@@ -26,7 +26,7 @@ Lyric_extender::brew_molecule (SCM smob)
   Real leftext = sp->get_bound (LEFT)->extent (sp->get_bound (LEFT),
                                               X_AXIS).length ();
 
-  Real sl = sp->paper_l ()->get_var ("stafflinethickness");  
+  Real sl = sp->paper_l ()->get_var ("linethickness");  
   Real righttrim = 0.5; // default to half a space gap on the right
   SCM righttrim_scm = sp->get_grob_property ("right-trim-amount");
   if (gh_number_p (righttrim_scm)) {
@@ -54,3 +54,9 @@ Lyric_extender::set_textitem (Spanner*sp, Direction d, Grob*s)
 }
 
 
+
+
+ADD_INTERFACE (Lyric_extender,"lyric-extender-interface",
+  "The extender is a simple line at the baseline of the lyric
+that helps show the length of a melissima (tied/slurred note).",
+  "word-space height right-trim-amount");