Skip to main content

next_grapheme_boundary

Function next_grapheme_boundary 

Source
pub fn next_grapheme_boundary(s: &str, from: usize) -> usize
Expand description

Next extended grapheme cluster boundary after from.

Drives CursorMotion::CharRight, which forward Delete also resolves through, so Delete removes a whole cluster rather than one scalar.