Skip to content

impl: implement rehearsal writing in DirectionWriter #205

Description

@webern

DirectionReader::parseRehearsal reads <rehearsal> elements into RehearsalData (text, position, color, enclosure, font) but DirectionWriter has no corresponding write path — rehearsals are silently dropped on output.

RehearsalData already models the full attribute surface (text, positionData, colorData, fontData, enclosure). The writer just needs a loop over directionData.rehearsals that emits <direction-type><rehearsal .../> elements, mirroring the pattern used by segno/coda in PR #203.

PR #134 included a rehearsal writer but was not merged; it was explicitly scoped out of PR #203 to keep that PR focused on segno/coda.

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    aiIssues opened by, or through, a coding agent.area/mx::implfeaturenew feature requestnon-breakingfixes or implementation that do not require breaking changes

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions