Details
-
Bug
-
Resolution: Done
-
P2: Important
-
QDS 2.3
-
None
-
2
-
c2fb654681970bf13a948db2bb700ae5ccb9471f (qt-creator/qt-creator/6.0)
-
QDS 3D - 2021 Week 45/46
Description
Undo/redo is indistinguishable from manual text change in ComponentTextModifier. Neither properly updates ComponentTextModifier offsets when document is in subcomponent edit mode, usually leading to various parsing errors.
When an unexpected non-whitespace change to document text is detected, ComponentTextModifier should be recreated from scratch. It's bit problematic as this requires a rewriter view attached to original document model, but rewriter view is currently attached to the in-file subcomponent model.