Expand description
Completion API
Structs§
- Filename
Completer - A
Completerfor file and folder names. - Pair
Enums§
Traits§
Functions§
- escape
- Escape any
break_charsininputstring withesc_char. For example, ‘/User Information’ becomes ‘/User\ Information’ when space is a breaking char and ‘\’ the escape char. - extract_
word - Given a
lineand a cursorposition, try to find backward the start of a word. Return (0,line[..pos]) if no break char has been found. Return the word and its start position (idx,line[idx..pos]) otherwise. - longest_
common_ prefix - unescape
- Remove escape char