Editor docs (#4097)
Release Notes: - N/A --------- Co-authored-by: Kirill <kirill@zed.dev>
This commit is contained in:
@@ -582,7 +582,7 @@ impl BlockSnapshot {
|
||||
.collect()
|
||||
}
|
||||
|
||||
pub fn chunks<'a>(
|
||||
pub(crate) fn chunks<'a>(
|
||||
&'a self,
|
||||
rows: Range<u32>,
|
||||
language_aware: bool,
|
||||
|
||||
@@ -655,7 +655,7 @@ impl FoldSnapshot {
|
||||
}
|
||||
}
|
||||
|
||||
pub fn chunks<'a>(
|
||||
pub(crate) fn chunks<'a>(
|
||||
&'a self,
|
||||
range: Range<FoldOffset>,
|
||||
language_aware: bool,
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -568,7 +568,7 @@ impl WrapSnapshot {
|
||||
Patch::new(wrap_edits)
|
||||
}
|
||||
|
||||
pub fn chunks<'a>(
|
||||
pub(crate) fn chunks<'a>(
|
||||
&'a self,
|
||||
rows: Range<u32>,
|
||||
language_aware: bool,
|
||||
|
||||
Reference in New Issue
Block a user