* Addresses issue where line numbers appears after fold gutter if the line number visibility is toggled in the View Menu.
Uses MutationObserver (https://developer.mozilla.org/en/docs/Web/API/MutationObserver) to watch changes to the brackets code mirror gutters.
Was PR #11593
Addresses #11577, #10864
* Addresses issue where line numbers appears after fold gutter if the line number visibility is toggled in the View Menu.
Uses MutationObserver (https://developer.mozilla.org/en/docs/Web/API/MutationObserver) to watch changes to the brackets code mirror gutters.
Was PR #11593
Addresses #11577, #10864
* Added mutation observer to .brackets.json and .eslintrc.json
* Refactored to address code review comments
This fixes the bug in two ways:
* globmatch no longer uses the "matchBase" flag for directories
* the current editing file is set to the new project directory *after* the project
scoped preferences is changed
Either one individually would fix it, but both prevent potential other problems.
For example, if a preference is set at the "user" level and the user changes
the value via UI, the preference will be changed at the "user" level. If it's
set in a .brackets.json file, the preference will be changed there.
If the preference is defined only at the "default" level, it will be set
at the next higher level of precedence ("user" level in our setup).
This is a fix for #6595.