DynamicSelectionList check that buffer end is not selected
This commit is contained in:
parent
b51799a2b2
commit
24ffd6abae
|
@ -28,6 +28,8 @@ void DynamicSelectionList::check_invariant() const
|
|||
auto& sel = (*this)[i];
|
||||
kak_assert(buffer.is_valid(sel.first()));
|
||||
kak_assert(buffer.is_valid(sel.last()));
|
||||
kak_assert(not buffer.is_end(sel.first()));
|
||||
kak_assert(not buffer.is_end(sel.last()));
|
||||
kak_assert(utf8::is_character_start(sel.first()));
|
||||
kak_assert(utf8::is_character_start(sel.last()));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user