Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Fixes a bug in the Find in Files sorting implementation #7067

Merged
merged 2 commits into from
Mar 4, 2014

Conversation

TomMalbran
Copy link
Contributor

It now store the selected entry when starting a search and use it when sorting the files, so that the order of the files shouldn't change anymore.

@JeffryBooher

@@ -938,6 +939,7 @@ define(function (require, exports, module) {

dialog = new FindInFilesDialog();
searchResults = {};
selectedEntry = ProjectManager.getSelectedItem().fullPath;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If there is nothing open, then you get a runtime exception here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch. Fixed

JeffryBooher added a commit that referenced this pull request Mar 4, 2014
Fixes a bug in the Find in Files sorting implementation
@JeffryBooher JeffryBooher merged commit 8572b1d into master Mar 4, 2014
@JeffryBooher
Copy link
Contributor

looks good. merging.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants