diff options
author | Julian Aron Prenner <julian@linux4you.it> | 2014-01-15 15:07:22 +0100 |
---|---|---|
committer | Julian Aron Prenner <julian@linux4you.it> | 2014-01-15 15:07:22 +0100 |
commit | c8d5131a42b8117987d2a278d69edb21a7cf9383 (patch) | |
tree | 9b4d363e2567d98656a2a80b22281aca731ded0a /reader.h | |
parent | fc21bb6eda40045b28dbd865346cad80aa3d6274 (diff) |
Add experimental support for selection and visual mode
Diffstat (limited to 'reader.h')
-rw-r--r-- | reader.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -114,6 +114,13 @@ void reader_set_buffer(const wcstring &b, size_t p); */ size_t reader_get_cursor_pos(); + +/** + Get the current selection range in the command line. + Returns false if there is no active selection, true otherwise. +*/ +bool reader_get_selection_pos(size_t &start, size_t &stop); + /** Return the value of the interrupted flag, which is set by the sigint handler, and clear it if it was set. |