more tests for scrolling

This commit is contained in:
2021-10-25 16:20:30 +02:00
parent 3662b47651
commit 603b748180
5 changed files with 173 additions and 18 deletions

View File

@@ -31,4 +31,7 @@ class Line:
return self._line[offset:offset+length]
def suffix(self, index: int) -> str:
return self._line[index:]
return self._line[index:]
def __str__(self):
return "%s (%d->%d)" % (self._line, self._byte_offset, self._byte_end)