Add todos

This commit is contained in:
Krzosa Karol
2024-06-25 09:57:48 +02:00
parent ceb9985242
commit fcb4d361bc
2 changed files with 10 additions and 6 deletions

View File

@@ -131,7 +131,6 @@ Cursor ChangeFront(Cursor cursor, int64_t front) {
void AddEdit(Array<Edit> *edits, Range range, String string) {
edits->add({range, string});
}
// SortKey = range.min
bool InBounds(const Buffer &buffer, int64_t pos) {
bool result = pos >= 0 && pos < buffer.len;