-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CLOSED] Nothing open in editor area after using Close Others #5313
Comments
Comment by peterflynn This may have been working originally and then broken by some of the Image-close work... but if so, it's a good example of why features like this should have unit tests before landing. |
Comment by peterflynn I think this is caused by this line:
Notice how the 2nd arg is forced to always be true. I think we would only want it to be true when the current document isn't in the working set. Looks like that change was made by |
Comment by sathyamoorthi
|
Comment by peterflynn Ok, marking 'fix in progress.' Sorry it didn't get merged during the same sprint... |
Comment by sathyamoorthi
That was a clear mistake made by me. I didn't manually check before i did my last commit on that PR. I ran "Close Others" unit test and did a commit. Later, i realized that issue and added below line in unit test file. So you can rely that test file now. :)
|
Comment by JeffryBooher open to |
Issue by peterflynn
Friday Nov 01, 2013 at 00:22 GMT
Originally opened as adobe/brackets#5800
Result:
The correct files are closed, but the editor area is cleared and nothing is selected in the working set (even if there are still items in it).
Expected:
File you right-clicked is still selected in working set and displayed in editor area.
Workaround:
Click the file again. The original editor comes back and no changes, state, etc. are lost.
The text was updated successfully, but these errors were encountered: