docs: improve description of what the calculate range inline method does
This commit is contained in:
parent
aca9b4f158
commit
ffb2ae336e
1 changed files with 2 additions and 1 deletions
|
@ -2232,7 +2232,8 @@ impl Document {
|
|||
self.inlay_hints = Default::default();
|
||||
}
|
||||
|
||||
/// Compute ~3 times the current view height, that way some scrolling will not show half the view with annotations half without while still being faster than computing all the hints for the full file
|
||||
/// Compute the range of lines for which inline annotations should be computed, which will be ~3 times the current view height.
|
||||
/// That way some scrolling will not show half the view with annotations half without while still being faster than computing all the hints for the full file
|
||||
pub fn inline_annotations_line_range(
|
||||
&self,
|
||||
view_height: usize,
|
||||
|
|
Loading…
Add table
Reference in a new issue