+void
+Span_bar_engraver::stop_translation_timestep ()
+{
+ if (spanbar_)
+ {
+ for (vsize i = 0; i < bars_.size (); i++)
+ Span_bar::add_bar (spanbar_, bars_[i]);
+
+ SCM vissym = ly_symbol2scm ("break-visibility");
+ SCM vis = bars_[0]->internal_get_property (vissym);
+ if (ly_is_equal (spanbar_->internal_get_property (vissym), vis))
+ spanbar_->set_property (vissym, vis);
+
+ spanbar_ = 0;
+ }
+ bars_.resize (0);
+}
+
+#include "translator.icc"
+
+ADD_ACKNOWLEDGER (Span_bar_engraver, bar_line);
+ADD_TRANSLATOR (Span_bar_engraver,
+ /* doc */
+ "Make cross-staff bar lines: It catches all normal bar lines"
+ " and draws a single span bar across them.",
+
+ /* create */
+ "SpanBar ",
+
+ /* read */
+ "",
+
+ /* write */
+ ""
+ );