Read text via plugin
Dear musescore coders,
I'm currently trying to read text via plugin while encountering some problems. Maybe you can enlighten me.
Reading system text, stave text, rehearsal mark, figured bass and Tempo Marking works just fine by using cursor.segment.annotations[x].text.
Unfortunately, chord symbols won't work that way. Can't read them in a fresh opened musescore environment. After "editing" (doubleclickking is enough to enter edit mode) the der chord symbol reading its text works fine.
Lyrics won't read anyway.
Both texts are in the cursor.segment.annotations array but returning the false text = "".
Reading fingering won't work as well. It's not in the cursor.segment.annotations array .
I'm running musescore 2.1.0 revision 871c8ce.
Please explain possible reasoning errors or mark the question as known problem if work is already done on this topic.