… | |
… | |
847 | * clicks: 1, 2 or 3 clicks - 4 indicates a special condition of 1 where |
847 | * clicks: 1, 2 or 3 clicks - 4 indicates a special condition of 1 where |
848 | * nothing is selected |
848 | * nothing is selected |
849 | * beg: row/column of beginning of selection : never past mark |
849 | * beg: row/column of beginning of selection : never past mark |
850 | * mark: row/column of initial click : never past end |
850 | * mark: row/column of initial click : never past end |
851 | * end: row/column of one character past end of selection |
851 | * end: row/column of one character past end of selection |
852 | * * Note: -nsaved <= beg.row <= mark.row <= end.row < nrow |
852 | * * Note: top_row <= beg.row <= mark.row <= end.row < nrow |
853 | * * Note: col == -1 ==> we're left of screen |
853 | * * Note: col == -1 ==> we're left of screen |
854 | * |
854 | * |
855 | */ |
855 | */ |
856 | typedef struct { |
856 | typedef struct { |
857 | row_col_t cur; /* cursor position on the screen */ |
857 | row_col_t cur; /* cursor position on the screen */ |