Files
bed/include/vase/iterators/line.h
T
syedm 8c61f186cf Major fixes:
- ChunkIterator is now bidirectional
- LineIterator is now also bidirectional
- Undo/redo history operations
- Replace operation
- Range based api functions
- And more minor bug fixes
2026-08-03 20:26:02 +01:00

20 lines
324 B
C++

#pragma once
#include "../shard.h"
#include "chunk.h"
#include "pch.h"
struct LineIterator {
ChunkIterator it;
Direction dir;
const char *chunk;
uint32_t len;
LineIterator(Shard *r, uint32_t start_line, Direction dir);
~LineIterator() = default;
bool next(std::string &line);
uint32_t byte_offset();
};