mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00:00
parent
32acfdde2a
commit
c89ef73327
|
@ -121,7 +121,7 @@ class SearchEditorInputSerializer implements IEditorSerializer {
|
|||
|
||||
const config = input.tryReadConfigSync();
|
||||
const dirty = input.isDirty();
|
||||
const matchRanges = input.getMatchRanges();
|
||||
const matchRanges = dirty ? input.getMatchRanges() : [];
|
||||
const backingUri = input.backingUri;
|
||||
|
||||
return JSON.stringify({ modelUri, dirty, config, name: input.getName(), matchRanges, backingUri: backingUri?.toString() } as SerializedSearchEditor);
|
||||
|
|
Loading…
Reference in a new issue