mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 09:35:28 +00:00
enshort with bounds
This commit is contained in:
parent
20e8d8892b
commit
f444d9b115
1 changed files with 1 additions and 2 deletions
|
|
@ -137,8 +137,7 @@ fn find(
|
||||||
match subject.borrow().as_ref() {
|
match subject.borrow().as_ref() {
|
||||||
Some(subject) => {
|
Some(subject) => {
|
||||||
// Get iters
|
// Get iters
|
||||||
let buffer_start = subject.text_view.buffer().start_iter();
|
let (buffer_start, buffer_end) = subject.text_view.buffer().bounds();
|
||||||
let buffer_end = subject.text_view.buffer().end_iter();
|
|
||||||
|
|
||||||
// Cleanup previous search highlights
|
// Cleanup previous search highlights
|
||||||
subject
|
subject
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue