summaryrefslogtreecommitdiff
path: root/src/buffer_iterator.inl.hh
AgeCommit message (Collapse)Author
2014-01-12rename buffer_iterator.inl.hh as buffer.inl.hh and inline some more methodsMaxime Coste
2013-06-06remove BufferIterator conversion to/from BufferCoordMaxime Coste
2013-06-04remove BufferIterator::is_valid()Maxime Coste
2013-06-04remove BufferIterator::buffer()Maxime Coste
2013-06-04remove BufferIterator::is_{begin,end}Maxime Coste
2013-06-03Buffer: add methods for char access instead of byte accessMaxime Coste
2013-05-30BufferIterator are Random Access iteratorsMaxime Coste
2013-05-30remove BufferIterator::clampMaxime Coste
2013-05-30remove BufferIterator::offsetMaxime Coste
2013-05-30Add Buffer::{next,prev,at}(BufferCoord) methods and use them in iteratorsMaxime Coste
2013-05-30minor tweak buffer iteratorMaxime Coste
2013-05-29Buffer: add some method to work directly with coord instead of iteratorsMaxime Coste
2013-04-24Buffer: rename character_count method to byte_countMaxime Coste
2013-04-23Buffer: add is_valid(BufferCoord) methodMaxime Coste
2013-04-09rename assert to kak_assert to avoid collisionsMaxime Coste
2013-04-09BufferIterator: allow operator{==,!=} for different buffersMaxime Coste
2013-03-29fix BufferIterator::offsetMaxime Coste
2013-03-15move BufferIterator on_{insert,erase} as DynamicSelectionList implementation ↵Maxime Coste
detail
2013-02-27minor performance tweaksMaxime Coste
2013-01-23Buffer: end is either one past last character, or one past last lineMaxime Coste
2012-12-13perf tweak in BufferIteratorMaxime Coste
2012-10-11use ByteCount instead of CharCount when we are really counting bytesMaxime Coste
(that is most of the time when we are not concerned with displaying)
2012-10-02add postfix operator++ to BufferIteratorMaxime Coste
2012-10-01String and BufferIterator value_type goes back to plain charMaxime Coste
2012-08-23use a strongly typed int CharCount for character countsMaxime Coste
2012-08-22use a strongly typed int LineCount for line countsMaxime Coste
2012-08-15Add BufferIterator::clamp(bool avoid_eol) methodMaxime Coste
2012-08-08BufferIterator: use default operator=Maxime Coste
2012-08-07BufferIterator: fix operator+Maxime Coste
2012-07-12BufferIterator: allow invalid iterator in operator=Maxime Coste
2012-06-28Fix BufferIterator::on_erase and tweak BufferMaxime Coste
2012-06-25code cleanups in bufferMaxime Coste
2012-04-14replace std::string references with StringMaxime Coste
2012-04-04remove ModificationListener and use a list of iterators to update insteadMaxime Coste
This permits to fix a bug in BufferIterator::upgrade, replaced by BufferIterator::on_insert and BufferIterator::on_erase. ModificationListener was only used to updating iterators anyway.
2012-04-01fix BufferIterator::update when removing an end of lineMaxime Coste
2012-03-31specialize BufferIterator::operator--Maxime Coste
2012-03-30specialize BufferIterator::operator++ to speed up KakouneMaxime Coste
2012-03-30add a Line::length methodMaxime Coste
2012-03-30Store buffer content in a list of linesMaxime Coste
Instead of a big std::string, buffer now store it's content in a list of lines. In order to achieve O(log(n)) random access, lines contains both their content and their offset since the start of the file, making binary search usable. BufferIterator now have a LineAndColumn coordinate into the buffer instead of an offset so that access is still O(1).
2012-03-19get rid of Buffer::atMaxime Coste
2011-10-27rename buffer_iterator.inl.h to buffer_iterator.inl.hhMaxime Coste