mirror of
https://github.com/webodf/WebODF.git
synced 2026-11-30 16:47:58 +01:00
determine walkability around annotations via the TextPositionFilter. - In checkLeftRight, now that positions to the left and right of an annotation are walkable by default, block the position to the right of an annotation if there is a grouping element (span, annotation highlight, etc) to the right. - Thus, now you can step to both the left and right of a rangeless annotaiton. If the annotaiton has a highlighted range, the cursor won't be able to step between the <office:annotation> element and it's annotationHighlight, so there can be no strange text insertion there, and no rewrapping is required over the newly inserted text as it goes straight into the highlighted span like everywhere else. * Add tests to OdtDocumentTests for cursor positions around annotations. * Add tests to operationtests.xml (mostly bumping up the positions of SplitParagraph operations after adding annotations, now that 1 new position is exposed.