Issue by dangoor
Tuesday Apr 01, 2014 at 13:40 GMT
Originally opened as adobe/brackets#7371
This is a fix for #7250. What was happening is that there was a file tree refresh occurring and that was causing the PreferencesManager._setCurrentEditingFile in _loadProject to fire. The purpose of that call is to start the loading of project-level prefs, but in this case we weren't actually loading a new project and the result was that the preferences context for editing was being set incorrectly.
dangoor included the following code: https://github.com/adobe/brackets/pull/7371/commits
Tuesday Apr 01, 2014 at 13:40 GMT
Originally opened as adobe/brackets#7371
This is a fix for #7250. What was happening is that there was a file tree refresh occurring and that was causing the
PreferencesManager._setCurrentEditingFilein_loadProjectto fire. The purpose of that call is to start the loading of project-level prefs, but in this case we weren't actually loading a new project and the result was that the preferences context for editing was being set incorrectly.dangoor included the following code: https://github.com/adobe/brackets/pull/7371/commits