-
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] Go to the most recently visited file when closing a file #2048
Comments
This works great, but it seems to duplicate the logic that's already in the getNextPrevFile() function. Can you just call that function instead? |
Done with initial review. |
Done. Totally missed that function there. Had to move it up to use it just to pass JSLint. |
This works great in this case:
Result: it switches back to file previously being edited in working set But it's not working in this case:
Result: I haven't figured out the pattern, but in most cases it does not re-select the file being edited in step 2. Note that there are several ways to close a file in Brackets, so be sure to test all of these:
|
Not sure how I missed this. I did tested and worked, maybe the code wasn't fully updated. But this time it does work in all the cases. |
Looks good. Merging. |
Thursday Nov 15, 2012 at 08:28 GMT
Originally opened as adobe/brackets#2122
This would add what was suggested in adobe/brackets#2091
TomMalbran included the following code: https://github.com/adobe/brackets/pull/2122/commits
The text was updated successfully, but these errors were encountered: