source file of the GNU LilyPond music typesetter
- (c) 1999--2001 Jan Nieuwenhuizen <janneke@gnu.org>
+ (c) 1999--2002 Jan Nieuwenhuizen <janneke@gnu.org>
*/
#include "stem.hh"
#include "debug.hh"
#include "engraver-group-engraver.hh"
-#include "bar.hh"
+#include "bar-line.hh"
#include "rest.hh"
#include "engraver.hh"
#include "item.hh"
void
Auto_beam_engraver::consider_begin (Moment test_mom)
{
- bool off = to_boolean (get_property ("noAutoBeaming"));
- if (!stem_l_arr_p_ && ! off)
+ bool on = to_boolean (get_property ("autoBeaming"));
+ if (!stem_l_arr_p_ && on)
{
bool b = test_moment (START, test_mom);
if (b)
if (stem_l_arr_p_)
{
/* Allow already started autobeam to end:
- don't check for noAutoBeaming */
+ don't check for autoBeaming */
bool b = test_moment (STOP, test_mom);
if (b)
end_beam ();
Beam::add_stem (beam_p, (*stem_l_arr_p_)[i]);
}
- announce_grob (beam_p, 0);
+ announce_grob(beam_p, SCM_EOL);
return beam_p;
}
{
end_beam ();
}
- else if (Bar::has_interface (info.grob_l_))
+ else if (Bar_line::has_interface (info.grob_l_))
{
end_beam ();
}
/*
Don't (start) auto-beam over empty stems; skips or rests
*/
- if (!Stem::heads_i (stem_l))
+ if (!Stem::head_count (stem_l))
{
if (stem_l_arr_p_)
end_beam ();
",
/* creats*/ "Beam",
/* acks */ "stem-interface rest-interface beam-interface bar-line-interface",
-/* reads */ "noAutoBeaming autoBeamSettings subdivideBeams",
+/* reads */ "autoBeaming autoBeamSettings subdivideBeams",
/* write */ "");