JSAbrahams / Academic-Journal

📚 A journal to keep track of notes
MIT License
1 stars 1 forks source link

[BUG] Reference positions get reset constantly #40

Closed JSAbrahams closed 4 years ago

JSAbrahams commented 4 years ago

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.