mirror of
https://github.com/rm-dr/daisy
synced 2025-07-08 21:49:48 -07:00
Fixed substitution bug
This commit is contained in:
@ -84,7 +84,7 @@ pub fn find_subs(
|
|||||||
} else {
|
} else {
|
||||||
let target = target.unwrap();
|
let target = target.unwrap();
|
||||||
let l = t.get_mut_line_location();
|
let l = t.get_mut_line_location();
|
||||||
r.push_front((l.clone(), String::from(target)));
|
r.push_back((l.clone(), String::from(target)));
|
||||||
|
|
||||||
let old_len = l.len;
|
let old_len = l.len;
|
||||||
let new_len = target.chars().count();
|
let new_len = target.chars().count();
|
||||||
|
Reference in New Issue
Block a user