Comment out update_erase function (keeped for reference)

Fixes #254
This commit is contained in:
Maxime Coste 2015-04-21 13:50:49 +01:00
parent 456398601e
commit 8ff63198bc

View File

@ -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();
}