Closed albrtbc closed 3 years ago
Hi @albrtbc, thank you for reporting this issue! I am a little surprised it slipped through undetected. Indeed, it was caused by a stale cache. I have added a test and confirmed the issue is no longer present as of 3.8.1
. Please feel free to give it a try and report back should you encounter any other issues.
cc: @chylex Please have a look at the fix and let me know if you have any questions or concerns.
Describe the bug When you open a new file and use AceJump it works correctly. But if you add a new line and search again it seems like it doesn't refresh the document and highlights the words as if they were on a previous line, so it marks a line higher than it really is.
The more lines you add, the more the gap between the highlighting and the word you are looking for. In addition, everything new you add is not found.
To Reproduce Steps to reproduce the behavior:
Expected behavior It should match the highlighted line with the current word.
Screenshots Here I was searching for 'aaa' which is in the second line and it's highlighting the first line.
Desktop (please complete the following information):
Additional context Looks like it caches the file and once you write new lines / stuff it doesn't refresh it so it's always looking for the old version line.