mirror of
https://github.com/emilk/egui.git
synced 2026-09-02 23:00:04 -04:00
Fix some typos
This commit is contained in:
@@ -917,7 +917,7 @@ impl GalleyCache {
|
|||||||
|
|
||||||
/// If true, lay out and cache each paragraph (sections separated by newlines) individually.
|
/// If true, lay out and cache each paragraph (sections separated by newlines) individually.
|
||||||
///
|
///
|
||||||
/// This makes it much faster to re-lauout the full tet when only a portion of it has changed since last frame, i.e. when editing somewhere in a file with thousands of lines/paragraphs.
|
/// This makes it much faster to re-layout the full text when only a portion of it has changed since last frame, i.e. when editing somewhere in a file with thousands of lines/paragraphs.
|
||||||
fn should_cache_each_paragraph_individually(job: &LayoutJob) -> bool {
|
fn should_cache_each_paragraph_individually(job: &LayoutJob) -> bool {
|
||||||
// We currently don't support this elided text, i.e. when `max_rows` is set.
|
// We currently don't support this elided text, i.e. when `max_rows` is set.
|
||||||
// Most often, elided text is elided to one row,
|
// Most often, elided text is elided to one row,
|
||||||
|
|||||||
@@ -555,7 +555,7 @@ pub struct PlacedRow {
|
|||||||
/// This is rounded to the closest _pixel_ in order to produce crisp, pixel-perfect text.
|
/// This is rounded to the closest _pixel_ in order to produce crisp, pixel-perfect text.
|
||||||
pub pos: Pos2,
|
pub pos: Pos2,
|
||||||
|
|
||||||
/// The underlying row unpositioned [`Row`].
|
/// The underlying unpositioned [`Row`].
|
||||||
pub row: Arc<Row>,
|
pub row: Arc<Row>,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user