Is there a way to get the View object using its ID? I can't find anything like that in the documentation and would be great to be able to store just the ID and the use the object.
curr_view = self.view
# or similar..
win = sublime.active_window()
new_view = win.new_file() # or
open_view = win.open_file('somefile.txt')
win.focus_view(new_view) # or open_view
khrizt wrote:All your advices worked really well... but I have another doubt, does someone knows how to switch to a different window from the current one? I haven't seen anything like that in the API Reference.
>>> from ctypes import windll
Users browsing this forum: No registered users and 3 guests