mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
It's possible for the DTD `Editor` service to send a `ActiveLocationChanged` event with a null `textDocument` when a 'synthetic' file is selected (e.g., IDE settings, the widget previewer, etc.). The previewer should not react to these events and should continue rendering the last set of filtered previews from a valid source file.