(vulture) remove unused mark_flags
@@ -145,7 +145,6 @@ class Highlight:
self.code = code
self.marks = util.get_new_dict()
self.mark_style = 'outline'
- self.mark_flags = MARK_STYLES[self.mark_style]
self.style_store = HighlightStyleStore()
# Every line that has a mark is kept in this dict, so we know which
@@ -402,13 +401,6 @@ class Highlight:
self.newlines = other.newlines
- def set_mark_style(self):
- """Configure the mark style and flags based on settings."""
- self.mark_flags = MARK_STYLES[self.mark_style]
-
- if not persist.settings.get('show_marks_in_minimap'):
- self.mark_flags |= sublime.HIDE_ON_MINIMAP
-
def draw(self, view):
"""
Draw code and gutter marks in the given view.
@@ -419,8 +411,6 @@ class Highlight:
"""
from .style import GUTTER_ICONS
- self.set_mark_style()
-
drawn_regions = []
protected_regions = []
