Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,15 @@ internal void SynchronizeSettings()
var updatedText = originalText;
foreach (var view in _views)
{
// Get any changes for the editors. This will return the source text if there are no changes.
updatedText = await view.UpdateEditorConfigAsync(updatedText).ConfigureAwait(false);
}

_textUpdater.UpdateText(updatedText.GetTextChanges(originalText));
// Save the updates if they are different from what is currently saved
if (updatedText != originalText)
{
_textUpdater.UpdateText(updatedText.GetTextChanges(originalText));
}
});
}

Expand Down