##// END OF EJS Templates
bugfix: last line in file content highlighter was being skipped
dan -
r112:f64345db default
parent child Browse files
Show More
@@ -11,7 +11,7 b' for line_number in matching_lines:'
11 if len(lines_of_interest) < max_lines:
11 if len(lines_of_interest) < max_lines:
12 lines_of_interest |= set(range(
12 lines_of_interest |= set(range(
13 max(line_number - line_context, 0),
13 max(line_number - line_context, 0),
14 min(line_number + line_context, len(lines))))
14 min(line_number + line_context, len(lines) + 1)))
15 shown_matching_lines += 1
15 shown_matching_lines += 1
16
16
17 %>
17 %>
General Comments 0
You need to be logged in to leave comments. Login now