提交 31e77cc1 编写于 作者: D David Poeschl

Apply text changes before document info changes

上级 8ba94fa2
......@@ -1329,7 +1329,8 @@ protected virtual void ApplyProjectChanges(ProjectChanges projectChanges)
}
}
// update info if changed
// Update document info if changed. Updating the info can cause files to move on disk (or have other side effects),
// so we do this after any text changes have been applied.
if (newDoc.HasInfoChanged(oldDoc))
{
// ApplyDocumentInfoChanged ignores the loader information, so we can pass null for it
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册