Fix docs
This commit is contained in:
parent
c6cf57e213
commit
1225106ddc
1 changed files with 2 additions and 2 deletions
|
|
@ -19,8 +19,8 @@ pub struct Cursor {
|
||||||
pub line: usize,
|
pub line: usize,
|
||||||
/// First-byte-index of glyph at cursor (will insert behind this glyph)
|
/// First-byte-index of glyph at cursor (will insert behind this glyph)
|
||||||
pub index: usize,
|
pub index: usize,
|
||||||
/// Whether to associate the cursor with the run before it (false) or the run after it (true)
|
/// Whether to associate the cursor with the run before it or the run after it if placed at the
|
||||||
/// if placed at the boundary between two runs
|
/// boundary between two runs
|
||||||
pub affinity: Affinity,
|
pub affinity: Affinity,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue