enshort with bounds

This commit is contained in:
yggverse 2024-12-17 04:56:06 +02:00
parent 20e8d8892b
commit f444d9b115

View File

@ -137,8 +137,7 @@ fn find(
match subject.borrow().as_ref() {
Some(subject) => {
// Get iters
let buffer_start = subject.text_view.buffer().start_iter();
let buffer_end = subject.text_view.buffer().end_iter();
let (buffer_start, buffer_end) = subject.text_view.buffer().bounds();
// Cleanup previous search highlights
subject