Improve documentation

This commit is contained in:
Edgar Geier 2023-03-12 10:30:27 +01:00
parent 384c5c1fdc
commit 3331f41d7a
No known key found for this signature in database
GPG key ID: DE2B55319457EB56
6 changed files with 37 additions and 14 deletions

View file

@ -35,7 +35,7 @@ impl Editor {
}
}
pub(crate) fn set_layout_cursor(&mut self, font_system: &mut FontSystem, cursor: LayoutCursor) {
fn set_layout_cursor(&mut self, font_system: &mut FontSystem, cursor: LayoutCursor) {
let layout = self
.buffer
.line_layout(font_system, cursor.line)