]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/part-combine-engraver.cc
* The grand 2005-2006 replace.
[lilypond.git] / lily / part-combine-engraver.cc
index cfda8df12e7eb4b0720731ee50e01f66f831337c..016b08598e3e3ebe9600dcf6d210ea80e34e7994 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 2000--2005 Jan Nieuwenhuizen <janneke@gnu.org>
+  (c) 2000--2006 Jan Nieuwenhuizen <janneke@gnu.org>
 
   Han-Wen Nienhuys <hanwen@xs4all.nl>
 */
@@ -20,11 +20,11 @@ class Part_combine_engraver : public Engraver
   TRANSLATOR_DECLARATIONS (Part_combine_engraver);
 
 protected:
-  DECLARE_ACKNOWLEDGER(note_head);
-  DECLARE_ACKNOWLEDGER(stem);
-  
-  PRECOMPUTED_VIRTUAL void process_music ();
-  PRECOMPUTED_VIRTUAL void stop_translation_timestep ();
+  DECLARE_ACKNOWLEDGER (note_head);
+  DECLARE_ACKNOWLEDGER (stem);
+
+  void process_music ();
+  void stop_translation_timestep ();
   virtual bool try_music (Music *);
 private:
   Item *text_;
@@ -59,7 +59,7 @@ Part_combine_engraver::process_music ()
       else if (what == ly_symbol2scm ("unisono"))
        text = get_property ("aDueText");
 
-      if (Text_interface::markup_p (text))
+      if (Text_interface::is_markup (text))
        {
          text_ = make_item ("CombineTextScript", event_->self_scm ());
          text_->set_property ("text", text);
@@ -84,7 +84,7 @@ void
 Part_combine_engraver::acknowledge_stem (Grob_info i)
 {
   if (text_)
-      Side_position_interface::add_support (text_, i.grob ());
+    Side_position_interface::add_support (text_, i.grob ());
 }
 
 void
@@ -95,14 +95,13 @@ Part_combine_engraver::stop_translation_timestep ()
 }
 
 #include "translator.icc"
-ADD_ACKNOWLEDGER(Part_combine_engraver, note_head);
-ADD_ACKNOWLEDGER(Part_combine_engraver, stem);
+ADD_ACKNOWLEDGER (Part_combine_engraver, note_head);
+ADD_ACKNOWLEDGER (Part_combine_engraver, stem);
 ADD_TRANSLATOR (Part_combine_engraver,
-               /* descr */ "Part combine engraver for orchestral scores:               "
+               /* doc */ "Part combine engraver for orchestral scores:         "
                "Print markings a2, Solo, Solo II, and unisono ",
-               /* creats*/ "CombineTextScript",
-               /* accepts */ "part-combine-event",
-               /* acks  */ "",
-               /* reads */ "printPartCombineTexts soloText soloIIText "
+               /* create */ "CombineTextScript",
+               /* accept */ "part-combine-event",
+               /* read */ "printPartCombineTexts soloText soloIIText "
                "aDueText",
                /* write */ "");