diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-01-04 19:27:57 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-01-04 19:27:57 +0000 |
| commit | fcca3d3e55da97e0f5298343cb3cc8fef73223cd (patch) | |
| tree | 97196e44524beea32b53487f31d8ef32e82551aa /selection.h | |
| parent | render: codespell: accomodate -> accommodate (diff) | |
| parent | extract: finish: increase ‘idx’ when pushing new data, for consistency (diff) | |
Merge branch 'extend-selection-by-word'
Closes #267
Diffstat (limited to 'selection.h')
| -rw-r--r-- | selection.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/selection.h b/selection.h index 1b74efb5..21e983e8 100644 --- a/selection.h +++ b/selection.h @@ -10,7 +10,9 @@ extern const struct zwp_primary_selection_device_v1_listener primary_selection_d bool selection_enabled(const struct terminal *term, struct seat *seat); void selection_start( - struct terminal *term, int col, int row, enum selection_kind kind); + struct terminal *term, int col, int row, + enum selection_kind kind, enum selection_semantic semantic, + bool spaces_only); void selection_update(struct terminal *term, int col, int row); void selection_finalize( struct seat *seat, struct terminal *term, uint32_t serial); @@ -24,12 +26,6 @@ bool selection_on_rows(const struct terminal *term, int start, int end); void selection_view_up(struct terminal *term, int new_view); void selection_view_down(struct terminal *term, int new_view); -void selection_mark_word( - struct seat *seat, struct terminal *term, int col, int row, - bool spaces_only, uint32_t serial); -void selection_mark_row( - struct seat *seat, struct terminal *term, int row, uint32_t serial); - void selection_clipboard_unset(struct seat *seat); void selection_primary_unset(struct seat *seat); |
