Skip to main content

word_move

Function word_move 

Source
pub fn word_move(body: &TextBody, pos: Pos, forward: bool) -> Pos
Expand description

Next/previous word stop (Ctrl+Right/Left on Windows, Option+arrows on the Mac). At the end of a paragraph Ctrl+Right goes to the start of the next one; at its start Ctrl+Left goes to the end of the previous one.