Rename rightmost_{row,chars} to longest_{row,chars}

Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
Antonio Scandurra
2021-05-20 16:32:09 +02:00
co-authored by Nathan Sobo
parent 86199c588f
commit b42f5142f7
6 changed files with 41 additions and 41 deletions
+1 -1
View File
@@ -520,7 +520,7 @@ impl LayoutState {
layout_cache: &TextLayoutCache,
app: &AppContext,
) -> f32 {
let row = view.rightmost_row(app);
let row = view.longest_row(app);
let longest_line_width = view
.layout_line(row, font_cache, layout_cache, app)
.unwrap()