Howdy,
I’m trying to identify a view in a way that works (i.e. such that the result is unique and doesn’t change) after Sublime Text (or the OS, for that matter) is restarted.
At first I thought some combination of view.window().id() and view.id() or view.buffer_id() could serve that purpose, but it looks like they aren’t persistent.
On the other hand, I’d prefer not to rely on view.file_name() or view.name() because they are both potentially ambiguous and/or not present.
What is the right way to do this, then?
Thank you,
Alvaro