diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2015-04-21 13:50:49 +0100 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2015-04-21 13:51:01 +0100 |
| commit | 8ff63198bca86e00d8572d27d04321a3aefa5f73 (patch) | |
| tree | 7b256bdd40901cb64ecaa8a727d1fc0d3095b980 /src | |
| parent | 456398601ea73c03d2ab997145350299f8ecaaa8 (diff) | |
Comment out update_erase function (keeped for reference)
Fixes #254
Diffstat (limited to 'src')
| -rw-r--r-- | src/selection.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/selection.cc b/src/selection.cc index 89bcc5ce..f1fbf9b1 100644 --- a/src/selection.cc +++ b/src/selection.cc @@ -50,6 +50,7 @@ ByteCoord update_insert(ByteCoord coord, ByteCoord begin, ByteCoord end) return coord; } +/* For reference ByteCoord update_erase(ByteCoord coord, ByteCoord begin, ByteCoord end) { if (coord < begin) @@ -61,9 +62,9 @@ ByteCoord update_erase(ByteCoord coord, ByteCoord begin, ByteCoord end) coord.line -= end.line - begin.line; kak_assert(coord.line >= 0 and coord.column >= 0); return coord; -} +} */ -static bool compare_selections(const Selection& lhs, const Selection& rhs) +bool compare_selections(const Selection& lhs, const Selection& rhs) { return lhs.min() < rhs.min(); } |
