This repository was archived by the owner on Sep 6, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Issue #2076: Two indistinguishable events for different cases of working set reordering #4450
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I think that it will be best if we make a new |
@TomMalbran Thanks for jumping on this! Two things I think could make this cleaner:
|
|
@peterflynn Fixes pushed. I added a few extra JSDoc fixes too. As you noticed I couldn't get rid of the |
@TomMalbran Looks great! Merging now... |
peterflynn
added a commit
that referenced
this pull request
Jul 23, 2013
Better fix for #2076: Two indistinguishable events for different cases of working set reordering. Now listening for a single event is enough to track all working set reordering.
peterflynn
added a commit
that referenced
this pull request
Jul 23, 2013
* Fix exception thrown when File > Save As invoked with nothing open * Update docs for working set events to reflect PR #4450
peterflynn
added a commit
that referenced
this pull request
Jul 30, 2013
…eanups * origin/master: (30 commits) turn off optimization in acorn (but not acorn_loose right now) cleanup unit test prefs temporarily switch to my tern Revert "Revert "Workaround for the Tern crash."" Update README.md Work around #4554 (Extension Manager font is hard to read on Windows), which is a Chromium bug, by avoiding the lightest font-weight on Win. Lighten the text slightly so it's still a little muted, like the design looks on Mac and with older CEFs on Win. Revert "Workaround for the Tern crash." Updated by ALF automation. Re-add toolbar hover. Fix some button appearance issues. Updated by ALF automation. * Fix bug #4548 - remove Save As from folder tree context menu * Fix exception thrown when File > Save As invoked with nothing open * Update docs for working set events to reflect PR #4450 integration tests for registerInlineEditProvider Fixes after review JSDoc fixes. Fix for extensions compare show error message and add safety check For #4535, show error message but not 'remove' link for bad extension in dev folder Refactor provider callback for export Generalize registerInlineEditProvider and registerInlineDocProvider to take an optional priority parameter change upper limit to 16000 ...
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fix for #2076
With this, now both drag and drop reorder and the context menu sort methods trigger the same
workingSetSort
event and drag and drop uses it in a way that it doesn't redraw the DOM.It would have been pretty easy to remove the
workingSetDisableAutoSorting
event and just use theworkingSetSort
event to cancel the automatic sorting, but since pull request #4437, save as can sometimes trigger aworkingSetSort
event, which would disable the automatic sort in some unwanted situations.@peterflynn Could you take a look as this solution? I think this is what you wanted :)