You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Search results can differ between disk match and editor match #8710
Sandeep Somavarapu (@sandy081) not really something that you caused, but I thought I would file this because you seem to want to look into reducing debt in search land for disk match vs. editor buffer match.
Consider you have 1 match in a file and you edit the file to remove the match. The search results nicely update live and show that you no longer have results. However, once you close the file in the editor, its associated model gets disposed and search suddenly goes back to showing the disk result, which now is outdated and still shows the match. I think the disk result needs to be updated as well when the editor changes.
Benjamin Pasero (@bpasero) Yes, I am aware of this and I think there are few other such corner cases causing due to not proper sync between search models.
Activity
sandy081 commentedon Jul 4, 2016
Benjamin Pasero (@bpasero) Yes, I am aware of this and I think there are few other such corner cases causing due to not proper sync between search models.
sandy081 commentedon Jul 5, 2016
Closing this as this will be fixed with #8515