Skip to main content

Module textobjects

Module textobjects 

Source
Expand description

textobjects submodule. ZLE text objects โ€” port of Src/Zle/textobjects.c.

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

Functionsยง

blankwordclass
Port of blankwordclass(ZLE_CHAR_T x) from Src/Zle/textobjects.c:34. The vi blank-word class predicate. Returns 0 for blanks, 1 otherwise. blankwordclass โ€” see implementation.
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.