use crate::fragment::CellText; use crate::Settings; use crate::{ buffer::{fragment_buffer::FragmentTree, Fragment, StringBuffer}, util::parser, }; pub use cell::{Cell, CellGrid}; pub use contacts::Contacts; use itertools::Itertools; use sauron::{ html, html::{attributes::*, *}, svg::{attributes::*, *}, Node, }; pub use span::Span; use std::{ collections::BTreeMap, fmt, ops::{Deref, DerefMut}, }; use unicode_width::UnicodeWidthStr; mod cell; mod contacts; mod endorse; mod span; /// The simplest buffer. /// This is maps which char belong to which cell skipping the whitespaces #[derive(Debug)] pub struct CellBuffer { map: BTreeMap, /// class,