Add a configurable mouse action to select from the clicked point to the end of the line.

Fixes #3585
This commit is contained in:
Kovid Goyal
2021-05-11 09:01:52 +05:30
parent 2b4d55804c
commit 7a40959f13
7 changed files with 24 additions and 5 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 } SelectionExtendMode;
typedef enum SelectionExtendModes { EXTEND_CELL, EXTEND_WORD, EXTEND_LINE, EXTEND_LINE_FROM_POINT } SelectionExtendMode;
typedef struct {
index_type x, x_limit;