on master help sign in
remove incorrect assert
0ab96ccPascal Kuthe
helix-term/src/ui/document.rs−1
@@ -175,7 +175,6 @@ pub fn render_text<'t>(
175 text_annotations,
175 text_annotations,
176 );
176 );
177 row_off += offset.vertical_offset;
177 row_off += offset.vertical_offset;
178− assert_eq!(0, offset.vertical_offset);
179
178
180 let (mut formatter, mut first_visible_char_idx) =
179 let (mut formatter, mut first_visible_char_idx) =
181 DocumentFormatter::new_at_prev_checkpoint(text, text_fmt, text_annotations, offset.anchor);
180 DocumentFormatter::new_at_prev_checkpoint(text, text_fmt, text_annotations, offset.anchor);