Refresh editor containing toc is present when deleting files causes toc to change