Describe the bug
Reference positions are not updated if we add/shift text.
Same for deleting text, as the end position is not updated either.
Expected behavior
I we add text before a reference, it's position should be updated in file.
Additional context
It does seem that the text area does already implement logic for moving around highlights,
so if we could observe the start and end positions, we could link this to the actual ReferencePosition,
and this issue would be solved.
Describe the bug Reference positions are not updated if we add/shift text. Same for deleting text, as the end position is not updated either.
Expected behavior I we add text before a reference, it's position should be updated in file.
Additional context It does seem that the text area does already implement logic for moving around highlights, so if we could observe the start and end positions, we could link this to the actual ReferencePosition, and this issue would be solved.