This commit is contained in:
Audrey Dutcher 2023-01-14 10:28:34 -07:00 committed by Jeremy Soller
parent c6cf57e213
commit 1225106ddc

View file

@ -19,8 +19,8 @@ pub struct Cursor {
pub line: usize,
/// First-byte-index of glyph at cursor (will insert behind this glyph)
pub index: usize,
/// Whether to associate the cursor with the run before it (false) or the run after it (true)
/// if placed at the boundary between two runs
/// Whether to associate the cursor with the run before it or the run after it if placed at the
/// boundary between two runs
pub affinity: Affinity,
}