prepare filtering

This commit is contained in:
2021-10-26 18:51:32 +02:00
parent 1a67925873
commit f9434b4c1d
8 changed files with 90 additions and 20 deletions

View File

@@ -29,6 +29,7 @@ class HighlightSelection(Highlight):
start_byte_in_line = begin - line.byte_offset()
else:
start_byte_in_line = 0
start_char = line.byte_index_to_char_index(start_byte_in_line)
if line.includes_byte(end):