vertical scroll by keys
This commit is contained in:
@@ -17,7 +17,7 @@ class LogFileModel:
|
||||
lines_before_offset: List[Line] = []
|
||||
lines_after_offset: List[Line] = []
|
||||
result: List[Line] = []
|
||||
lines_to_find = lines # + -1 * scroll_lines
|
||||
lines_to_find = lines + abs(scroll_lines)
|
||||
|
||||
with self._lock:
|
||||
# TODO handle lines longer than 4096 bytes
|
||||
|
||||
Reference in New Issue
Block a user