X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fledger-line-spanner.cc;h=3664bd40b7cb4c700467758903d060fb7ebef59f;hb=32c54254e17cd412a07a9e0829bba368a41185f0;hp=62d52b64c19dbc7afc31c0c00ee8d839a9704d22;hpb=87eedcd59f4082cb0841528ad5bc82cb1d1191e3;p=lilypond.git diff --git a/lily/ledger-line-spanner.cc b/lily/ledger-line-spanner.cc index 62d52b64c1..3664bd40b7 100644 --- a/lily/ledger-line-spanner.cc +++ b/lily/ledger-line-spanner.cc @@ -28,7 +28,7 @@ struct Ledger_line_spanner Interval x_extent, Real left_shorten); - DECLARE_GROB_INTERFACE(); + DECLARE_GROB_INTERFACE (); }; Stencil @@ -42,7 +42,7 @@ Ledger_line_spanner::brew_ledger_lines (Grob *staff, { int line_count = (staff_extent.contains (pos) ? 0 - : sign (pos) * int (rint(pos - staff_extent[Direction (sign (pos))])) / 2); + : sign (pos) * int (rint (pos - staff_extent[Direction (sign (pos))])) / 2); Stencil stencil; if (line_count) { @@ -351,10 +351,9 @@ Ledger_line_spanner::print (SCM smob) } ADD_INTERFACE (Ledger_line_spanner, - - "This spanner draws the ledger lines of a staff.\n" - "This is a separate grob because it has to process\n" - "all potential collisions between all note heads.", + "This spanner draws the ledger lines of a staff. This is a" + " separate grob because it has to process all potential" + " collisions between all note heads.", /* properties */ "gap " @@ -366,12 +365,13 @@ ADD_INTERFACE (Ledger_line_spanner, struct Ledgered_interface { - DECLARE_GROB_INTERFACE(); + DECLARE_GROB_INTERFACE (); }; ADD_INTERFACE (Ledgered_interface, + "Objects that need ledger lines, typically note heads. See" + " also @ref{ledger-line-spanner-interface}.", - "Objects that need ledger lines, typically " - "note heads. See also @ref{ledger-line-spanner-interface}.", - - "no-ledgers"); + /* properties */ + "no-ledgers " + );