Skip to main content

Module textobjects

Module textobjects 

Source
Expand description

ZLE text objects — port of Src/Zle/textobjects.c.

Three C functions, zero structs/enums. The Rust port matches: three free fns over a &mut Zle, no Rust-only types.

Functions§

blankwordclass
selectargument
Port of selectargument(UNUSED(char **args)) from Src/Zle/textobjects.c:212.
selectword
Port of selectword(UNUSED(char **args)) from Src/Zle/textobjects.c:41. Faithful 1:1 port of the C body. Variable names track the C source where possible.