Describe the bug
If we switch between journal entries, all the reference positions are set to 0 in the entry we switch from.
Expected behavior
It shouldn't do this.
Additional context
This has to do with the fact that the position are bound to highlights in text, which seem to be set to 0 before being removed.
Or something along those lines at least.
We should do some sort of unbinding before switching to prevent this situation from occurring.
Describe the bug If we switch between journal entries, all the reference positions are set to 0 in the entry we switch from.
Expected behavior It shouldn't do this.
Additional context This has to do with the fact that the position are bound to highlights in text, which seem to be set to 0 before being removed. Or something along those lines at least. We should do some sort of unbinding before switching to prevent this situation from occurring.