Rename buffer crate to text and name its entrypoint after the crate

Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
This commit is contained in:
Nathan Sobo
2021-11-30 12:26:12 -07:00
co-authored by Max Brunsfeld
parent eacd2a45bb
commit d3f28166cb
31 changed files with 84 additions and 85 deletions
+2 -2
View File
@@ -16,7 +16,7 @@ use sum_tree::{Bias, Cursor, SumTree};
use theme::SyntaxTheme;
pub use super::tab_map::TextSummary;
pub type Edit = buffer::Edit<u32>;
pub type Edit = text::Edit<u32>;
pub struct WrapMap {
snapshot: Snapshot,
@@ -991,10 +991,10 @@ mod tests {
display_map::{fold_map::FoldMap, tab_map::TabMap},
test::Observer,
};
use buffer::Rope;
use language::{Buffer, RandomCharIter};
use rand::prelude::*;
use std::{cmp, env};
use text::Rope;
#[gpui::test(iterations = 100)]
async fn test_random_wraps(mut cx: gpui::TestAppContext, mut rng: StdRng) {