IDEX-1073. Fixed bug: Don't show content of file after switching editor in preferences.