Skip to content

Commit

Permalink
fix hex-editor search not lazy loading the file
Browse files Browse the repository at this point in the history
  • Loading branch information
SilenZcience committed Dec 5, 2024
1 parent c3ce4a1 commit 665dded
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cat_win/src/service/helper/editorhelper.py
Original file line number Diff line number Diff line change
Expand Up @@ -639,6 +639,7 @@ def __next__(self) -> tuple:
found_pos = self._get_next_pos(line_y)
if found_pos >= 0:
return self._stop_if_past_original(line_y, found_pos)
self.editor._build_file_upto(content_len+30)
if self.editor.selecting:
raise StopIteration()
self.wrapped = True
Expand Down

0 comments on commit 665dded

Please sign in to comment.