From 0ab96cc2576cf8d78d54bcc42e0e7f5285321030 Mon Sep 17 00:00:00 2001 From: Pascal Kuthe Date: Wed, 22 Mar 2023 18:41:56 +0100 Subject: 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. --- helix-term/src/ui/document.rs | 1 - 1 file changed, 1 deletion(-) (limited to 'helix-term/src/ui') diff --git a/helix-term/src/ui/document.rs b/helix-term/src/ui/document.rs index d4176264..39c20950 100644 --- a/helix-term/src/ui/document.rs +++ b/helix-term/src/ui/document.rs @@ -175,7 +175,6 @@ pub fn render_text<'t>( text_annotations, ); row_off += offset.vertical_offset; - assert_eq!(0, offset.vertical_offset); let (mut formatter, mut first_visible_char_idx) = DocumentFormatter::new_at_prev_checkpoint(text, text_fmt, text_annotations, offset.anchor); -- cgit v1.2.3-70-g09d2