Remove unused util.get_focused_view
@@ -124,30 +124,6 @@ def get_active_view(view=None):
return sublime.active_window().active_view()
-def get_focused_view(view):
- """
- Return the focused view which shares view's buffer.
-
- When updating the status, we want to make sure we get
- the selection of the focused view, since multiple views
- into the same buffer may be open.
-
- """
- active_view = get_active_view(view)
- if not active_view:
- return
-
- if not is_lintable(view):
- return
-
- if not view.window():
- return
-
- for view in view.window().views():
- if view == active_view:
- return view
-
-
def get_new_dict():
return deepcopy({WARNING: {}, ERROR: {}})
