Document shape_until_cursor

This commit is contained in:
Jeremy Soller 2022-10-25 11:13:22 -06:00
parent 0f446368ca
commit 5603e30a29
No known key found for this signature in database
GPG key ID: 87F211AF2BE4C2FE

View file

@ -233,6 +233,7 @@ impl<'a> TextBuffer<'a> {
total_layout
}
/// Shape lines until cursor, also scrolling to include cursor in view
pub fn shape_until_cursor(&mut self) {
let instant = Instant::now();