\version "2.2.0"
\header
{

    texidoc = "Lyric extenders run to the end of the line if it
continues the next line. Otherwise, it should run to the last note
of the melisma."

}

\score {
    << 
	\context Voice=A \notes {
	    a1 ( a1 \break
	    a) a2( b) \break
	    a2 
	}
	\lyricsto A \context Lyrics \lyrics { a __ a __ ha }
    >>
    \paper {
	raggedright = ##t
    }
}
