Update method name and partially document platform crate
co-authored-by: Nathan <nathan@zed.dev>
This commit is contained in:
parent
7a299e966a
commit
9eecda2dae
10 changed files with 38 additions and 32 deletions
|
@ -47,7 +47,7 @@ pub struct TextSystem {
|
|||
}
|
||||
|
||||
impl TextSystem {
|
||||
pub fn new(platform_text_system: Arc<dyn PlatformTextSystem>) -> Self {
|
||||
pub(crate) fn new(platform_text_system: Arc<dyn PlatformTextSystem>) -> Self {
|
||||
TextSystem {
|
||||
line_layout_cache: Arc::new(LineLayoutCache::new(platform_text_system.clone())),
|
||||
platform_text_system,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue