Closed Shadowfiend closed 11 years ago
This is great! The only thing I've noticed thus far is that every time you quit, relaunch and then open a saved "project" ... Vico reverses the order of opened tabs. Other than that, tabs, caret and scroll offset, and splits all seem to be saved!
I wonder, have you considered supporting the global pref added in Lion (or perhaps ML, not sure) for saving window/tab state on quit, so that upon relaunch, the same "projects" open at last quit, are opened automatically?
Yep, restoring the last open project(s) is definitely part of this.
Thanks for letting me know about tabs. I don't use them much so having someone checking things who does is handy ;)
Cool!
Actually, I may fix tab ordering and then leave resume support for something separate. I want to integrate Auto Save as well, and those two will dovetail nicely.
Ok, I currently consider this ready to go. Bug reports welcome!
Love the commit message :P Ok cool. I will build after work and see if I can't break anything ;)
Rockin'!
So far so good for me!
Shit I spoke too soon. I am noticing some weird reordering with the second and third open tabs ... let me play with it some more (with different tab counts) and try to pin down the logic behind whats happening.
All right, let me know what you find. Any consistency to it?
Sorry for the delay :| I think I see whats happening now. The original tab order (i.e. the one created when opening/closing a tab) seems to be preserved, but any new order established via rearranging the tabs is not preserved.
So if you open a set of tabs, rearrange them, then close the project window, reopening it gets it to you in the originally-opened order rather than the rearranged one?
You got it!
Guess I could have said that in english the first time ;)
Haha no worries, I had enough information, just wanted to articulate it clearly and make sure I didn't misunderstand.
Looks like I made some assumptions about how tabs are reported back that weren't true. I'll look at it tonight and see if I can't fix it.
Nice. Thanks!
This should now be fixed.
Fixed for me!
Ok, I think I'm going to go ahead and merge this baby if there are no further issues. I'll give it a day and merge it tomorrow (October 14th) evening, EDT.
Cool. Yeah nothing to report but good things on my end, so I say merge away!
!
One last fix in, once @farmdawgnation confirms this is kosher I'll merge 'er in.
:+1:
In particular, remembering split layout and open buffers for a given directory would be nice.
Note: the diff here currently includes commits from
arc-reactor
; those will go away once that branch is merged.