Track left to right for selections based on actual mouse positions
Cant use the selection boundaries as these can be programmatically altered when extending selection by word or line.
This commit is contained in:
@@ -35,7 +35,6 @@
|
||||
#define zero_at_i(array, idx) memset((array) + (idx), 0, sizeof((array)[0]))
|
||||
#define zero_at_ptr(p) memset((p), 0, sizeof((p)[0]))
|
||||
#define zero_at_ptr_count(p, count) memset((p), 0, (count) * sizeof((p)[0]))
|
||||
#define memcpy_ptr(dest, src) memcpy((dest), (src), sizeof((src)[0]))
|
||||
void log_error(const char *fmt, ...) __attribute__ ((format (printf, 1, 2)));
|
||||
#define fatal(...) { log_error(__VA_ARGS__); exit(EXIT_FAILURE); }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user