diff options
author | Pascal Kuthe | 2023-03-22 17:41:56 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2023-03-27 00:54:40 +0000 |
commit | 0ab96cc2576cf8d78d54bcc42e0e7f5285321030 (patch) | |
tree | f485d2acc5984d5fd0ff2d079730b56c5cd99a7b | |
parent | c8fde8b6f99b07faca7e6f93162d887ee132e0f6 (diff) |
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.
-rw-r--r-- | helix-term/src/ui/document.rs | 1 |
1 files changed, 0 insertions, 1 deletions
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); |