
On Thu, 2010-10-21 at 19:09 +0100, Richard Hughes wrote:
When you delete a new-line:
sp_te_delete calls delete_line_break and then te_update_layout_now. The latter calls SPText::rebuildLayout() which loops over the tspans, calling tspan->attributes.setFirstXY(anchor_point). The values of anchor_point are correct and Inkscape displays the tpans correctly but the x and y attributes as shown by the XML Editor are not updated. It is as if the x and y attributes are being updated in a copy of the tspans. What needs to be done to get the tspans in the tree update correctly?
Fixed in r9840. Any other editing operation after the deletion would have fixed up the repr, which is why we never noticed the problem before.
Thanks!! I've backported it to 0.48.
Tav