Skip to main contentModule text_input_common
Source - add_to_history
- Add entry to history with deduplication
Only consecutive duplicate entries are skipped
- byte_to_char_pos
- Convert byte position to character position in a UTF-8 string
- char_at
- Get the character at a given character position
- char_byte_range
- Get the byte range for a character at a given character position
- char_to_byte_pos
- Convert character position to byte position in a UTF-8 string
- load_history_impl
- Shared utilities for text input widgets
Load history from a cache file
- save_history_impl
- Save history to a cache file