selection: expose find_word_boundary_{left,right}()

This commit is contained in:
Daniel Eklöf 2021-03-28 21:03:53 +02:00
parent e415f85829
commit eab874eb06
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
2 changed files with 21 additions and 12 deletions

View file

@ -74,3 +74,8 @@ void selection_start_scroll_timer(
struct terminal *term, int interval_ns,
enum selection_scroll_direction direction, int col);
void selection_stop_scroll_timer(struct terminal *term);
void selection_find_word_boundary_left(
struct terminal *term, struct coord *pos, bool spaces_only);
void selection_find_word_boundary_right(
struct terminal *term, struct coord *pos, bool spaces_only);