1
0
mirror of https://github.com/adobe/brackets.git synced 2024-11-20 09:53:00 +01:00
Commit Graph

18 Commits

Author SHA1 Message Date
Pete Nykänen
812111e7c4 Revert "Ensures fold-gutter is always inserted after the line-number gutter (if it exists)" 2016-08-28 18:29:41 +03:00
Patrick Oladimeji
57278636e2 Ensures fold-gutter is always inserted after the line-number gutter (if it exists) (#12673)
* 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
2016-08-27 20:33:07 +03:00
ficristo
074382aaa2 Move most inline jslint directives to config files 2016-08-12 09:22:41 +02:00
ficristo
e31c1b1e47 Reintroduce JSLint as a prefered linter and disable temporary no-trailing-spaces and eol-last eslint rules 2015-12-14 14:24:25 +01:00
ficristo
c037d871e8 Switched from JSHint\JSLint to ESLint
to lint Brackets core code.
2015-10-15 21:16:12 +02:00
Marcel Gerber
c38bcacebf Rename CodeMirror2 folder to CodeMirror 2015-05-21 20:53:10 +02:00
Arzhan Kinzhalin
fb0183fcb2 Address review comments.
- Rename 'preferredOnly' to 'usePreferredOnly'.
    - Get rid of 'firstOnly' altogether.
    - Fix tests.
2014-12-09 12:56:14 -03:00
Arzhan Kinzhalin
47399b600b Switch to array for 'prefer' pref. 2014-12-03 23:49:04 -03:00
Arzhan Kinzhalin
49c8dbe362 Fix JSON syntax error. 2014-12-03 12:47:13 -03:00
Arzhan Kinzhalin
5af3533b65 Configure Brackets to use JSLint and JSHint. 2014-09-26 15:32:34 -03:00
Kevin Dangoor
5469b7c2d1 Move the JSLint es5 option for FileTreeViewModel to make JSHint happy. 2014-09-19 22:17:55 -04:00
Kevin Dangoor
786952980f es5 option apparently causes other issues. 2014-09-19 13:58:18 -04:00
Kevin Dangoor
0a42f0788c ctrl-alt-click on a directory recursively closes the whole subtree.
Also turn on es5 mode for JSLint and JSHint so we can call .delete directly.
We wouldn't support any non-es5 browsers anyhow.
2014-09-19 10:33:38 -04:00
Kevin Dangoor
a779dbebe6 Remove brackets-git preference 2014-04-04 08:44:43 -04:00
Kevin Dangoor
8bae596041 Fix for #7374 project prefs path breaking project open.
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.
2014-04-03 12:51:51 -04:00
Kevin Dangoor
52a3a06886 Remove indent option for jslint because it's not needed after this change. 2014-01-27 09:18:24 -05:00
Kevin Dangoor
e4c86c2ca9 Set preferences are, by default, set in the context in which they are defined.
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.
2014-01-21 09:55:45 -05:00
Kevin Dangoor
e7b1067e51 Preferences files are now .brackets.json 2014-01-09 11:20:27 -05:00