0
Timothee Cour 9 months ago • updated 9 months ago 1
The api is missing an important feature: ability to maximize/minimize a window, as well as querying for the minimized/maximized state of a window.

Use case: 
1) restore maximize/minimize state of each window upon restarting sublimetext (currently when sublimetext restarts, all windows are maximized regardless of their state when sublimetext was exited).
2) I have a tool that opens a file in sublimetext by first searching whether the file was in an existing tab in an existing window; if not it'll open a new tab in current window otherwise it'll make that tab in foreground. Turns out this doesn't work if the window that contains the file is minimized, and we don't even have a way to tell whether that window was minimized or not.