Formerly, I believed that retaining as much content as possible during animation, and sliding only really new/removed parts of content in/out would be ideal. It turns out that sliding parts of lines looks ugly, e.g. the change from "Test Heading (1)" -> "Test Heading (2)" should not appear as a static "Test Heading (" and a "1)" sliding out, and "2)" sliding in (the closing parenthesis is not recognized as the same due to its horizontal position).
A solution could be to
always fade the heading (as it was before) – but this is just patching a common case of this problem – and to
group lines and animate all words / patches within a row the same way.
Formerly, I believed that retaining as much content as possible during animation, and sliding only really new/removed parts of content in/out would be ideal. It turns out that sliding parts of lines looks ugly, e.g. the change from "Test Heading (1)" -> "Test Heading (2)" should not appear as a static "Test Heading (" and a "1)" sliding out, and "2)" sliding in (the closing parenthesis is not recognized as the same due to its horizontal position).
A solution could be to