mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-23 01:40:12 -05:00
remove quote-wise selection mode
This commit is contained in:
parent
43dd569afc
commit
4aacf44e8b
4 changed files with 95 additions and 79 deletions
13
selection.h
13
selection.h
|
|
@ -11,6 +11,19 @@ extern const struct zwp_primary_selection_device_v1_listener primary_selection_d
|
|||
void selection_start(
|
||||
struct terminal *term, int col, int row,
|
||||
enum selection_kind new_kind, bool spaces_only);
|
||||
|
||||
// selection_start_matching_delimiters
|
||||
//
|
||||
// Select text enclosed by a pair of matching delimiters. If a pair of
|
||||
// enclosing delimiters is not found, a linewise selection is started.
|
||||
//
|
||||
// Currently, the delimiters are restricted to single quote (') and
|
||||
// double quote (").
|
||||
//
|
||||
void selection_start_matching_delimiters(struct terminal* const term,
|
||||
struct coord const start,
|
||||
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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue