superlou / fountain-atom

Grammar and tools for the Fountain screenwriting syntax
MIT License
48 stars 15 forks source link

Have to toggle outline every time when Atom starts #77

Open leeyupeng opened 6 years ago

leeyupeng commented 6 years ago

Hi,

I set Restore Previous Windows On Start as always in Atom preferences. Then I open a .fountain file and make the Fountain Outline appear.

But when I quit and re-open the Atom, the fountain outline is not there by default. I have to toggle it every time.

Is this a restriction of Atom tab view or I missed some configuration of fountain package?

Thank you.

superlou commented 6 years ago

Unfortunately, that's known behavior. Part of switching to the new docks API is that I couldn't find a straightforward way to determine if the outline was open, not open, or open but collapsed. I didn't have any luck coming up with something that was robust enough to have edge cases where the outline would pop-up when isn't expected to, which I felt was more annoying than simply having to open it. I'm definitely open to PRs that improve this behavior.