Skip to content

Commit dc8b53b

Browse files
committed
Shows icon for each uncovered line
1 parent 9399b0a commit dc8b53b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

SublimeRubyCoverage.py

+6-6
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,12 @@ def run(self, edit):
6363
if line.strip() != '1':
6464
region = view.full_line(view.text_point(current_line, 0))
6565
# join contiguous regions together
66-
if len(outlines) > 0:
67-
prev_region = outlines.pop()
68-
if region.begin() == prev_region.end():
69-
region = sublime.Region(prev_region.begin(), region.end())
70-
else:
71-
outlines.append(prev_region)
66+
# if len(outlines) > 0:
67+
# prev_region = outlines.pop()
68+
# if region.begin() == prev_region.end():
69+
# region = sublime.Region(prev_region.begin(), region.end())
70+
# else:
71+
# outlines.append(prev_region)
7272

7373
outlines.append(region)
7474
except IOError as e:

0 commit comments

Comments
 (0)