Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
fix #294126: cannot navigate to measure elements #5327
The navigation code for next-element and previous-elements ignores measure elements
Testscript "accessible1" updated to check this.
This PR replaces the corresponding code in PR #5270
The navigation code for next-element and previous-elements ignores measure elements (elements in the el() list for the measure). This change adds handling for this by checking for measure elements before moving to the next or previous measure in Segment::nextElement() and Segment::previousElement(), There is corresponding code in Measure::nextElementStaff() and in Measure::previousElementStaff() to iterate through multiple elements if present.