selection by mouse

This commit is contained in:
2021-10-24 15:11:03 +02:00
parent 58e3983e49
commit 3390ccf261
2 changed files with 39 additions and 5 deletions

View File

@@ -13,6 +13,9 @@ class Line:
def line(self):
return self._line
def length(self):
return len(self._line)
def includes_byte(self, byte: int) -> bool:
return self._byte_offset <= byte <= self._byte_end