def refresh_selections(view):
"""
Workaround for bug #485 where the view is not repainted
See https://github.com/SublimeTextIssues/Core/issues/485
"""
view.add_regions('gotousage_485fix', [], "no_scope", "", sublime.HIDDEN)
view.erase_regions('gotousage_485fix')
评论列表
文章目录