Some APIs I need to provide better plugins.
**This will allow me to restore scroll and other view properties such bookmarks, selections, folds, etc for views that are reloaded.
**This will allow to flush to disk some data collected in a session when sublime is closed. There is no need to flush to disk everytime a view lose focus or change of properties. I just need to flush when the application is closed.
**sublime_plugin.EventListener.on_viewport_change and sublime_plugin.EventListener.on_viewport_extent_change
**This will allow to do some magic scroll between cloned views when you just scroll one of these.
**This will allow to apply (if appropriated) some magic to cloned views. Without this we need to iterate every window and foreach window every view to see if there is some clone for a view. This should return true even if the cloned view is located in other window.
**This should return the clones of a view.
**This should return a history object of the view. This is useful for when a file is renamed, we currently lose undo when renaming.
**This should allow to set history object of the view.
**I hope you can add this, and dispatch the event before the project is closed, then we will be able to save some data related to the view that is going to be closed. Or just send on_close for each view when we switch to another project.
**This should return a persistent settings object on which the id is the file_name. This will allow to save settings based on file names instead of views. Also, this setting should be persistent between sessions.
**This should return a persistent settings object on which the data is saved at the project file. This will allow to have settings for projects.
Also, If you wish please fix the API set_viewport_position which is currently broken for xml/html files. Details in: https://forum.sublimetext.com/t/please-fixme-a-reproducible-bug-in-set-viewport-position/5064/1