Editor docs (#4097)

Release Notes:

- N/A

---------

Co-authored-by: Kirill <kirill@zed.dev>
This commit is contained in:
Piotr Osiewicz
2024-01-18 00:48:37 +01:00
committed by GitHub
co-authored by Kirill
parent 647b08b101
commit 6cbc49e5f0
49 changed files with 507 additions and 376 deletions
+3 -3
View File
@@ -35,8 +35,8 @@ enum Transform {
}
#[derive(Debug, Clone)]
pub struct Inlay {
pub id: InlayId,
pub(crate) struct Inlay {
pub(crate) id: InlayId,
pub position: Anchor,
pub text: text::Rope,
}
@@ -1016,7 +1016,7 @@ impl InlaySnapshot {
(line_end - line_start) as u32
}
pub fn chunks<'a>(
pub(crate) fn chunks<'a>(
&'a self,
range: Range<InlayOffset>,
language_aware: bool,