remove incorrect assert
This assert was added during early development of #5420 and makes no
sense with the current code. We simply forgot to remove it.
commit0ab96cc2576cf8d78d54bcc42e0e7f5285321030
authorPascal Kuthe <pascal.kuthe@semimod.de>
dateWed 22 Mar 2023, 18:41 (4 years ago)
parentc8fde8b
helix-term/src/ui/document.rs−1
@@ -175,7 +175,6 @@ pub fn render_text<'t>(
175175 text_annotations,
176176 );
177177 row_off += offset.vertical_offset;
178− assert_eq!(0, offset.vertical_offset);
179178
180179 let (mut formatter, mut first_visible_char_idx) =
181180 DocumentFormatter::new_at_prev_checkpoint(text, text_fmt, text_annotations, offset.anchor);