summaryrefslogtreecommitdiffstats
path: root/src/range.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/range.h')
-rw-r--r--src/range.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/src/range.h b/src/range.h
index 0e7d9dc..5f1641b 100644
--- a/src/range.h
+++ b/src/range.h
@@ -1,13 +1,15 @@
#include "sc.h"
struct srange {
- int tlrow; // top left row
- int tlcol; // top left col
- int brrow; // bottom right row
- int brcol; // bottom right col
- int orig_row; // row of selected cell before creating range
- int orig_col; // col of selected cell before creating range
- char marks[2]; // marks used for creating the range
+ int tlrow; // top left row
+ int tlcol; // top left col
+ int brrow; // bottom right row
+ int brcol; // bottom right col
+ int orig_row; // original row before starting selection
+ int orig_col; // original col before starting selection
+ int startup_row; // row position before entering visual mode
+ int startup_col; // col position before entering visual mode
+ char marks[2]; // marks used for creating the range
int selected;
struct srange * pnext;
};