diff --git a/crates/rope/src/chunk.rs b/crates/rope/src/chunk.rs index 96d0e60877731bc104595cfb38400face4866e39..69553eafb1b852960fa794d1b00ab28eba14888a 100644 --- a/crates/rope/src/chunk.rs +++ b/crates/rope/src/chunk.rs @@ -728,6 +728,7 @@ fn log_err_char_boundary(text: &str, offset: usize) { text, text.len() ); + return; } // find the character let char_start = text.floor_char_boundary(offset);