Add a test

This commit is contained in:
Kirill Bulatov 2023-05-05 14:14:27 +03:00 committed by Kirill Bulatov
parent ec725fe399
commit 706f6f495a
2 changed files with 103 additions and 10 deletions

View file

@ -211,12 +211,6 @@ pub struct Glyph {
pub is_emoji: bool,
}
#[derive(Debug, Clone)]
pub enum Invisible {
Tab { line_start_offset: usize },
Whitespace { line_offset: usize },
}
impl Line {
fn new(layout: Arc<LineLayout>, runs: &[(usize, RunStyle)]) -> Self {
let mut style_runs = SmallVec::new();