editor: Fix `edit_predictions_disabled_in` not disabling predictions (#36469)

Closes #25744

Only setting changes and editor init determined whether to show
predictions, so glob patterns and toggles correctly disabled them. On
cursor changes we call `update_visible_edit_prediction`, but we weren’t
discarding predictions when the scope changed. This PR fixes that.

Release Notes:

- Fixed an issue where the `edit_predictions_disabled_in` setting was
ignored in some cases.
47e1d4511cSmit Barmase committed on 8/19/2025, 9:13:41 AM· committed by GitHubparentb8ddb01
2 files changedLine totals unavailable