def scroll_into_view(self):
try:
view = sublime.active_window().active_view()
# TODO(guillermooo): Maybe some commands should show their
# surroundings too?
# Make sure we show the first caret on the screen, but don't show
# its surroundings.
view.show(view.sel()[0], False)
except:
pass
评论列表
文章目录