One case is not tested. If you have an unsaved view in one window and a clone of that view in the second window, and you close_window() the second window, the first view should not be scratch afterward. However, it doesn't look like it's possible to set that up using the Sublime API (https://github.com/sublimehq/sublime_text/issues/3965). I tested it by hand and It Works On My Machine™.
Fix #147.
Includes #148 so the window_util tests will run.
One case is not tested. If you have an unsaved view in one window and a clone of that view in the second window, and you
close_window()
the second window, the first view should not be scratch afterward. However, it doesn't look like it's possible to set that up using the Sublime API (https://github.com/sublimehq/sublime_text/issues/3965). I tested it by hand and It Works On My Machine™.This PR does not expose
clone_view
.