rhysd / tui-textarea

Simple yet powerful multi-line text editor widget for ratatui and tui-rs
https://crates.io/crates/tui-textarea
MIT License
345 stars 63 forks source link

`WordEnd` member for `CursorMove` enum #74

Closed achristmascarl closed 4 months ago

achristmascarl commented 4 months ago

A minor thing I noticed was missing while implementing vim emulation based on the example was going to the next "end of word" via 'e' was missing, and that there's no corresponding enum member in CursorMove

I'd propose adding a new WordEnd member to the enum and handle it using the existing find_word_end_forward() method

rhysd commented 4 months ago

Closing as #75 was merged.