Add word-and-line-from-point feature to possible mouse selection actions.

This commit is contained in:
Eric Myhre
2023-09-26 04:37:13 +02:00
parent 6a3529b7c2
commit d310acc780
6 changed files with 28 additions and 2 deletions

View File

@@ -25,7 +25,7 @@ typedef struct {
bool in_left_half_of_cell;
} SelectionBoundary;
typedef enum SelectionExtendModes { EXTEND_CELL, EXTEND_WORD, EXTEND_LINE, EXTEND_LINE_FROM_POINT } SelectionExtendMode;
typedef enum SelectionExtendModes { EXTEND_CELL, EXTEND_WORD, EXTEND_LINE, EXTEND_LINE_FROM_POINT, EXTEND_WORD_AND_LINE_FROM_POINT } SelectionExtendMode;
typedef struct {
index_type x, x_limit;